00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 package org.objectweb.jonas.resource;
00026
00027 import java.sql.PreparedStatement;
00028 import java.sql.SQLException;
00029
00035 public interface SQLManager {
00036
00046 PreparedStatement getPStatement(MCInfo mcinfo,
00047 Object conn,
00048 String user,
00049 String sql)
00050 throws SQLException;
00051
00063 PreparedStatement getPStatement(MCInfo mcinfo,
00064 Object conn,
00065 String user,
00066 String sql,
00067 int resultSetType,
00068 int resultSetConcurrency)
00069 throws SQLException;
00070
00071
00072
00083 PreparedStatement getPStatement(MCInfo mcinfo,
00084 Object conn,
00085 String user,
00086 String sql,
00087 int autoGeneratedKeys)
00088 throws SQLException;
00089
00100 PreparedStatement getPStatement(MCInfo mcinfo,
00101 Object conn,
00102 String user,
00103 String sql,
00104 int[] columnIndexes)
00105 throws SQLException;
00106
00119 PreparedStatement getPStatement(MCInfo mcinfo,
00120 Object conn,
00121 String user,
00122 String sql,
00123 int resultSetType,
00124 int resultSetConcurrency,
00125 int resultSetHoldability)
00126 throws SQLException;
00127
00138 PreparedStatement getPStatement(MCInfo mcinfo,
00139 Object conn,
00140 String user,
00141 String sql,
00142 String[] columnNames)
00143 throws SQLException;
00144 }