1 /* 2 * Replica is published under the terms 3 * of the Apache Software License. 4 */ 5 package replica.database.commands.sql; 6 7 import java.sql.SQLException; 8 import java.sql.Statement; 9 10 import replica.database.commands.StatementDbCommand; 11 12 /*** 13 * 14 * @author Pedro Costa 15 * @author Helder Silva 16 * @since 20/Jan/2004 17 */ 18 public class QueryDbCommand extends StatementDbCommand { 19 20 /*** 21 * 22 */ 23 public QueryDbCommand() { 24 super(); 25 } 26 27 /* (non-Javadoc) 28 * @see replica.database.commands.DatabaseCommand#execute(java.sql.Statement, java.lang.String) 29 */ 30 protected Object execute(Statement st, String command) throws SQLException{ 31 return st.executeQuery( command ); 32 } 33 34 }

This page was automatically generated by Maven