[jboss-user] [Beginner's Corner] - Re: getSingleResult() issues in JBoss 6

Karsten Wutzke do-not-reply at jboss.com
Tue Mar 15 08:31:57 EDT 2011


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&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110315/344ac4e6/attachment.html 


More information about the jboss-user mailing list