ojb.broker.platforms
Interface Platform

All Known Implementing Classes:
PlatformDefaultImpl

public interface Platform

this interface provides callbacks that allow to perform RDBMS Platform specific operations whereever neccessary. The Platform implementation is selected by the entry in the repository.xml file.

Version:
1.0
Author:
Thomas Mahler

Method Summary
 void initializeJdbcConnection(java.sql.Connection conn)
          callback called immediately after a JDBC Connection has been obtained in ...
 void setNullForStatement(java.sql.PreparedStatement ps, int index, int sqlType)
          some JDBC-Drivers do not support all sqlTypes this callback is used set parameters to a PreparedStatement
 void setObjectForStatement(java.sql.PreparedStatement ps, int index, java.lang.Object value, int sqlType)
          some JDBC-Drivers do not support all sqlTypes this callback is used set parameters to a PreparedStatement
 

Method Detail

initializeJdbcConnection

public void initializeJdbcConnection(java.sql.Connection conn)
callback called immediately after a JDBC Connection has been obtained in ...


setObjectForStatement

public void setObjectForStatement(java.sql.PreparedStatement ps,
                                  int index,
                                  java.lang.Object value,
                                  int sqlType)
                           throws java.sql.SQLException
some JDBC-Drivers do not support all sqlTypes this callback is used set parameters to a PreparedStatement

java.sql.SQLException

setNullForStatement

public void setNullForStatement(java.sql.PreparedStatement ps,
                                int index,
                                int sqlType)
                         throws java.sql.SQLException
some JDBC-Drivers do not support all sqlTypes this callback is used set parameters to a PreparedStatement

java.sql.SQLException


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04