Class JDBCHelper
java.lang.Object
org.eclipse.persistence.tools.dbws.BaseDBWSBuilderHelper
org.eclipse.persistence.tools.dbws.jdbc.JDBCHelper
- All Implemented Interfaces:
DBWSBuilderHelper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.eclipse.persistence.tools.dbws.BaseDBWSBuilderHelper
AND_STR, COMMA_SPACE_STR, complextypes, createdORDescriptors, crudOps, dbStoredProcedures, dbTables, dbwsBuilder, DELETE_STR, EQUALS_BINDING_STR, EQUALS_BINDING1_STR, INSERT_STR, ITEM_MAPPING_NAME, ITEMS_MAPPING_ATTRIBUTE_NAME, ITEMS_MAPPING_FIELD_NAME, MTOM_STR, nct, NO_PROC_MSG, NO_TABLE_MSG, ORM_MARSHAL_EX_MSG, OXM_MARSHAL_EX_MSG, PASSWORD_STR, referencedORDescriptors, SELECT_FROM_STR, sessionConfigProject, SET_STR, SIMPLEXML_STR, SWAREF_STR, TIMESTAMP_CLASS, UPDATE_STR, USER_STR, VALUES_STR, WHERE_STR, workbenchXMLProject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToOROXProjectsForComplexTypes
(List<CompositeDatabaseType> types, Project orProject, Project oxProject) void
buildProcedureOperation
(ProcedureOperationModel procedureOperationModel) protected void
buildQueryForProcedureType
(ProcedureType procType, Project orProject, Project oxProject, ProcedureOperationModel opModel, boolean hasComplexArgs) boolean
Indicates if one or more database tables were discovered.protected List
<ProcedureType> loadProcedures
(String originalCatalogPattern, String originalSchemaPattern, String originalProcedurePattern) protected List
<ProcedureType> loadProcedures
(List<String> catalogPatterns, List<String> schemaPatterns, List<String> procedureNamePatterns) loadTables
(String originalCatalogPattern, String originalSchemaPattern, String originalTablePattern) loadTables
(List<String> catalogPatterns, List<String> schemaPatterns, List<String> tableNamePatterns) static boolean
matches
(ProcedureType proc, String catalog, String schema, String name, boolean isOracle, boolean catalogMatchDontCare) Methods inherited from class org.eclipse.persistence.tools.dbws.BaseDBWSBuilderHelper
addToOROXProjectsForBuildSql, buildDatabaseTypeFromMetadataType, buildDatabaseTypeFromMetadataType, buildDbArtifacts, buildDbColumns, buildDBWSModel, buildORFieldMappingFromColumn, buildOROXProjects, buildOROXProjects, buildOXFieldMappingFromColumn, buildSchema, buildSessionsXML, buildTypesList, buildWSDL, finishProcedureOperation, finishUpProjects, generateDBWSProvider, getArgumentListForProcedureType, getDbStoredProcedures, getDbTables, getResultSetMetadataForSecondarySQL, getTypeNameForDatabaseType, getWrapperClass, getWrapperClass, handleSimpleXMLFormat, logNotFoundWarnings, logPackageNotFoundWarnings, setUpCustomTransformer, setUpDirectToFieldMapping, setUpFindQueries, setUpXMLDirectMapping, writeAttachmentSchema, writeDeploymentDescriptor, writeOROXProjects, writeSchema, writeWebXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.tools.dbws.DBWSBuilderHelper
buildDbArtifacts, buildDBWSModel, buildOROXProjects, buildOROXProjects, buildSchema, buildSessionsXML, buildTypesList, buildWSDL, generateDBWSProvider, writeAttachmentSchema, writeDeploymentDescriptor, writeOROXProjects, writeSchema, writeWebXML
-
Field Details
-
TABLESINFO_CATALOG
public static final int TABLESINFO_CATALOG- See Also:
-
TABLESINFO_SCHEMA
public static final int TABLESINFO_SCHEMA- See Also:
-
TABLESINFO_NAME
public static final int TABLESINFO_NAME- See Also:
-
TABLESINFO_TYPE
public static final int TABLESINFO_TYPE- See Also:
-
COLUMNSINFO_COLUMN_NAME
public static final int COLUMNSINFO_COLUMN_NAME- See Also:
-
COLUMNSINFO_DATA_TYPE
public static final int COLUMNSINFO_DATA_TYPE- See Also:
-
COLUMNSINFO_TYPE_NAME
public static final int COLUMNSINFO_TYPE_NAME- See Also:
-
COLUMNSINFO_COLUMN_SIZE
public static final int COLUMNSINFO_COLUMN_SIZE- See Also:
-
COLUMNSINFO_DECIMAL_DIGITS
public static final int COLUMNSINFO_DECIMAL_DIGITS- See Also:
-
COLUMNSINFO_NULLABLE
public static final int COLUMNSINFO_NULLABLE- See Also:
-
COLUMNSINFO_ORDINAL_POSITION
public static final int COLUMNSINFO_ORDINAL_POSITION- See Also:
-
PKSINFO_KEY_SEQ
public static final int PKSINFO_KEY_SEQ- See Also:
-
PKSINFO_PK_NAME
public static final int PKSINFO_PK_NAME- See Also:
-
INDEXINFO_NON_UNIQUE
public static final int INDEXINFO_NON_UNIQUE- See Also:
-
INDEXINFO_TYPE
public static final int INDEXINFO_TYPE- See Also:
-
INDEXINFO_ORDINAL_POSITION
public static final int INDEXINFO_ORDINAL_POSITION- See Also:
-
PROCS_INFO_CATALOG
public static final int PROCS_INFO_CATALOG- See Also:
-
PROCS_INFO_SCHEMA
public static final int PROCS_INFO_SCHEMA- See Also:
-
PROCS_INFO_NAME
public static final int PROCS_INFO_NAME- See Also:
-
PROCS_INFO_TYPE
public static final int PROCS_INFO_TYPE- See Also:
-
PROC_COLS_INFO_CATALOG
public static final int PROC_COLS_INFO_CATALOG- See Also:
-
PROC_COLS_INFO_SCHEMA
public static final int PROC_COLS_INFO_SCHEMA- See Also:
-
PROC_COLS_INFO_NAME
public static final int PROC_COLS_INFO_NAME- See Also:
-
PROC_COLS_INFO_COLNAME
public static final int PROC_COLS_INFO_COLNAME- See Also:
-
PROC_COLS_INFO_TYPE
public static final int PROC_COLS_INFO_TYPE- See Also:
-
PROC_COLS_INFO_DATA_TYPE
public static final int PROC_COLS_INFO_DATA_TYPE- See Also:
-
PROC_COLS_INFO_TYPE_NAME
public static final int PROC_COLS_INFO_TYPE_NAME- See Also:
-
PROC_COLS_INFO_PRECISION
public static final int PROC_COLS_INFO_PRECISION- See Also:
-
PROC_COLS_INFO_LENGTH
public static final int PROC_COLS_INFO_LENGTH- See Also:
-
PROC_COLS_INFO_SCALE
public static final int PROC_COLS_INFO_SCALE- See Also:
-
PROC_COLS_INFO_RADIX
public static final int PROC_COLS_INFO_RADIX- See Also:
-
PROC_COLS_INFO_NULLABLE
public static final int PROC_COLS_INFO_NULLABLE- See Also:
-
PROC_COLS_INFO_ORA_SEQUENCE
public static final int PROC_COLS_INFO_ORA_SEQUENCE- See Also:
-
PROC_COLS_INFO_ORA_OVERLOAD
public static final int PROC_COLS_INFO_ORA_OVERLOAD- See Also:
-
-
Constructor Details
-
JDBCHelper
-
-
Method Details
-
hasTables
public boolean hasTables()Indicates if one or more database tables were discovered.- Specified by:
hasTables
in interfaceDBWSBuilderHelper
- Specified by:
hasTables
in classBaseDBWSBuilderHelper
-
buildProcedureOperation
- Specified by:
buildProcedureOperation
in interfaceDBWSBuilderHelper
-
loadTables
protected List<TableType> loadTables(List<String> catalogPatterns, List<String> schemaPatterns, List<String> tableNamePatterns) - Specified by:
loadTables
in classBaseDBWSBuilderHelper
-
loadTables
-
loadProcedures
protected List<ProcedureType> loadProcedures(List<String> catalogPatterns, List<String> schemaPatterns, List<String> procedureNamePatterns) - Specified by:
loadProcedures
in classBaseDBWSBuilderHelper
-
loadProcedures
protected List<ProcedureType> loadProcedures(String originalCatalogPattern, String originalSchemaPattern, String originalProcedurePattern) -
matches
public static boolean matches(ProcedureType proc, String catalog, String schema, String name, boolean isOracle, boolean catalogMatchDontCare) -
addToOROXProjectsForComplexTypes
public void addToOROXProjectsForComplexTypes(List<CompositeDatabaseType> types, Project orProject, Project oxProject) - Specified by:
addToOROXProjectsForComplexTypes
in classBaseDBWSBuilderHelper
-
buildQueryForProcedureType
protected void buildQueryForProcedureType(ProcedureType procType, Project orProject, Project oxProject, ProcedureOperationModel opModel, boolean hasComplexArgs) - Specified by:
buildQueryForProcedureType
in classBaseDBWSBuilderHelper
-