All Packages Class Hierarchy This Package Previous Next Index Home
This is an INTERNAL class.
Interface for each type handler
A type handler is a class that is used to manager the persistence of a specific Java data type to a JDBC database. This interface must be implemented by all type handlers.
Type handlers are loaded dynamically by JOP according to the selected strategy. Type handlers must be in the package 'JOP.persist.jdbc' and they must have a name of the following format:
TypeHandler_typename_strategy where TypeHandler is the string "TypeHandler" typename is the short name of a built in Java type (see JOP.perist.JavaTypes) strategy is a number. Numbers must be assigned sequentially starting at 1. There must be no leading zeros.TypeHandlers must be public classes and must have a public constructor that takes no arguments.
public abstract void saveType(PreparedStatement stmt, int column, Object object) throws SQLException
public abstract Object readType(ResultSet rs, int column) throws SQLException
public abstract String getDefinition()
All Packages Class Hierarchy This Package Previous Next Index Home