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 voidendConfiguration()Invoked upon completion of bean property configuration for this object.JDBCConfigurationgetConfiguration()System configuration.SelectnewSelect()Select factory.UnionnewUnion(int selects)Union factory.UnionnewUnion(Select[] selects)Union factory.voidsetConfiguration(Configuration conf)Invoked prior to setting bean properties.voidstartConfiguration()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:SQLFactorySelect factory.- Specified by:
newSelectin interfaceSQLFactory
-
newUnion
public Union newUnion(int selects)
Description copied from interface:SQLFactoryUnion factory.- Specified by:
newUnionin interfaceSQLFactory- Parameters:
selects- the number of selects in the union
-
newUnion
public Union newUnion(Select[] selects)
Description copied from interface:SQLFactoryUnion factory.- Specified by:
newUnionin interfaceSQLFactory- Parameters:
selects- the members of the union
-
setConfiguration
public void setConfiguration(Configuration conf)
Description copied from interface:ConfigurableInvoked prior to setting bean properties.- Specified by:
setConfigurationin interfaceConfigurable
-
startConfiguration
public void startConfiguration()
Description copied from interface:ConfigurableInvoked before bean property configuration is begun on this object.- Specified by:
startConfigurationin interfaceConfigurable
-
endConfiguration
public void endConfiguration()
Description copied from interface:ConfigurableInvoked upon completion of bean property configuration for this object.- Specified by:
endConfigurationin interfaceConfigurable
-
-