Package de.hybris.platform.persistence
Class TableJDBC
- java.lang.Object
-
- de.hybris.platform.persistence.TableJDBC
-
public class TableJDBC extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TableJDBC()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<java.lang.String>addUnlocalizedPropertiesToItemTable(java.sql.Connection conn, PropertyTableDefinition tableDef, DBTable table)Adds unlocalized property columns to existing item table.static booleancreateIndex(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.static voidcreatePropertyTable(java.sql.Connection conn, PropertyTableDefinition tableDef)Creates a new item property table.static voidcreateTable(java.sql.Connection conn, ItemDeployment depl, DeploymentImpl deployments)Creates a item table.static voiddropExistingTable(java.sql.Connection conn, java.lang.String tableName)Drops a table.protected static booleanisPropsTableDeployment(ItemDeployment depl)static java.util.Set<java.lang.String>updatePropertyTable(java.sql.Connection conn, PropertyTableDefinition tableDef, DBTable table)Modified a existing item property table,static voidupdateTable(java.sql.Connection conn, ItemDeployment depl, DBTable table, java.util.Collection<ItemDeployment.Attribute> missingAttributes, DeploymentImpl deployments)Modifies a existing item table.
-
-
-
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.
-
updateTable
public static void updateTable(java.sql.Connection conn, ItemDeployment depl, DBTable table, java.util.Collection<ItemDeployment.Attribute> missingAttributes, DeploymentImpl deployments)Modifies a existing 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)
-
-