Skip to content

Commit 52dcfe5

Browse files
committed
Clean up ReactiveTypeContributor
1 parent 4fcddb8 commit 52dcfe5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/provider/impl/ReactiveTypeContributor.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private Dialect dialect(ServiceRegistry serviceRegistry) {
9999
}
100100

101101
/**
102-
* Some database (MySQL for example) don't like saving temporal types with a timezone.
102+
* Some databases (MySQL for example) don't like saving temporal types with a timezone.
103103
*
104104
* @see TimestampJdbcType
105105
*/
@@ -213,7 +213,6 @@ private static class JsonObjectJavaType implements BasicJavaType<JsonObject> {
213213

214214
@Override
215215
public JdbcType getRecommendedJdbcType(JdbcTypeIndicators context) {
216-
// FIXME: Check this
217216
// use Types.JAVA_OBJECT instead of Types.JSON because
218217
// the Dialects have the type 'json' registered under
219218
// that JDBC type code
@@ -246,11 +245,6 @@ public JsonType(Dialect dialect) {
246245
super( ObjectJdbcType.INSTANCE, JsonObjectJavaType.INSTANCE );
247246
}
248247

249-
@Override
250-
public JavaType<?> getJdbcJavaType() {
251-
return super.getJdbcJavaType();
252-
}
253-
254248
@Override
255249
public String getName() {
256250
return "json";

0 commit comments

Comments
 (0)