I have a webapp runs on tomcat, but when try to login the app throws an exception, check the SQL it's generated it's like this
Hibernate: /* from Users as model where model.username= ? *
/ select users0_.id as id0_, users0_.username as username0_, users0_.password as password0_ from comm.cis.users users0_ where users0_.username=?
the table name users has .cis after the database name, how does this "cis" get inserted in the table name. this is mySQL database.
I installed the apps on another pc, same code runs fine the query like this, no error, what cause this problem, how does hibernate generates the table name? appreciated any help.
select users0_.id as id0_, users0_.username as username0_, users0_.password as password0_ from comm.users users0_ where users0_.username=?
|