Sorry to disturb you again, but I still cannot make it work:

I have the following hibernate.cfg.xml file: 


  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE hibernate-configuration PUBLIC
  |             "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  |             
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | <hibernate-configuration>
  |     <session-factory>
  |         <mapping package="mypackage.ejb.entity"/>
  |     </session-factory>
  | </hibernate-configuration>
  | 

And when trying the generate the jboss seam file I have the following error:

org.hibernate.MappingException: An AnnotationConfiguration instance is required 
to use 
 
In the admin console, I tried with adding the ejb-persistence.jar and 
hibernate-annotation.jar in classpath. 
Both this files are also in my classpath.

Btw, Is there a way to delete/update hibernate console configuration?

Thanks for you patience,

Nicolas



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928739#3928739

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928739


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to