Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0004339: Oracle: Version 12.2 supports 128 character names for tables,
columns, constraints, and foreign key names
- Loading branch information
1 parent
e867dfd
commit 5e1fadb
Showing
6 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
symmetric-db/src/main/java/org/jumpmind/db/platform/oracle/Oracle122DdlBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.jumpmind.db.platform.oracle; | ||
|
||
public class Oracle122DdlBuilder extends OracleDdlBuilder { | ||
|
||
public Oracle122DdlBuilder() { | ||
super(); | ||
databaseInfo.setMaxIdentifierLength(128); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
symmetric-jdbc/src/main/java/org/jumpmind/db/platform/oracle/Oracle122DatabasePlatform.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.jumpmind.db.platform.oracle; | ||
|
||
import javax.sql.DataSource; | ||
|
||
import org.jumpmind.db.platform.DatabaseNamesConstants; | ||
import org.jumpmind.db.sql.SqlTemplateSettings; | ||
|
||
public class Oracle122DatabasePlatform extends OracleDatabasePlatform { | ||
|
||
public Oracle122DatabasePlatform(DataSource dataSource, SqlTemplateSettings settings) { | ||
super(dataSource, settings); | ||
} | ||
|
||
@Override | ||
protected OracleDdlBuilder createDdlBuilder() { | ||
return new Oracle122DdlBuilder(); | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return DatabaseNamesConstants.ORACLE122; | ||
} | ||
|
||
} |