Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
E
G
H
I
J
L
M
N
O
P
R
S
W
C
CREATE
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
CREATE_DDL_JDBC_FILE_SUFFIX
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
CREATE_SQL_FILE_SUFFIX
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
createOrDropTablesInDB(boolean, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Iterate over all "create" or "drop" ddl files and execute them.
D
DatabaseConstants
- Interface in
org.glassfish.persistence.common
DB2
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
DB2_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
DBVendorTypeHelper
- Class in
org.glassfish.persistence.common.database
DBVendorTypeHelper()
- Constructor for class org.glassfish.persistence.common.database.
DBVendorTypeHelper
DDL
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
DEFAULT_DB
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
DEFAULT_DB_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
DERBY
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
DERBY_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
DROP
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
DROP_DDL_JDBC_FILE_SUFFIX
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
DROP_SQL_FILE_SUFFIX
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
E
executeDDLs(File, Statement)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Open a DDL file and execute each line as a SQL statement.
executeDDLStatement(File, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Get the ddl files eventually executed against the database.
executeDDLStatement(String, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Get the DDL file and execute the statements.
G
getAppRegisteredName()
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
getCreateJdbcFileName(String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Returns createJdbcFileName
getCreateTables(boolean)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Create tables only on deploy, and only if the CLI options cliCreateTables or cliDropAndCreateTables are not set to false.
getCreateTables(String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Calculate createTables value based on the parameter stored on deploy
getDBType(String)
- Static method in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
Get Database Vendor Type from vendor name.
getDDLFile(String, boolean)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Read the ddl file from the disk location.
getDDLNamePrefix(Object)
- Static method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Returns name prefix for DDL files extracted from the info instance by the Sun-specific code.
getDeployedLocation()
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
getDropJdbcFileName(String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Returns dropJdbcFileName
getDropTables(boolean)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Drop tables on undeploy and redeploy, if the corresponding CLI options cliDropAndCreateTables (for redeploy) or cliDropTables (for undeploy) are not set to false.
getDropTables(String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Calculate dropTables value based on the parameter stored on deploy
getEnumDBType(DatabaseMetaData)
- Static method in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
Gets enumerated database type for given metaData
getEnumDBType(String)
- Static method in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
Gets enumerated database type for given dbType
getGeneratedLocation(String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Returns appGeneratedLocation or user defined value if the latter is specified
getI18NMessage(String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Get the localized message for the error code.
getI18NMessage(String, String, String, Throwable)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Get a generic localized message.
getJndiName(String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Returns jndiName
getMessage(ResourceBundle, String)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Returns message as String
getMessage(ResourceBundle, String, Object[])
- Static method in class org.glassfish.persistence.common.
I18NHelper
Formats message by adding Array of arguments
getMessage(ResourceBundle, String, String)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Formats message by adding a String argument
getMessage(ResourceBundle, String, String, String)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Formats message by adding two String arguments
getMessage(ResourceBundle, String, String, String, String)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Formats message by adding three String arguments
getMessage(ResourceBundle, String, Object)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Formats message by adding an Object as an argument
getMessage(ResourceBundle, String, int)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Formats message by adding an int as an argument
getMessage(ResourceBundle, String, boolean)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Formats message by adding a boolean as an argument
H
hasDeployCliOverrides()
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
hasUndeployCliOverrides()
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
I
I18NHelper
- Class in
org.glassfish.persistence.common
I18NHelper()
- Constructor for class org.glassfish.persistence.common.
I18NHelper
Constructor
INFORMIX
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
INFORMIX_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
INGRES
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
INGRES_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
init()
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Initializes the rest of the settings
J
Java2DBProcessorHelper
- Class in
org.glassfish.persistence.common
Java2DBProcessorHelper(String)
- Constructor for class org.glassfish.persistence.common.
Java2DBProcessorHelper
Creates a new instance of Java2DBProcessorHelper to be used to execute SQL statements only.
Java2DBProcessorHelper(DeploymentContext)
- Constructor for class org.glassfish.persistence.common.
Java2DBProcessorHelper
Creates a new instance of Java2DBProcessorHelper.
JAVA_TO_DB_FLAG
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
JDBC_FILE_EXTENSION
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
JTA_DATASOURCE_JNDI_NAME_OVERRIDE
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
Used as key to set propety in DeploymentContext indicating to override JTA dataource
L
loadBundle(String)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Load ResourceBundle by bundle name
loadBundle(String, ClassLoader)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Load ResourceBundle by bundle name and class loader
loadBundle(Class)
- Static method in class org.glassfish.persistence.common.
I18NHelper
Load ResourceBundle by class object - figure out the bundle name for the class object's package and use the class' class loader.
loadFromFile(Properties, String)
- Static method in class org.glassfish.persistence.common.database.
PropertyHelper
Loads properties list from the specified file into specified Properties object.
loadFromResource(Properties, String, ClassLoader)
- Static method in class org.glassfish.persistence.common.database.
PropertyHelper
Loads properties list from the specified resource into specified Properties object.
logI18NWarnMessage(String, String, String, Throwable)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Provide a generic warning message to the user.
lookupNonTxResource(ConnectorRuntime, DeploymentContext, String)
- Static method in class org.glassfish.persistence.common.
PersistenceHelper
lookupPMResource(ConnectorRuntime, DeploymentContext, String)
- Static method in class org.glassfish.persistence.common.
PersistenceHelper
M
MAX_KNOWN_DB
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
MSSQL
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
MSSQL_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
MYSQL
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
MYSQL_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
N
NAME_SEPARATOR
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
O
ORACLE
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
ORACLE_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
org.glassfish.persistence.common
- package org.glassfish.persistence.common
org.glassfish.persistence.common.database
- package org.glassfish.persistence.common.database
OTHER_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
P
PersistenceHelper
- Class in
org.glassfish.persistence.common
Contains helper methods for persistence module
PersistenceHelper()
- Constructor for class org.glassfish.persistence.common.
PersistenceHelper
POINTBASE
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
POINTBASE_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
PropertyHelper
- Class in
org.glassfish.persistence.common.database
PropertyHelper()
- Constructor for class org.glassfish.persistence.common.database.
PropertyHelper
R
requireUpperCaseSchema(DatabaseMetaData)
- Static method in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
Determines whether to use uppercase schema name for a give database.
S
setCreateJdbcFileName(String, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Sets createJdbcFileName
setCreateTablesValue(boolean, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Store user defined value for create tables for future reference.
setDropJdbcFileName(String, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Sets dropJdbcFileName
setDropTablesValue(boolean, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Store user defined value for drop tables for future reference.
setGeneratedLocation(String, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Sets the substitute for the internal location of the generated files
setJndiName(String, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Sets jndiName
setProcessorType(String, String)
- Method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Sets this processor type
SQL_FILE_EXTENSION
- Static variable in interface org.glassfish.persistence.common.
DatabaseConstants
SYBASE
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
SYBASE_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
SYMFOWARE
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
SYMFOWARE_ENUM
- Static variable in class org.glassfish.persistence.common.database.
DBVendorTypeHelper
W
warnUser(ActionReport, String)
- Static method in class org.glassfish.persistence.common.
Java2DBProcessorHelper
Provide a warning message to the user.
C
D
E
G
H
I
J
L
M
N
O
P
R
S
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2012. All Rights Reserved.