Package org.apache.openjpa.jdbc.sql
Class SQLFactoryImpl
- java.lang.Object
-
- org.apache.openjpa.jdbc.sql.SQLFactoryImpl
-
- All Implemented Interfaces:
SQLFactory
,Configurable
public class SQLFactoryImpl extends java.lang.Object implements SQLFactory, Configurable
Default factory for SQL abstraction constructs.- Author:
- Abe White
-
-
Constructor Summary
Constructors Constructor Description SQLFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endConfiguration()
Invoked upon completion of bean property configuration for this object.JDBCConfiguration
getConfiguration()
System configuration.Select
newSelect()
Select factory.Union
newUnion(int selects)
Union factory.Union
newUnion(Select[] selects)
Union factory.void
setConfiguration(Configuration conf)
Invoked prior to setting bean properties.void
startConfiguration()
Invoked before bean property configuration is begun on this object.
-
-
-
Method Detail
-
getConfiguration
public JDBCConfiguration getConfiguration()
System configuration.
-
newSelect
public Select newSelect()
Description copied from interface:SQLFactory
Select factory.- Specified by:
newSelect
in interfaceSQLFactory
-
newUnion
public Union newUnion(int selects)
Description copied from interface:SQLFactory
Union factory.- Specified by:
newUnion
in interfaceSQLFactory
- Parameters:
selects
- the number of selects in the union
-
newUnion
public Union newUnion(Select[] selects)
Description copied from interface:SQLFactory
Union factory.- Specified by:
newUnion
in interfaceSQLFactory
- Parameters:
selects
- the members of the union
-
setConfiguration
public void setConfiguration(Configuration conf)
Description copied from interface:Configurable
Invoked prior to setting bean properties.- Specified by:
setConfiguration
in interfaceConfigurable
-
startConfiguration
public void startConfiguration()
Description copied from interface:Configurable
Invoked before bean property configuration is begun on this object.- Specified by:
startConfiguration
in interfaceConfigurable
-
endConfiguration
public void endConfiguration()
Description copied from interface:Configurable
Invoked upon completion of bean property configuration for this object.- Specified by:
endConfiguration
in interfaceConfigurable
-
-