org.oddjob.sql
Class HSQLSerializationFactory
java.lang.Object
org.oddjob.sql.HSQLSerializationFactory
- All Implemented Interfaces:
- SQLSerializationFactory
public class HSQLSerializationFactory
- extends Object
- implements SQLSerializationFactory
An implementation SQLSerializationFactory
for HSQLDB but
implemented in ANSI SQL so should work with most DBs.
This class is synchronised on the statements to avoid what appeared to be
deadlock in HSQL but no detailed investigation of this was
undertaken.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HSQLSerializationFactory
public HSQLSerializationFactory()
createSerialization
public SQLSerialization createSerialization(Connection connection)
throws SQLException
- Description copied from interface:
SQLSerializationFactory
- Create a
SQLSerialization
.
- Specified by:
createSerialization
in interface SQLSerializationFactory
- Returns:
- A SQLSerialization. Never null.
- Throws:
SQLException
setTable
public void setTable(String tableName)
getTable
public String getTable()