Skip to content

Commit c0a134a

Browse files
committed
remove deprecated/obsolete Dialect-related stuff
1 parent 146e383 commit c0a134a

File tree

7 files changed

+4
-95
lines changed

7 files changed

+4
-95
lines changed

hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2iLegacyDialect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
import org.hibernate.boot.model.FunctionContributions;
88
import org.hibernate.dialect.DatabaseVersion;
99
import org.hibernate.dialect.function.CommonFunctionFactory;
10-
import org.hibernate.dialect.identity.DB2390IdentityColumnSupport;
1110
import org.hibernate.dialect.identity.DB2IdentityColumnSupport;
11+
import org.hibernate.dialect.identity.DB2zIdentityColumnSupport;
1212
import org.hibernate.dialect.identity.IdentityColumnSupport;
1313
import org.hibernate.dialect.pagination.FetchLimitHandler;
1414
import org.hibernate.dialect.pagination.LegacyDB2LimitHandler;
@@ -129,7 +129,7 @@ public LimitHandler getLimitHandler() {
129129
public IdentityColumnSupport getIdentityColumnSupport() {
130130
return getVersion().isSameOrAfter(7, 3)
131131
? DB2IdentityColumnSupport.INSTANCE
132-
: DB2390IdentityColumnSupport.INSTANCE;
132+
: DB2zIdentityColumnSupport.INSTANCE;
133133
}
134134

135135
@Override

hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2zLegacyDialect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import org.hibernate.dialect.DatabaseVersion;
1010
import org.hibernate.dialect.TimeZoneSupport;
1111
import org.hibernate.dialect.function.CommonFunctionFactory;
12-
import org.hibernate.dialect.identity.DB2390IdentityColumnSupport;
12+
import org.hibernate.dialect.identity.DB2zIdentityColumnSupport;
1313
import org.hibernate.dialect.identity.IdentityColumnSupport;
1414
import org.hibernate.dialect.pagination.FetchLimitHandler;
1515
import org.hibernate.dialect.pagination.LimitHandler;
@@ -146,7 +146,7 @@ public LimitHandler getLimitHandler() {
146146

147147
@Override
148148
public IdentityColumnSupport getIdentityColumnSupport() {
149-
return DB2390IdentityColumnSupport.INSTANCE;
149+
return DB2zIdentityColumnSupport.INSTANCE;
150150
}
151151

152152
@Override

hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3820,17 +3820,6 @@ public boolean supportsNullPrecedence() {
38203820
return true;
38213821
}
38223822

3823-
/**
3824-
* A setting specific to {@link SybaseASEDialect}.
3825-
*
3826-
* @deprecated This is only called from {@link SybaseASESqlAstTranslator}
3827-
* so it doesn't need to be declared here.
3828-
*/
3829-
@Deprecated(since = "6")
3830-
public boolean isAnsiNullOn() {
3831-
return true;
3832-
}
3833-
38343823
/**
38353824
* Does this dialect/database require casting of non-string arguments
38363825
* in the {@code concat()} function?

hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,11 +1052,6 @@ public boolean supportsNullPrecedence() {
10521052
return wrapped.supportsNullPrecedence();
10531053
}
10541054

1055-
@Override
1056-
@Deprecated(since = "6")
1057-
public boolean isAnsiNullOn() {
1058-
return wrapped.isAnsiNullOn();
1059-
}
10601055

10611056
@Override
10621057
public boolean requiresCastForConcatenatingNonStrings() {

hibernate-core/src/main/java/org/hibernate/dialect/identity/DB2390IdentityColumnSupport.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

hibernate-core/src/main/java/org/hibernate/dialect/sequence/LegacyDB2SequenceSupport.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

hibernate-core/src/main/java/org/hibernate/dialect/unique/DefaultUniqueDelegate.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)