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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate3.2 + Javaee6" Watch "Hibernate3.2 + Javaee6" New topic

Hibernate3.2 + Javaee6

Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 137

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

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?

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 :


This link could solve the issue.

Thanks & Regards
Rajesh So
Ranch Hand

Joined: Oct 08, 2002
Posts: 137
Thanks Gopakumar
It is sorta covered in the JavaRanch Style Guide.
subject: Hibernate3.2 + Javaee6
Similar Threads
Maven archetype "webapp-javaee6" question
Interceptors - more than 1 @AroundInvoke - Multiple @Interceptors declared for a class/method?
Simple and Classic tag handlers in JavaEE6 exam
Sun Certified JPA Developer for the JavaEE6 Platform Beta
JavaEE6 vs JavaEE5