public final class OldPropertyJDBC
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
OldPropertyJDBC.DumpPropertyConverter |
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN |
static int |
CLASS |
static int |
DATE |
static int |
DOUBLE |
static int |
INTEGER |
static int |
ITEM |
static java.lang.String |
ITEMPK |
static java.lang.String |
ITEMTYPEPK |
static java.lang.String |
LANGPK |
static java.lang.String |
LOG_TOPIC |
static int |
LONG |
static java.lang.String |
NAME |
static int |
NULL |
static java.lang.String |
REALNAME |
static int |
SERIALIZABLE |
static int |
STRING |
static int |
STRING_TRUNCATED |
static java.lang.String |
TYPE1 |
static java.lang.String |
VALUE1 |
static java.lang.String |
VALUESTRING1 |
| Constructor and Description |
|---|
OldPropertyJDBC() |
| Modifier and Type | Method and Description |
|---|---|
static int |
checkDumpData(int typeCode,
java.lang.String propertyName,
java.lang.String oldPropTableName) |
static EJBPropertyCache |
createProperties(PK itemPK,
long timestamp,
java.lang.String oldPropTableName) |
static int |
fillValueStatement(java.sql.PreparedStatement pstmt,
int typeCode,
java.lang.Object value,
int stringIdx,
int blobIdx) |
static EJBPropertyCache |
getProperties(PK itemPK,
long timestamp,
java.lang.String oldPropTableName) |
static int |
getValueTypeCode(java.lang.Object value) |
static void |
moveDumpData(int typeCode,
java.lang.String propertyName,
java.lang.String oldPropTableName,
OldPropertyJDBC.DumpPropertyConverter conv) |
static void |
patchPropertyNamesAfterUpdate(java.lang.String propsTableName) |
static EJBProperty |
readOldProperty(java.sql.ResultSet rs,
PK itemPK) |
static void |
removeAllPropertyData(java.util.Collection<PK> itemTypePKs,
java.lang.String propertyName,
java.lang.String tableName) |
static void |
removeAllPropertyData(PK itemPK,
java.lang.String tableName) |
static void |
updatePropertyTypePKs(PK itemPK,
PK typePK,
java.lang.String oldPropTableName)
changes all property data rows of one item to the new type pk.
|
static void |
writeOldProperties(EJBPropertyCache oldPropCache,
PK itemPK,
PK typePK,
java.lang.String tableName) |
public static final java.lang.String LOG_TOPIC
public static final java.lang.String ITEMPK
public static final java.lang.String ITEMTYPEPK
public static final java.lang.String NAME
public static final java.lang.String REALNAME
public static final java.lang.String LANGPK
public static final java.lang.String TYPE1
public static final java.lang.String VALUESTRING1
public static final java.lang.String VALUE1
public static final int NULL
public static final int STRING
public static final int BOOLEAN
public static final int DOUBLE
public static final int LONG
public static final int DATE
public static final int INTEGER
public static final int SERIALIZABLE
public static final int STRING_TRUNCATED
public static final int ITEM
public static final int CLASS
public static EJBPropertyCache createProperties(PK itemPK, long timestamp, java.lang.String oldPropTableName)
public static EJBPropertyCache getProperties(PK itemPK, long timestamp, java.lang.String oldPropTableName)
public static void updatePropertyTypePKs(PK itemPK, PK typePK, java.lang.String oldPropTableName)
public static void writeOldProperties(EJBPropertyCache oldPropCache, PK itemPK, PK typePK, java.lang.String tableName)
public static void removeAllPropertyData(PK itemPK, java.lang.String tableName)
public static void removeAllPropertyData(java.util.Collection<PK> itemTypePKs, java.lang.String propertyName, java.lang.String tableName)
public static void patchPropertyNamesAfterUpdate(java.lang.String propsTableName)
public static void moveDumpData(int typeCode,
java.lang.String propertyName,
java.lang.String oldPropTableName,
OldPropertyJDBC.DumpPropertyConverter conv)
public static int checkDumpData(int typeCode,
java.lang.String propertyName,
java.lang.String oldPropTableName)
public static EJBProperty readOldProperty(java.sql.ResultSet rs, PK itemPK) throws java.sql.SQLException
java.sql.SQLExceptionpublic static int getValueTypeCode(java.lang.Object value)
public static int fillValueStatement(java.sql.PreparedStatement pstmt,
int typeCode,
java.lang.Object value,
int stringIdx,
int blobIdx)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2018 SAP SE. All Rights Reserved.