|
i-net Konnekter | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.inet.jj.srv.JavaCommandFactory
This class is the factory for your Statements, PreparedStatements or CallableStatements.
The return values are ever a JavaCommand because it implements additonal methods and
you don't need to implement all the methods that you not needed.
The JavaCommandFactory need to be added to the i-net Konnecter Server command list with the method addCommand.
JJServer.addCommand(String, JavaCommandFactory)
Constructor Summary | |
JavaCommandFactory()
|
Method Summary | |
JavaCommand |
prepareCallCommand(java.sql.Connection con)
This method will be called from i-net Konnekter if the client calls the corresponded method prepareCallCommand() from JJConnection. |
JavaCommand |
prepareCallCommand(java.sql.Connection con,
int rsType,
int rsConcur)
This method will be called from i-net Konnekter if the client calls the corresponded method prepareCallCommand() from JJConnection. |
JavaCommand |
prepareCommand(java.sql.Connection con)
This method will be called from i-net Konnekter if the client calls the corresponded method prepareCommand() from JJConnection. |
JavaCommand |
prepareCommand(java.sql.Connection con,
int rsType,
int rsConcur)
This method will be called from i-net Konnekter if the client calls the corresponded method prepareCommand() from JJConnection. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JavaCommandFactory()
Method Detail |
public JavaCommand prepareCommand(java.sql.Connection con) throws java.sql.SQLException
con
- The real connection object that the client referenced.
java.sql.SQLException
- You can throw an exception to the client.JJConnection.prepareCommand(String, int)
public JavaCommand prepareCommand(java.sql.Connection con, int rsType, int rsConcur) throws java.sql.SQLException
con
- The real connection object that the client referenced.rsType
- a result set type; see ResultSet.TYPE_XXXrsConcur
- a concurrency type; see ResultSet.CONCUR_XXX
java.sql.SQLException
- You can throw an exception to the client.JJConnection.prepareCommand(String, int, int, int)
public JavaCommand prepareCallCommand(java.sql.Connection con) throws java.sql.SQLException
con
- The real connection object that the client referenced.
java.sql.SQLException
- You can throw an exception to the client.JJConnection.prepareCallCommand(String, int)
public JavaCommand prepareCallCommand(java.sql.Connection con, int rsType, int rsConcur) throws java.sql.SQLException
con
- The real connection object that the client referenced.rsType
- a result set type; see ResultSet.TYPE_XXXrsConcur
- a concurrency type; see ResultSet.CONCUR_XXX
java.sql.SQLException
- You can throw an exception to the client.JJConnection.prepareCallCommand(String, int, int, int)
|
i-net Konnekter | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |