|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Constants file used by the Persistence package
| Field Summary | |
static java.lang.String |
CMP20_STORE_MANAGER
|
static java.lang.String |
CREATE_SQL
The name of the property for specifying the SQL statement or stored procedure for "preparing" a create in the database. |
static java.lang.String |
CREATE_TABLE_SQL
The name of the property for specifying the SQL statement or stored procedure for creating a table in the database. |
static int |
DEFAULT_CACHE_SIZE
|
static java.lang.String |
DELETE_TABLE_SQL
The name of the property for specifying the SQL statement or stored procedure for deleting a table in the database. |
static java.lang.String |
FILE_NAME
File name used by file-based persistent stores |
static java.lang.String |
FILE_STORE
|
static java.lang.String |
FIND_BY_PRIMARY_KEY_SQL
The name of the property for specifying the SQL statement or stored procedure for finding a bean instance by primary key in the database. |
static java.lang.String |
JDBC_STORE
|
static java.lang.String |
LOAD_SQL
The name of the property for specifying the SQL statement or stored procedure for loading the bean instance from the database. |
static java.lang.String |
REMOVE_SQL
The name of the property for specifying the SQL statement or stored procedure for removing the object's representation from the database. |
static java.lang.String |
STORE_SQL
The name of the property for specifying the SQL statement or stored procedure for writing the bean instance to the database. |
static java.lang.String |
TEMP_DIRECTORY
|
| Field Detail |
public static final java.lang.String FILE_NAME
public static final java.lang.String CREATE_SQL
The value has to be a valid JDBC statement. JRun will convert the SQL into a prepared statement if it is not a stored procedure call.
Example: SELECT id FROM account WHERE name like ?
public static final java.lang.String CREATE_TABLE_SQL
The value has to be a valid JDBC statement. JRun will convert the SQL into a prepared statement if it is not a stored procedure call.
Example: CREATE TABLE account (id INT, name VARCHAR, value INT)
public static final java.lang.String DELETE_TABLE_SQL
The value has to be a valid JDBC statement. JRun will convert the SQL into a prepared statement if it is not a stored procedure call.
Example: DROP TABLE account
public static final java.lang.String REMOVE_SQL
The value has to be a valid JDBC statement. JRun will convert the SQL into a prepared statement if it is not a stored procedure call.
Example: jrun.removeSQL=DELETE account WHERE id = ?
public static final java.lang.String LOAD_SQL
The value has to be a valid JDBC statement. JRun will convert the SQL into a prepared statement if it is not a stored procedure call.
Example: SELECT value FROM account WHERE id = ?
public static final java.lang.String STORE_SQL
The value has to be a valid JDBC statement. JRun will convert the SQL into a prepared statement if it is not a stored procedure call.
Example: UPDATE account SET value = ? WHERE id = ?
public static final java.lang.String FIND_BY_PRIMARY_KEY_SQL
The value has to be a valid JDBC statement. JRun will convert the SQL into a prepared statement if it is not a stored procedure call.
Example: SELECT id FROM account WHERE id = ?
public static final java.lang.String FILE_STORE
public static final java.lang.String JDBC_STORE
public static final java.lang.String CMP20_STORE_MANAGER
public static final java.lang.String TEMP_DIRECTORY
public static final int DEFAULT_CACHE_SIZE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||