[jboss-user] [EJB 3.0] - Re: jar-file in persistence.xml and eclipse directory

skajotde do-not-reply at jboss.com
Thu Jul 24 10:57:51 EDT 2008

"lynchie" wrote : According to the EJB3 spec jar-file defines an archive to scan for additional entities. You cannot specify a directory here.

What a pity.  I will have to add all classes explicit with  element. 

Jar way is very inflexible and works good with ears/wars deployed on server. Worse with developer IDE. Maybe vfs will do good job (lately I tested doesnt works)

Imho Ejb "next level" spec should provide user way to specify own entity scanner. Now is IoC epoch ;)

Fortunately  http://www.jboss.com/index.html?module=bb&op=viewtopic&t=139699 - customize name of persistence.xml - works ;)

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

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

More information about the jboss-user mailing list