org.agileclick.genorm
Interface CreatePlugin
- All Superinterfaces:
- GenPlugin
- All Known Implementing Classes:
- HSQLDB, MySQL, Postgres
public interface CreatePlugin
- extends GenPlugin
Defines the interface for plugins that are used to generate the create.sql file
|
Method Summary |
java.lang.String |
getConstraintSQL(ForeignKeySet keySet)
|
java.lang.String |
getCreateSQL(Table table)
|
java.lang.String |
getFieldEscapeString()
This it he characters to use when escaping field names in select statements
Postgress uses double quote (") where mysql uses back tick `
The code must returned the value as it can appear in a java code string
so a double quote should be returned as "\"" |
| Methods inherited from interface org.agileclick.genorm.GenPlugin |
init |
getCreateSQL
java.lang.String getCreateSQL(Table table)
getConstraintSQL
java.lang.String getConstraintSQL(ForeignKeySet keySet)
getFieldEscapeString
java.lang.String getFieldEscapeString()
- This it he characters to use when escaping field names in select statements
Postgress uses double quote (") where mysql uses back tick `
The code must returned the value as it can appear in a java code string
so a double quote should be returned as "\""