org.apache.openjpa.jdbc.sql
Class SQLFactoryImpl

java.lang.Object
  extended by org.apache.openjpa.jdbc.sql.SQLFactoryImpl
All Implemented Interfaces:
SQLFactory, org.apache.openjpa.lib.conf.Configurable

public class SQLFactoryImpl
extends java.lang.Object
implements SQLFactory, org.apache.openjpa.lib.conf.Configurable

Default factory for SQL abstraction constructs.

Author:
Abe White

Constructor Summary
SQLFactoryImpl()
           
 
Method Summary
 void endConfiguration()
           
 JDBCConfiguration getConfiguration()
          System configuration.
 Select newSelect()
          Select factory.
 Union newUnion(int selects)
          Union factory.
 Union newUnion(Select[] selects)
          Union factory.
 void setConfiguration(org.apache.openjpa.lib.conf.Configuration conf)
           
 void startConfiguration()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLFactoryImpl

public SQLFactoryImpl()
Method Detail

getConfiguration

public JDBCConfiguration getConfiguration()
System configuration.


newSelect

public Select newSelect()
Description copied from interface: SQLFactory
Select factory.

Specified by:
newSelect in interface SQLFactory

newUnion

public Union newUnion(int selects)
Description copied from interface: SQLFactory
Union factory.

Specified by:
newUnion in interface SQLFactory
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 interface SQLFactory
Parameters:
selects - the members of the union

setConfiguration

public void setConfiguration(org.apache.openjpa.lib.conf.Configuration conf)
Specified by:
setConfiguration in interface org.apache.openjpa.lib.conf.Configurable

startConfiguration

public void startConfiguration()
Specified by:
startConfiguration in interface org.apache.openjpa.lib.conf.Configurable

endConfiguration

public void endConfiguration()
Specified by:
endConfiguration in interface org.apache.openjpa.lib.conf.Configurable


Copyright © 2006 Apache Software Foundation. All Rights Reserved.