Package org.openqreg.bean

Examples of org.openqreg.bean.ListboxtextrowKey


*/
public static Object findByPrimaryKey(Connection con, PrimaryKey key) throws SQLException {
PreparedStatement pStmt = null;
ResultSet rs = null;
ListboxtextrowBean valueObject = null;
ListboxtextrowKey primaryKey = (ListboxtextrowKey) key;
try{
pStmt = con.prepareStatement(ListboxtextrowBeanBase.SELECT_STATEMENT);
pStmt.setObject(1, primaryKey.getId());
pStmt.setObject(2, primaryKey.getListorder());
pStmt.setObject(3, primaryKey.getDocument());
rs = pStmt.executeQuery();
while (rs.next()){
valueObject = populate(rs);
valueObject.afterPopulate(con);
}
View Full Code Here


/**
* @return The primaryKey
*
*/
public PrimaryKey getPrimaryKey() {
return new ListboxtextrowKey(getId(), getListorder(), getDocument());
}
View Full Code Here

TOP

Related Classes of org.openqreg.bean.ListboxtextrowKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.