posted 12 years ago
Hi,
I am getting the following exception
org.hibernate.exception.SQLGrammarException: could not load an entity: [com.dao.Account#121]
Sql ssyntax generated is:
Hibernate:
select
account0_.employeeId as employeeId0_0_,
account0_.id as id0_0_,
account0_.firstname as firstname0_0_,
account0_.lastname as lastname0_0_,
account0_.type as type0_0_,
account0_.managerId as managerId0_0_
from
laps.user.account account0_
where
account0_.employeeId=?
problem is it appends a user between laps.account, user is another table that I excluded while generating DAOs, any idea?
thanks,
pranjal