public class TableJDBC extends Object
| Constructor and Description |
|---|
TableJDBC() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
addUnlocalizedPropertiesToItemTable(Connection conn,
PropertyTableDefinition tableDef,
DBTable table)
Adds unlocalized property columns to existing item table.
|
static boolean |
createIndex(Connection conn,
String indexKey,
String tableName,
List<String> columnNames,
boolean unique,
boolean isSQLServerClustered)
Creates a new table index.
|
static void |
createPropertyTable(Connection conn,
PropertyTableDefinition tableDef)
Creates a new item property table.
|
static void |
createTable(Connection conn,
ItemDeployment depl,
DeploymentImpl deployments)
Creates a item table.
|
static void |
dropExistingTable(Connection conn,
String tableName)
Drops a table.
|
protected static boolean |
isPropsTableDeployment(ItemDeployment depl) |
static Set<String> |
updatePropertyTable(Connection conn,
PropertyTableDefinition tableDef,
DBTable table)
Modified a existing item property table,
|
static void |
updateTable(Connection conn,
ItemDeployment depl,
DBTable table,
Collection<ItemDeployment.Attribute> missingAttributes,
DeploymentImpl deployments)
Modifies a existing item table.
|
public static void dropExistingTable(Connection conn, String tableName)
public static void createTable(Connection conn, ItemDeployment depl, DeploymentImpl deployments)
public static void updateTable(Connection conn, ItemDeployment depl, DBTable table, Collection<ItemDeployment.Attribute> missingAttributes, DeploymentImpl deployments)
public static void createPropertyTable(Connection conn, PropertyTableDefinition tableDef)
public static Set<String> addUnlocalizedPropertiesToItemTable(Connection conn, PropertyTableDefinition tableDef, DBTable table)
public static Set<String> updatePropertyTable(Connection conn, PropertyTableDefinition tableDef, DBTable table)
public static boolean createIndex(Connection conn, String indexKey, String tableName, List<String> columnNames, boolean unique, boolean isSQLServerClustered)
protected static boolean isPropsTableDeployment(ItemDeployment depl)
Copyright © 2017 SAP SE. All Rights Reserved.