Revision 46315 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/spi/operations/RetrieveValueOperation.java
RetrieveValueOperation.java | ||
---|---|---|
26 | 26 |
import java.io.IOException; |
27 | 27 |
import java.sql.Blob; |
28 | 28 |
import java.sql.Clob; |
29 |
import java.sql.Connection; |
|
30 | 29 |
import java.sql.ResultSet; |
31 | 30 |
import java.sql.SQLException; |
32 | 31 |
import java.sql.Statement; |
... | ... | |
37 | 36 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCHelper; |
38 | 37 |
import org.gvsig.fmap.dal.store.jdbc2.spi.JDBCSQLBuilderBase; |
39 | 38 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCSQLException; |
39 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCConnection; |
|
40 | 40 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCUtils; |
41 | 41 |
import org.gvsig.fmap.dal.store.jdbc2.OperationsFactory.TableReference; |
42 | 42 |
|
... | ... | |
68 | 68 |
} |
69 | 69 |
|
70 | 70 |
@Override |
71 |
public final Object perform(Connection conn) throws DataException { |
|
71 |
public final Object perform(JDBCConnection conn) throws DataException {
|
|
72 | 72 |
return this.retrieveValue(conn); |
73 | 73 |
} |
74 | 74 |
|
... | ... | |
88 | 88 |
return sql; |
89 | 89 |
} |
90 | 90 |
|
91 |
public Object retrieveValue(Connection conn) throws DataException { |
|
91 |
public Object retrieveValue(JDBCConnection conn) throws DataException {
|
|
92 | 92 |
|
93 | 93 |
String sql = this.getSQL(); |
94 | 94 |
Statement st = null; |
Also available in: Unified diff