Some small fixes

This commit is contained in:
Ziver Koc 2014-07-08 12:11:34 +00:00
parent fcbaef3e76
commit 0374972f12
2 changed files with 1 additions and 2 deletions

View file

@ -222,7 +222,7 @@ public class SQLQuery {
protected void build(StringBuilder query) {
query.append(" FROM ");
if( tables.isEmpty() )
throw new RuntimeException("The FROM query item must hav atleast 1 table!");
throw new RuntimeException("The FROM query item must have at least 1 table!");
for(int i=0; i<tables.size() ;i++){
query.append(tables.get(i));
if( i != tables.size()-1 )

View file

@ -456,7 +456,6 @@ public abstract class DBBean {
* This is a workaround if the field is not visible to other classes
*
* @param field is the field
* @return the value of the field
*/
protected void setFieldValue(Field field, Object o){
try {