Class TableJDBC


  • public class TableJDBC
    extends java.lang.Object
    • Constructor Detail

      • TableJDBC

        public TableJDBC()
    • Method Detail

      • dropExistingTable

        public static void dropExistingTable​(java.sql.Connection conn,
                                             java.lang.String tableName)
        Drops a table.
      • createTable

        public static void createTable​(java.sql.Connection conn,
                                       ItemDeployment depl,
                                       DeploymentImpl deployments)
        Creates a item table.
      • createPropertyTable

        public static void createPropertyTable​(java.sql.Connection conn,
                                               PropertyTableDefinition tableDef)
        Creates a new item property table.
      • addUnlocalizedPropertiesToItemTable

        public static java.util.Set<java.lang.String> addUnlocalizedPropertiesToItemTable​(java.sql.Connection conn,
                                                                                          PropertyTableDefinition tableDef,
                                                                                          DBTable table)
        Adds unlocalized property columns to existing item table.
      • updatePropertyTable

        public static java.util.Set<java.lang.String> updatePropertyTable​(java.sql.Connection conn,
                                                                          PropertyTableDefinition tableDef,
                                                                          DBTable table)
        Modified a existing item property table,
      • createIndex

        public static boolean createIndex​(java.sql.Connection conn,
                                          java.lang.String indexKey,
                                          java.lang.String tableName,
                                          java.util.List<java.lang.String> columnNames,
                                          boolean unique,
                                          boolean isSQLServerClustered)
        Creates a new table index.
      • isPropsTableDeployment

        protected static boolean isPropsTableDeployment​(ItemDeployment depl)