Just something I noticed while working through the Persistence and JPA tutorials:
When I created a new model class, annotated it and ran "mvn compile hibernate3:hbm2ddl", it did not find my class and did not create a table for it. Only when I added the class name to persistence.xml did everything work OK, despite the comment in persistence.xml saying that adding classes there is NOT required. I'm new to JPA, so I'm not sure if this is something that should indeed be working without entries in persistence.xml, or if it shouldn't (in which case that comment should probably be removed.) Eugene -- View this message in context: http://www.nabble.com/JPA%3A-Adding-classes-to-persistence.xml-NOT-optional-tf3556464s2369.html#a9930565 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
