0

ZK + Hibernate annotations is not working on java6

asked 2008-12-25 18:30:20 +0800

jncss gravatar image jncss
3

Hello, I have found that ZK + Hibernate annotations is not working on java6, I think the problem is in HibernateUtil.java

...
if (JVMs.isJava5()) {

_factory = java5Factory(resource);
//Starts an Hibernate session with annotations.
} else {

_factory = java4Factory(resource);
//Starts an standard Hibernate session without annotations.
}
...

Seems like annotations are only started on java5...

I am not sure, but I think this is the problem.

Please take a look and tell me something.


Many thanks and Merry Xmas!

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2008-12-26 04:03:23 +0800

PeterKuo gravatar image PeterKuo
481 2

Yes, it is indeed a error.
Please post it to bug, and we'll track it asap.

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: 2008-12-25 18:30:20 +0800

Seen: 229 times

Last updated: Dec 26 '08

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