This content has been marked as final.
Show 3 replies
-
1. Re: Error loading entity new on JB AS 7.1
smarlow Apr 13, 2012 4:27 PM (in response to lancetx)Try adding <property name="hibernate.show_sql" value="true" /> to your persistence.xml (or Hibernate configuration file) to see the generated sql.
You might try looking in the Hibernate jira system for others reporting the issue. Link is here. Forums are here.
-
2. Re: Error loading entity new on JB AS 7.1
lancetx Apr 13, 2012 4:30 PM (in response to smarlow)I have that in my persistence.xml already - it shows the sql for all queries except the one causing the error.
-
3. Re: Error loading entity new on JB AS 7.1
lancetx Apr 13, 2012 7:44 PM (in response to lancetx)Finally figured it out - I was able to set the JDBC driver to output the SQL. Hibernate was prefixing a database reserved key word with the table alias. So I guess I will have to send that to the Hibernate group.