1 25 package org.objectweb.jonas.resource; 26 27 import java.sql.PreparedStatement ; 28 import java.sql.SQLException ; 29 30 35 public interface SQLManager { 36 37 46 PreparedStatement getPStatement(MCInfo mcinfo, 47 Object conn, 48 String user, 49 String sql) 50 throws SQLException ; 51 52 63 PreparedStatement getPStatement(MCInfo mcinfo, 64 Object conn, 65 String user, 66 String sql, 67 int resultSetType, 68 int resultSetConcurrency) 69 throws SQLException ; 70 71 72 83 PreparedStatement getPStatement(MCInfo mcinfo, 84 Object conn, 85 String user, 86 String sql, 87 int autoGeneratedKeys) 88 throws SQLException ; 89 90 100 PreparedStatement getPStatement(MCInfo mcinfo, 101 Object conn, 102 String user, 103 String sql, 104 int[] columnIndexes) 105 throws SQLException ; 106 107 119 PreparedStatement getPStatement(MCInfo mcinfo, 120 Object conn, 121 String user, 122 String sql, 123 int resultSetType, 124 int resultSetConcurrency, 125 int resultSetHoldability) 126 throws SQLException ; 127 128 138 PreparedStatement getPStatement(MCInfo mcinfo, 139 Object conn, 140 String user, 141 String sql, 142 String [] columnNames) 143 throws SQLException ; 144 } 145 | Popular Tags |