Package io.ebean.config
Class DbConstraintNormalise
java.lang.Object
io.ebean.config.DbConstraintNormalise
Used to normalise table and column names which means stripping out
quoted identifier characters and any catalog or schema prefix.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnormaliseColumn(String columnName) Normalise the column name by removing any quoted identifier characters and formula brackets.normaliseTable(String tableName) Normalise the table name by trimming catalog and schema and removing any quoted identifier characters (",',[,] etc).trimQuotes(String identifier) Trim off the platform quoted identifier quotes like [ ' and ".
-
Constructor Details
-
DbConstraintNormalise
public DbConstraintNormalise() -
DbConstraintNormalise
-
-
Method Details
-
normaliseTable
Normalise the table name by trimming catalog and schema and removing any quoted identifier characters (",',[,] etc). -
normaliseColumn
Normalise the column name by removing any quoted identifier characters and formula brackets. -
trimQuotes
Trim off the platform quoted identifier quotes like [ ' and ".
-