Monday, August 1, 2011

Grails org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; SQL [select as id5_0_, this_.version as version5_0_, this_.account_expired as account3_5_0_, this_.account_locked as account4_5_0_, this_.enabled as enabled5_0_, this_."password" as password6_5_0_, this_.password_expired as password7_5_0_, this_.username as username5_0_ from user this_ where (this_.username=?)];

If you don't want to persist the Domain objects User, Role and UserRole then add the following:

static mapWith="none"

No comments:

Post a Comment