File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Hibernate3.2 + Javaee6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate3.2 + Javaee6" Watch "Hibernate3.2 + Javaee6" New topic
Author

Hibernate3.2 + Javaee6

Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 141
Hello,

I am migrating our application from websphere 7 to weblogic 12c. Our application was originally jdk6+j2ee1.4+hibernate3.2+websphere7. In order to move to weblogic 12c, I upgraded our application to jdk6+javaee6+hibernate3.2. This results in the following error:



I am concerned that javaee6 could have caused a hibernate error.

Note: I experimented upversioning to hibernate3.6. The same error was more verbose and it was that the named query alias in not recognisable. I can solve the named query, but there will not be an end to the subsequent error. Because we have to know the root cause of this error. I believe it has to do with versions.

Thanks for reading this post.
Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 141
Hello,

With no answers, I assume the answer should be trivial.
I have a thought that the problem could be to do with confusion of dependency jars of Hibernate and those present in weblogic. Most of us would have used hibernate in weblogic. Did you do anything special to get this work?

Regards,
Raj
Gopakumar Naryanan
Ranch Hand

Joined: Jan 15, 2011
Posts: 72

This could be problem with antlr jar file try using appropriate version.
Please go thru the following link :

https://forum.hibernate.org/viewtopic.php?p=2435893

This link could solve the issue.


Thanks & Regards
Gopakumar
Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 141
Thanks Gopakumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate3.2 + Javaee6