Karsten Wutzke [
http://community.jboss.org/people/kwutzke] created the discussion
"Re: getSingleResult() issues in JBoss 6"
To view the discussion, visit:
http://community.jboss.org/message/593264#593264
--------------------------------------------------------------
Chances are that Hibernate generates invalid SQL. Please post the code that Hibernate
generates from the statement. (You have to put something like
<property name="hibernate.dialect"
value="org.hibernate.dialect.MySQLInnoDBDialect"/>
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.format_sql" value="true" />
into your persistence.xml or hibernate.cfg.xml)
Karsten
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/593264#593264]
Start a new discussion in Beginner's Corner at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]