Home > Back-end >  DBUtils query the database error, please solve!
DBUtils query the database error, please solve!

Time:09-22

I query:

Return queryRunner. Query (" select * from t_user where username=? And password=?" The new BeanHandler (the User. The class), username, password);

Error message:

Java. SQL. SQLException: always create a com GZGS. Domain. User: com. GZGS. Domain. The User Query: select * from t_user where username=? And password=? The Parameters: [admin and admin]


Have write without structure and structure, this is how to return a responsibility??

CodePudding user response:

Import packages right

CodePudding user response:

Yeah, import the package name is right, is the eclipse automatically generated
  • Related