Revision 43358 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc2/ResulSetControler.java

View differences:

ResulSetControler.java
5 5
import java.sql.SQLException;
6 6
import java.util.List;
7 7
import org.gvsig.fmap.dal.exception.DataException;
8
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
8 9

  
9 10

  
10 11
public interface ResulSetControler extends AutoCloseable {
......
14 15
        public int getID();
15 16
        public boolean isZombie();
16 17
        public String getSQL();
18
        public FeatureAttributeDescriptor[] getColumns();
17 19
        public Object getObject(int columnIndex) throws SQLException;
18 20
        public byte[] getBytes(int columnIndex) throws SQLException;
19 21
        public boolean next() throws SQLException;
......
23 25

  
24 26
    public long getTimeToZombie();
25 27

  
26
    public ResultSetEntry create(String sql, int fetchSize) throws DataException;
28
    public ResultSetEntry create(String sql, int fetchSize, FeatureAttributeDescriptor[] columns ) throws DataException;
27 29

  
28
    public ResultSetEntry create(String sql, List<Object> values, int fetchSize) throws DataException;
30
    public ResultSetEntry create(String sql, List<Object> values, int fetchSize, FeatureAttributeDescriptor[] columns ) throws DataException;
29 31

  
30 32
    public int getOpenCount();
31 33
    

Also available in: Unified diff