| java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.SQLUtil
Inner Class :public static class OldColumns | |
Inner Class :public static class OldIndexes | |
Method Summary | |
public static void | addToRwords(String word) | public static StringBuffer | appendColumnNamesClause(JDBCAbstractEntityBridge entity, String eagerLoadGroup, StringBuffer sb) | public static StringBuffer | appendColumnNamesClause(JDBCAbstractEntityBridge entity, String eagerLoadGroup, String alias, StringBuffer sb) | public static StringBuffer | appendColumnNamesClause(JDBCFieldBridge[] fields, boolean[] mask, String identifier, StringBuffer buf) | public static StringBuffer | appendColumnNamesClause(JDBCFieldBridge[] fields, String identifier, StringBuffer buf) | public static void | dropTable(DataSource dataSource, String tableName) | public static String | fixConstraintName(String name, DataSource dataSource) | public static String | fixTableName(String tableName, DataSource dataSource) | public static StringBuffer | getColumnNamesClause(JDBCFieldBridge[] fields, StringBuffer sb) | public static StringBuffer | getColumnNamesClause(JDBCFieldBridge[] fields, String identifier, StringBuffer buf) | public static StringBuffer | getColumnNamesClause(JDBCEntityBridge.FieldIterator loadIter, StringBuffer sb) | public static StringBuffer | getColumnNamesClause(JDBCFieldBridge field, StringBuffer sb) | public static StringBuffer | getColumnNamesClause(JDBCFieldBridge field, String identifier, StringBuffer sb) | public static String | getCreateTableColumnsClause(JDBCFieldBridge[] fields) | public static String | getCreateTableColumnsClause(JDBCType type) | public static StringBuffer | getIsNullClause(boolean not, JDBCFieldBridge[] fields, String identifier, StringBuffer buf) | public static StringBuffer | getIsNullClause(boolean not, JDBCFieldBridge field, String identifier, StringBuffer buf) | public static StringBuffer | getJoinClause(JDBCAbstractCMRFieldBridge cmrField, String parentAlias, String childAlias, StringBuffer buf) | public static StringBuffer | getJoinClause(JDBCFieldBridge[] pkFields, String parent, JDBCFieldBridge[] fkFields, String child, StringBuffer buf) | public static OldColumns | getOldColumns(String tableName, DataSource dataSource) | public static OldIndexes | getOldIndexes(String tableName, DataSource dataSource) | public static StringBuffer | getRelationTableJoinClause(JDBCAbstractCMRFieldBridge cmrField, String parentAlias, String relationTableAlias, StringBuffer buf) | public static String | getSchema(String tableName) | public static StringBuffer | getSearchableColumnNamesClause(JDBCFieldBridge[] fields, String identifier, StringBuffer buf) | public static StringBuffer | getSelfCompareWhereClause(JDBCFieldBridge[] fields, String fromIdentifier, String toIdentifier, StringBuffer buf) | public static StringBuffer | getSelfCompareWhereClause(JDBCFieldBridge fromField, JDBCFieldBridge toField, String fromIdentifier, String toIdentifier, String comparison, StringBuffer buf) | public static StringBuffer | getSetClause(JDBCEntityBridge.FieldIterator fieldsIter, StringBuffer buf) | public static String | getTableNameWithoutSchema(String tableName) | public static StringBuffer | getValuesClause(JDBCFieldBridge[] fields, StringBuffer buf) | public static StringBuffer | getWhereClause(JDBCFieldBridge[] fields, StringBuffer buf) | public static StringBuffer | getWhereClause(JDBCFieldBridge[] fields, String identifier, StringBuffer buf) | public static StringBuffer | getWhereClause(JDBCFieldBridge[] fields, long mask, StringBuffer buf) | public static StringBuffer | getWhereClause(JDBCFieldBridge field, StringBuffer buf) | public static StringBuffer | getWhereClause(JDBCType type, String identifier, StringBuffer buf) | public static StringBuffer | getWhereClause(JDBCType type, String identifier, String comparison, StringBuffer buf) | public static boolean | tableExists(String tableName, DataSource dataSource) | public static String | unquote(String tableName, DataSource ds) |
LEFT_OUTER_JOIN | final public static String LEFT_OUTER_JOIN(Code) | | |
addToRwords | public static void addToRwords(String word)(Code) | | |
dropTable | public static void dropTable(DataSource dataSource, String tableName) throws DeploymentException(Code) | | |
getCreateTableColumnsClause | public static String getCreateTableColumnsClause(JDBCType type)(Code) | | Returns columnName0 sqlType0
[, columnName1 sqlType0
[, columnName2 sqlType0 [...]]]
|
getIsNullClause | public static StringBuffer getIsNullClause(boolean not, JDBCFieldBridge[] fields, String identifier, StringBuffer buf)(Code) | | Returns identifier.columnName0 IS [NOT] NULL
[AND identifier.columnName1 IS [NOT] NULL
[AND identifier.columnName2 IS [NOT] NULL [...]]]
|
getIsNullClause | public static StringBuffer getIsNullClause(boolean not, JDBCFieldBridge field, String identifier, StringBuffer buf)(Code) | | Returns identifier.columnName0 IS [NOT] NULL
[AND identifier.columnName1 IS [NOT] NULL
[AND identifier.columnName2 IS [NOT] NULL [...]]]
|
getOldColumns | public static OldColumns getOldColumns(String tableName, DataSource dataSource) throws DeploymentException(Code) | | |
getOldIndexes | public static OldIndexes getOldIndexes(String tableName, DataSource dataSource) throws DeploymentException(Code) | | |
getTableNameWithoutSchema | public static String getTableNameWithoutSchema(String tableName)(Code) | | |
getWhereClause | public static StringBuffer getWhereClause(JDBCType type, String identifier, String comparison, StringBuffer buf)(Code) | | Returns identifier.columnName0{comparison}?
[AND identifier.columnName1{comparison}?
[AND identifier.columnName2{comparison}? [...]]]
|
tableExists | public static boolean tableExists(String tableName, DataSource dataSource) throws DeploymentException(Code) | | |
|
|