(Object obj)
| 119 | } |
| 120 | |
| 121 | public static String getString(Object obj) { |
| 122 | if (obj == null) { |
| 123 | return (null); |
| 124 | } |
| 125 | |
| 126 | if (obj instanceof String) { |
| 127 | return (String) obj; |
| 128 | } else if (obj instanceof BigDecimal bigDecimal) { |
| 129 | return bigDecimal.toString(); |
| 130 | } |
| 131 | |
| 132 | LOG.warn("BAD BAD BAD: returning null because getString does not support {}", obj.getClass()); |
| 133 | |
| 134 | return (null); |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Support for Oracle DB introduced TIMESTAMP fields in Oracle DDL (for example, auctionmark |
no test coverage detected