[jboss-user] [EJB 3.0] - Re: Jboss can't find annotated entity classes
waynebaylor
do-not-reply at jboss.com
Wed Jul 25 12:27:04 EDT 2007
have you tried adding the entities to your persistence.xml?
| <persistence>
|
| <persistence-unit name="database" transaction-type="RESOURCE_LOCAL">
| <jta-data-source>java:/MySqlDS</jta-data-source>
|
| <!-- LIST ENTITIES HERE -->
| <class> com.kukinbuk.hibernate.RecipePicture</class>
|
| <properties>
| <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
| <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
| </properties>
|
|
| </persistence-unit>
|
|
|
| </persistence>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067496#4067496
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067496
More information about the jboss-user
mailing list