?
Solved

Hibernate bulkbean issue

Posted on 2010-09-02
6
Medium Priority
?
451 Views
Last Modified: 2012-08-13
I am getting the following issue. Urgenct please. I need a solution to the issue. I am seeing cglib as a reason in google. I dont have any cglib in my classpath. Urgency help please
Additional Details:
net/sf/cglib/beans/BulkBeanException

java.lang.NoClassDefFoundError: net/sf/cglib/beans/BulkBeanException

      at org.hibernate.util.ReflectHelper.getBulkBean(ReflectHelper.java:213)
0
Comment
Question by:prsubject
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 40

Accepted Solution

by:
Gurvinder Pal Singh earned 2000 total points
ID: 33593768
download cglib2.2 from here and add it in the classpath
http://www.findjar.com/class/net/sf/cglib/beans/BulkBeanException.html
0
 

Author Comment

by:prsubject
ID: 33593874
I have added the cglib2.2. It worked to some extent. It is creating the session object, but not able to execute the query. It is not able to reach the third statement.

Application.showMessage("DPDAO:::Inside try"); -->Pass
        session=getSession();
        Application.showMessage("After getsession"); --> Pass
        Query query = session.getNamedQuery("com.twc.soatest.bsif.entity.ServiceProfile.getServiceFeaturesList");
        query.setString("tn", tn);
        sfList=query.list();
        Application.showMessage("In DAO layer..."); --> not displaying this statement
0
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 33593878
what is the query exactly? Also please post the related class.

If you can post the exception stack trace, it will be a help also.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:prsubject
ID: 33593879
The same query works if I run in java perspective. If I run the soatest it is not working. Some hibernate jars are missing I doubt. It has nothing to do with soatest. SOme jars are missing to execute the query in soatest perspective. Could you guide me.
0
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 33593893
If some jars are missing, you will get classnotfound exception.
Please post the exception/error trace.
0
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 33593940
did you found the solution of why the query was not executed?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A solution for Fortify Path Manipulation.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question