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