public class ColumnUtilities extends Object
| Modifier and Type | Method and Description | 
|---|---|
static void | 
checkExistingMultivalueTable(LibrarySession session,
                            String tableName,
                            int dataType,
                            int dataLength,
                            int dataScale)
Check the specified existing multivalue table to 
 check if it compatible with the specified attribute settings. 
 | 
static void | 
checkExistingMultivalueTable(S_LibrarySession session,
                            String tableName,
                            int dataType,
                            int dataLength,
                            int dataScale)
Check the specified existing multivalue table to 
 check if it compatible with the specified attribute settings,
 using a server-side session context. 
 | 
static void | 
closeResultSet(ResultSet rset)
Close a ResultSet, ignoring any Exceptions. 
 | 
static void | 
closeStatement(Statement stmt)
Close a Statement, ignoring any Exceptions. 
 | 
static void | 
closeStatement(StatementWrapper stmt)
Close a StatementWrapper, ignoring any Exceptions. 
 | 
static boolean | 
columnExists(LibrarySession session,
            String tableName,
            String columnName)
Return true if the specified column exists in the specified table. 
 | 
static AttributeValueTable | 
getColumnInfo(Connection conn,
             String tableName,
             String columnName)
Get the column info for the specified column of a table,
 using a JDBC Connection context. 
 | 
static AttributeValueTable | 
getColumnInfo(IfsConnection conn,
             String tableName,
             String columnName)
Get the column info for the specified column of a table,
 using a IfsConnection context. 
 | 
static AttributeValueTable | 
getColumnInfo(LibrarySession session,
             String tableName,
             String columnName)
Get the column info for the specified column of a table. 
 | 
static AttributeValueTable | 
getColumnInfo(S_LibrarySession session,
             String tableName,
             String columnName)
Get the column info for the specified column of a table,
 using a server-side session context. 
 | 
public static boolean columnExists(LibrarySession session, String tableName, String columnName) throws IfsException
session - the session contexttableName - the table namecolumnName - the column nameIfsException - if the operation failspublic static AttributeValueTable getColumnInfo(LibrarySession session, String tableName, String columnName) throws IfsException
session - the session contexttableName - the table namecolumnName - the column nameIfsException - if the operation failspublic static AttributeValueTable getColumnInfo(S_LibrarySession session, String tableName, String columnName) throws IfsException
session - the session contexttableName - the table namecolumnName - the column nameIfsException - if the operation failspublic static AttributeValueTable getColumnInfo(IfsConnection conn, String tableName, String columnName) throws IfsException, SQLException
conn - the IfsConnection contexttableName - the table namecolumnName - the column nameIfsException - if the operation failsSQLException - if the operation failspublic static AttributeValueTable getColumnInfo(Connection conn, String tableName, String columnName) throws IfsException, SQLException
conn - the JDBC Connection contexttableName - the table namecolumnName - the column nameIfsException - if the operation failsSQLException - if the operation failspublic static void checkExistingMultivalueTable(LibrarySession session, String tableName, int dataType, int dataLength, int dataScale) throws IfsException
session - the session contexttableName - the table namedataType - the data type for the map/array AttributedataLength - the data lengthdataScale - the data scaleIfsException - if the operation failspublic static void checkExistingMultivalueTable(S_LibrarySession session, String tableName, int dataType, int dataLength, int dataScale) throws IfsException
session - the session contexttableName - the table namedataType - the data type for the map/array AttributedataLength - the data lengthdataScale - the data scaleIfsException - if the operation failspublic static void closeResultSet(ResultSet rset)
rset - the ResultSet to closepublic static void closeStatement(StatementWrapper stmt)
stmt - the statement to closepublic static void closeStatement(Statement stmt)
stmt - the statement to closeCopyright © 2025. All rights reserved.