Re: T5 howto tapestry-hibernate

2007-07-11 Thread Sebastian Heyden
hi, yes i got this configuration in my web.xml and everything except hibernate works for me so far. i also added the code public static CatalogDao buildCtalaogDao( @InjectService("Session") Session session) { return new CatalogDaoImpl(session); } to my AppModule.java

Re: T5 howto tapestry-hibernate

2007-07-11 Thread Davor Hrg
tapestry hibernate will pick it up if you follow the structure . myapp.entities myapp.pages myapp.components .. take a look at the error [WARN] AnnotationBinder Package not found or wo package-info.java: org.czarlylab.javashop.entities are you sure you have correct value in web.xml: tape

Re: T5 howto tapestry-hibernate

2007-07-11 Thread Sebastian Heyden
additionaly i want to give you my hibernate.cfg.xml and the following exception org.hibernate.cfg.AnnotationConfiguration org.apache.derby.jdbc.EmbeddedDriver jdbc:derby:JAVASHOP;create=true APP 10 true org.hibernate.dialect.DerbyDialect create false true true true org

Re: T5 howto tapestry-hibernate

2007-07-11 Thread Sebastian Heyden
that helped me a lot further! but now i have the problem that the entities are not found. aren't they automaticly picked up by tapestry-hibernate? this is my debug output: [INFO] Started Jetty Server [DEBUG] HibernateSessionManager Creating service 'HibernateSessionManager'. [DEBUG] Session

Re: T5 howto tapestry-hibernate

2007-07-10 Thread 小司
You can see this http://linuxboy.javaeye.com/blog/68311 I learn from there . it works well. 2007/7/11, Sebastian Heyden <[EMAIL PROTECTED]>: hello folks, since some days i write my first application with tapestry and now i want to get tapestry-hibernate working. i really tried hard to find he

T5 howto tapestry-hibernate

2007-07-10 Thread Sebastian Heyden
hello folks, since some days i write my first application with tapestry and now i want to get tapestry-hibernate working. i really tried hard to find help in the mailing-list archiv and by googling. thats what i got so far: - a package called entities - Annotations on my Entity - hibernate, jta