Some small fixes
This commit is contained in:
parent
fcbaef3e76
commit
0374972f12
2 changed files with 1 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ public class SQLQuery {
|
||||||
protected void build(StringBuilder query) {
|
protected void build(StringBuilder query) {
|
||||||
query.append(" FROM ");
|
query.append(" FROM ");
|
||||||
if( tables.isEmpty() )
|
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++){
|
for(int i=0; i<tables.size() ;i++){
|
||||||
query.append(tables.get(i));
|
query.append(tables.get(i));
|
||||||
if( i != tables.size()-1 )
|
if( i != tables.size()-1 )
|
||||||
|
|
|
||||||
|
|
@ -456,7 +456,6 @@ public abstract class DBBean {
|
||||||
* This is a workaround if the field is not visible to other classes
|
* This is a workaround if the field is not visible to other classes
|
||||||
*
|
*
|
||||||
* @param field is the field
|
* @param field is the field
|
||||||
* @return the value of the field
|
|
||||||
*/
|
*/
|
||||||
protected void setFieldValue(Field field, Object o){
|
protected void setFieldValue(Field field, Object o){
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue