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
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
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
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
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
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