Here is the error I'm getting:

org.hibernate.MappingException: Error reading resource: org/hibernate/test/sql/Employment.hbm.xml
at org.hibernate.cfg.Configuration.addResource(Configuration.java:427)
...
Caused by: org.xml.sax.SAXParseException: Attribute "class" is required and must be specified for element type "return".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)


I'm temporarily adjusting hibernate-mapping-3.0.dtd to get it to stop complaining.

Gavin King wrote:

Guys, please review:

org.hibernate.test.sql.SQLQueryTest.testSQLQueryInterface()

It demonstrates the new SQLQuery interface, which will replace the horrible createSQLQuery() methods.

Let me know what you think. I'm not 100% sold on it yet.

Thanks,
Gavin





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to