Skip to content

Commit 454433f

Browse files
committed
Fix typo
1 parent 2b79fed commit 454433f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected String columnType(int sqlTypeCode) {
119119
//be better mappings for Java Float/Double
120120

121121
case SqlTypes.CHAR:
122-
return "CHAR(1)";
122+
return "CHAR($l)";
123123
case SqlTypes.VARCHAR:
124124
case SqlTypes.LONGVARCHAR:
125125
return "VARCHAR2($l)";
@@ -691,7 +691,6 @@ public String getSelectClauseNullString(int sqlType, TypeConfiguration typeConfi
691691
* - Added a custom definition for 'getMaxVarcharLength()'
692692
* - Added a custom definition for 'getMaxVarbinaryLength()'
693693
* - Added a custom definition for 'isEmptyStringTreatedAsNull()'
694-
* - Added a custom definition for 'canCreateSchema()'
695694
* - Added a custom definition for 'supportsTupleDistinctCounts()'
696695
* - Added a custom definition for 'getDual()'
697696
* - Added a custom definition for 'getFromDualForSelectOnly()'
@@ -730,11 +729,6 @@ public boolean isEmptyStringTreatedAsNull() {
730729
return true;
731730
}
732731

733-
@Override
734-
public boolean canCreateSchema() {
735-
return false;
736-
}
737-
738732
@Override
739733
public boolean supportsTupleDistinctCounts() {
740734
return false;

0 commit comments

Comments
 (0)