public class TableJDBC
extends java.lang.Object
| Constructor and Description |
|---|
TableJDBC() |
| Modifier and Type | Method and 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 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.
|
static void |
createPropertyTable(java.sql.Connection conn,
PropertyTableDefinition tableDef)
Creates a new item property table.
|
static void |
createTable(java.sql.Connection conn,
ItemDeployment depl,
DeploymentImpl deployments)
Creates a item table.
|
static void |
dropExistingTable(java.sql.Connection conn,
java.lang.String tableName)
Drops a table.
|
protected static boolean |
isPropsTableDeployment(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 void |
updateTable(java.sql.Connection conn,
ItemDeployment depl,
DBTable table,
java.util.Collection<ItemDeployment.Attribute> missingAttributes,
DeploymentImpl deployments)
Modifies a existing item table.
|
public static void dropExistingTable(java.sql.Connection conn,
java.lang.String tableName)
public static void createTable(java.sql.Connection conn,
ItemDeployment depl,
DeploymentImpl deployments)
public static void updateTable(java.sql.Connection conn,
ItemDeployment depl,
DBTable table,
java.util.Collection<ItemDeployment.Attribute> missingAttributes,
DeploymentImpl deployments)
public static void createPropertyTable(java.sql.Connection conn,
PropertyTableDefinition tableDef)
public static java.util.Set<java.lang.String> addUnlocalizedPropertiesToItemTable(java.sql.Connection conn,
PropertyTableDefinition tableDef,
DBTable table)
public static java.util.Set<java.lang.String> updatePropertyTable(java.sql.Connection conn,
PropertyTableDefinition tableDef,
DBTable table)
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)
protected static boolean isPropsTableDeployment(ItemDeployment depl)
Copyright © 2018 SAP SE. All Rights Reserved.