[jboss-user] [EJB 3.0] - Re: entity bean name in ejb3 RC7

mzeijen do-not-reply at jboss.com
Thu Aug 24 06:56:33 EDT 2006


I've tried it and it should work but it doesn't :( . There is a bug that incorrectly generates the wrong path to the jar file. I hope they fix this soon.

I do however have a workaround. You can use the class property to list all the persistence classes that you want to have available in the persistence manager.

Example:

  | ...
  | <jta-data-source>java:/MyDS</jta-data-source>
  | <class>yPackage.User</class>
  | <class>yPackage.SomeOtherEntity</class>
  | <properties>
  | ...
  | 

It isn't really nice, but it works. I tested it.

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

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



More information about the jboss-user mailing list