Package de.hybris.platform.persistence
Class TableJDBC
java.lang.Object
de.hybris.platform.persistence.TableJDBC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUnlocalizedPropertiesToItemTable(Connection conn, PropertyTableDefinition tableDef, DBTable table) Adds unlocalized property columns to existing item table.static booleancreateIndex(Connection conn, String indexKey, String tableName, List<String> columnNames, boolean unique, boolean isSQLServerClustered) Creates a new table index.static voidcreatePropertyTable(Connection conn, PropertyTableDefinition tableDef) Creates a new item property table.static voidcreateTable(Connection conn, ItemDeployment depl, DeploymentImpl deployments) Creates a item table.static voiddropExistingTable(Connection conn, String tableName) Drops a table.protected static booleanupdatePropertyTable(Connection conn, PropertyTableDefinition tableDef, DBTable table) Modified a existing item property table,static voidupdateTable(Connection conn, ItemDeployment depl, DBTable table, Collection<ItemDeployment.Attribute> missingAttributes, DeploymentImpl deployments) Modifies a existing item table.
-
Constructor Details
-
TableJDBC
public TableJDBC()
-
-
Method Details
-
dropExistingTable
Drops a table. -
createTable
Creates a item table. -
updateTable
public static void updateTable(Connection conn, ItemDeployment depl, DBTable table, Collection<ItemDeployment.Attribute> missingAttributes, DeploymentImpl deployments) Modifies a existing item table. -
createPropertyTable
Creates a new item property table. -
addUnlocalizedPropertiesToItemTable
public static Set<String> addUnlocalizedPropertiesToItemTable(Connection conn, PropertyTableDefinition tableDef, DBTable table) Adds unlocalized property columns to existing item table. -
updatePropertyTable
public static Set<String> updatePropertyTable(Connection conn, PropertyTableDefinition tableDef, DBTable table) Modified a existing item property table, -
createIndex
public static boolean createIndex(Connection conn, String indexKey, String tableName, List<String> columnNames, boolean unique, boolean isSQLServerClustered) Creates a new table index. -
isPropsTableDeployment
-