Avatar of prsubject
prsubject
Flag for India asked on

Hibernate bulkbean issue

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)
Java EE

Avatar of undefined
Last Comment
Gurvinder Pal Singh

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Gurvinder Pal Singh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
prsubject

ASKER
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
Gurvinder Pal Singh

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.
prsubject

ASKER
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.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Gurvinder Pal Singh

If some jars are missing, you will get classnotfound exception.
Please post the exception/error trace.
Gurvinder Pal Singh

did you found the solution of why the query was not executed?