001    package railo.runtime.db;
002    
003    import java.sql.PreparedStatement;
004    import java.sql.SQLException;
005    
006    // FUTURE move to interface DatasourceConnection and delete this interface
007    public interface DatasourceConnectionPro extends DatasourceConnection {
008            
009            public boolean supportsGetGeneratedKeys();
010            
011            public PreparedStatement getPreparedStatement(SQL sql, boolean createGeneratedKeys, boolean allowCaching) throws SQLException;
012            public PreparedStatement getPreparedStatement(SQL sql, int resultSetType,int resultSetConcurrency) throws SQLException;
013            
014            public void close() throws SQLException;
015    }