Hi.
I'm trying to create a Seam application (JavaBeans and Hibernate), I use Seam's
hibernate2 sample application as my guide.
I annotated my domain objects with the usual annotations (@Entity, @OneToMany, @NotNull
.....)
I also use @NamedQueries annotations and inject Hibernate Session into my JavaBeans.
But after a while it seems to me that I use JPA, not Hibernate!
I'm now really confused, should I supply hibernate.cfg.xml or persistence.xml?
I also want to generate the database schema via those annotations.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120102#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...