1 package org.apache.ojb.broker.query; 2 3 17 18 22 public class QueryBySQL extends AbstractQueryImpl 23 { 24 private String m_sql; 25 26 public QueryBySQL(Class targetClass, String anSQLStatement) 27 { 28 super(targetClass); 29 m_sql = anSQLStatement; 30 } 31 32 public String getSql() 33 { 34 return m_sql; 35 } 36 37 public String toString() 38 { 39 return "Query from " + getSearchClass() + " sql= " + m_sql; 40 } 41 42 } 43 | Popular Tags |