1 21 22 package org.apache.derby.impl.jdbc; 23 24 import org.apache.derby.impl.jdbc.EmbedConnection; 25 import org.apache.derby.impl.jdbc.Util; 26 27 import org.apache.derby.iapi.sql.ResultSet; 28 29 import java.sql.ParameterMetaData ; 30 import java.sql.SQLException ; 31 import java.net.URL ; 32 33 45 public class EmbedPreparedStatement30 extends EmbedPreparedStatement20 46 { 47 48 58 public EmbedPreparedStatement30 (EmbedConnection conn, String sql, boolean forMetaData, 59 int resultSetType, int resultSetConcurrency, int resultSetHoldability, 60 int autoGeneratedKeys, int[] columnIndexes, String [] columnNames) 61 throws SQLException { 62 63 super(conn, sql, forMetaData, resultSetType, resultSetConcurrency, resultSetHoldability, 64 autoGeneratedKeys, columnIndexes, columnNames); 65 } 66 67 77 public ParameterMetaData getParameterMetaData() 78 throws SQLException 79 { 80 checkStatus(); 81 return new EmbedParameterMetaData30( 82 getParms(), preparedStatement.getParameterTypes()); 83 } 84 } 85 86 | Popular Tags |