0

How to move data from hibernate on page zul?

asked 2014-04-06 10:18:18 +0800

thantienbut gravatar image thantienbut
1 1

How to move data from hibernate on page zul, hibernate use way connect database is anotation

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-06 20:10:37 +0800

chillworld gravatar image chillworld flag of Belgium
5337 4 9
https://github.com/chillw...

Normally you have your model witch is annotated with the hibernate annotations.

Then you should create repository's of your model, you can use JPA for that. After the repositorys you can eventually create services.(this is not required but a good thing to do)

If the services/repositorys are created you can put them in viewmodels or controllers and ask your data from the services/repositorys and do what you want do to with it.

Documentation :

http://books.zkoss.org/wiki/ZKDeveloper%27sReference/Integration/Persistence_Layer/Hibernate

Examples :

http://forum.zkoss.org/question/86455/zk-spring-3-hibernate-4-examples/

These examples are not from me, but from Senthilchettyin. If they helped you, vote his topic, to show your appriciation.

Greetz chill.

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2014-04-06 10:18:18 +0800

Seen: 16 times

Last updated: Apr 06 '14

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