Re: T5 Hibernate and Hibernate Annotations

2007-06-07 Thread Davor Hrg
HibernateSessionManager being internal means you shouldn't be managing it your self. it's ok to : @Inject private HibernateSessionManager _sessionmanager; but creating it manualy is not a good solution, keep just the inject and tapestry ioc will provide it for you, Davor Hrg On 6/6/07,

Re: T5 Hibernate and Hibernate Annotations

2007-06-07 Thread Daniel Jue
Thanks Davor, I got it working, although it seems to require a myentity.hbm.xml, specified via the hibernate.cfg.xml. I was hoping I could use the @Entity, @Id, etc, annotations in my entity classes instead. From the Hibernate docs, it seems like enabling these Hibernate Annotations requires a

Re: T5 Hibernate and Hibernate Annotations

2007-06-07 Thread Davor Hrg
I have a running app with t5 and HA if you follow a convention: your.package.pages - pages your.package.services - services and AppModule your.package.entities without any extra config besides connection data in hibernate.cfg.xml your entities will be recognized. you can do this by following