[jboss-user] [JBoss Seam] - JBoss Seam DVDStore Example- Hibernate Mapping Question for
bloreguy
do-not-reply at jboss.com
Sat Feb 9 23:44:03 EST 2008
I am a newbie into Seam/Hibernate world and very much impressed with the technologies. HAd a simple question on Hibernate mapping and would very much appreciate response.
In the dvdstore example in Jboss Seam examples, the hibernate.cfg.xml does not have any *.hbm.xml for the entity classes and also does not have any mapping class entries. I was under the impression that 1 of them has to be present in the hibernate.cfg.xml file. Why is this not so? How are the entity classes mapped into the corresponding tables in the database? Is any other file apart from hibernate.cfg.xml used? Or is the schema auto-discovered bu Hibernate based on the annotations in the Java Entity classes?
Any help deeply appreciated.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128142#4128142
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128142
More information about the jboss-user
mailing list