Package org.oddjob.sql
Class HSQLSerializationFactory
java.lang.Object
org.oddjob.sql.HSQLSerializationFactory
- All Implemented Interfaces:
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSerialization(Connection connection) Create aSQLSerialization.getTable()void
-
Constructor Details
-
HSQLSerializationFactory
public HSQLSerializationFactory()
-
-
Method Details
-
createSerialization
Description copied from interface:SQLSerializationFactoryCreate aSQLSerialization.- Specified by:
createSerializationin interfaceSQLSerializationFactory- Parameters:
connection-- Returns:
- A SQLSerialization. Never null.
- Throws:
SQLException
-
setTable
-
getTable
-