0

ZK6 + Hibernate

asked 2012-03-22 21:01:11 +0800

trojahn gravatar image trojahn
24

Hi,

I've been following this documentation http://books.zkoss.org/wiki/ZK_Developer%27s_Reference/Integration/Hibernate to integrate my ZK project with Hibernate. The problem here is that I don't use the hibernate.cfg.xml file, I do all the configuration via code....

Is there any way I can follow that docs without the need of the XML file?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2012-03-23 04:12:39 +0800

samchuang gravatar image samchuang
4084 4

updated 2012-03-23 04:13:06 +0800

hi

you could try to use WebAppInit, see if it could work
refer to http://books.zkoss.org/wiki/ZK_Configuration_Reference/zk.xml/The_listener_Element/The_org.zkoss.zk.ui.util.WebAppInit_interface

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-03-22 21:01:11 +0800

Seen: 542 times

Last updated: Mar 23 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More