DDL Generation Fails for Table Name that Include $ Sign in the Name
(Doc ID 2187798.1)
Last updated on JUNE 24, 2021
Applies to:
Oracle SQL Developer Data Modeler - Version All and laterInformation in this document applies to any platform.
Symptoms
Trying to generate DDL for a table that in the name has $ sign fails as follows.
2016-09-07 17:25:41,898 [AWT-EventQueue-0] ERROR DDLGenerator - Error while generating DDL for <TABLE$NAME>
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:857)
at java.util.regex.Matcher.replaceAll(Matcher.java:955)
at java.lang.String.replaceAll(String.java:2210)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.generateAutoIncrementObjectName(SSBAutoIncrementColumnOracle.java:282)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.generateSequenceName(SSBAutoIncrementColumnOracle.java:187)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.appendAutoIncrementSequenceAndTrigger(SSBAutoIncrementColumnOracle.java:131)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.appendAutoIncrementSequenceAndTrigger(SSBAutoIncrementColumnOracle.java:81)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.doAppend(SSBAutoIncrementColumnOracle.java:67)
at oracle.dbtools.crest.exports.ddl.SQLStatementBuilder.appendTo(SQLStatementBuilder.java:88)
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:857)
at java.util.regex.Matcher.replaceAll(Matcher.java:955)
at java.lang.String.replaceAll(String.java:2210)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.generateAutoIncrementObjectName(SSBAutoIncrementColumnOracle.java:282)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.generateSequenceName(SSBAutoIncrementColumnOracle.java:187)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.appendAutoIncrementSequenceAndTrigger(SSBAutoIncrementColumnOracle.java:131)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.appendAutoIncrementSequenceAndTrigger(SSBAutoIncrementColumnOracle.java:81)
at oracle.dbtools.crest.exports.ddl.oracle.SSBAutoIncrementColumnOracle.doAppend(SSBAutoIncrementColumnOracle.java:67)
at oracle.dbtools.crest.exports.ddl.SQLStatementBuilder.appendTo(SQLStatementBuilder.java:88)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |