public class JDBCLocation extends JDBCTable
Modifier and Type | Field and Description |
---|---|
protected java.sql.PreparedStatement |
getDBIdStmt |
protected java.sql.PreparedStatement |
getStmt |
protected java.sql.PreparedStatement |
putStmt |
Constructor and Description |
---|
JDBCLocation(java.sql.Connection conn) |
JDBCLocation(java.sql.Connection conn,
JDBCQuantity jdbcQuantity) |
Modifier and Type | Method and Description |
---|---|
edu.iris.Fissures.Location |
extract(java.sql.ResultSet rs) |
edu.iris.Fissures.Location |
extract(java.sql.ResultSet rs,
java.lang.String prefix) |
edu.iris.Fissures.Location |
get(int id) |
int |
getDBId(edu.iris.Fissures.Location location) |
int |
put(edu.iris.Fissures.Location location) |
getConnection, getTableName
protected java.sql.PreparedStatement putStmt
protected java.sql.PreparedStatement getDBIdStmt
protected java.sql.PreparedStatement getStmt
public JDBCLocation(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
public JDBCLocation(java.sql.Connection conn, JDBCQuantity jdbcQuantity) throws java.sql.SQLException
java.sql.SQLException
public int put(edu.iris.Fissures.Location location) throws java.sql.SQLException
java.sql.SQLException
public int getDBId(edu.iris.Fissures.Location location) throws java.sql.SQLException, NotFound
java.sql.SQLException
NotFound
public edu.iris.Fissures.Location get(int id) throws java.sql.SQLException, NotFound
java.sql.SQLException
NotFound
public edu.iris.Fissures.Location extract(java.sql.ResultSet rs) throws java.sql.SQLException
java.sql.SQLException
public edu.iris.Fissures.Location extract(java.sql.ResultSet rs, java.lang.String prefix) throws java.sql.SQLException
java.sql.SQLException