Updated project structure, and created ant build file
This commit is contained in:
parent
09cce4d80a
commit
d1fbc1c50b
20 changed files with 125 additions and 62 deletions
|
|
@ -15,7 +15,7 @@ import zutil.db.DBConnection;
|
|||
import zutil.db.bean.DBBean;
|
||||
import zutil.db.bean.DBBeanSQLResultHandler;
|
||||
import zutil.db.bean.DBBean.*;
|
||||
import zutil.db.handler.SimpleSQLHandler;
|
||||
import zutil.db.handler.SimpleSQLResult;
|
||||
|
||||
@DBTable("User")
|
||||
public class User extends DBBean{
|
||||
|
|
@ -141,7 +141,7 @@ public class User extends DBBean{
|
|||
"SELECT email FROM User WHERE email=? LIMIT 1");
|
||||
sql.setString(1, email);
|
||||
|
||||
String tmp = DBConnection.exec(sql, new SimpleSQLHandler<String>());
|
||||
String tmp = DBConnection.exec(sql, new SimpleSQLResult<String>());
|
||||
return tmp != null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue