Package generalDatabase
Class TableUtilities
java.lang.Object
generalDatabase.TableUtilities
Some general functions to do with table checks which I want to use outside of the
normal dattabse interface.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
addColumn
(Connection con, SQLTypes sqlTypes, String systemName, EmptyTableDefinition tableDef, PamTableItem tableItem) static boolean
columnExists
(PamConnection con, String tableName, String columnName, int sqlType) static boolean
tableExists
(PamConnection con, String systemName, EmptyTableDefinition tableDef)
-
Constructor Details
-
TableUtilities
public TableUtilities()
-
-
Method Details
-
columnExists
public static boolean columnExists(PamConnection con, String tableName, String columnName, int sqlType) -
addColumn
public static boolean addColumn(Connection con, SQLTypes sqlTypes, String systemName, EmptyTableDefinition tableDef, PamTableItem tableItem) -
tableExists
public static boolean tableExists(PamConnection con, String systemName, EmptyTableDefinition tableDef)
-