Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 629755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:46:53+00:00 2026-05-13T19:46:53+00:00

Is it still possible to force Hibernate 3.3 or 3.5 to use CGLib instead

  • 0

Is it still possible to force Hibernate 3.3 or 3.5 to use CGLib instead of Javassist? In my properties file, I set

hibernate.bytecode.provider = cglib

But this doesn’t seem to do it. Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:46:53+00:00Added an answer on May 13, 2026 at 7:46 pm

    It seems some people didn’t read my answer correctly so I’ll rephrase: your hibernate.properties looks correct, the property is well defined, it should work. So, sorry for the question but is CGlib on the classpath?

    Update: Just tested and it works for me. Here is the output I get at initialization time:

    15 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.0.SP1
    18 [main] INFO org.hibernate.cfg.Environment - loaded properties from resource hibernate.properties: {hibernate.bytecode.use_reflection_optimizer=false, hibernate.bytecode.provider=cglib}
    20 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : cglib
    

    PS: Note that CGLIB support has been deprecated recently (this doesn’t mean you won’t be able to use CGLIB but the integration it not maintained anymore).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

> return $this->_prepareDownloadResponse( > 'invoice'.Mage::getSingleton('core/date')->date('Y-m-d_H-i-s').'.pdf', > $pdf->render(), 'application/pdf' Is it still possible to force
I want my Makefile to be as simple as possible and still function. This
Possible Duplicate: C++ delete - It deletes my objects but I can still access
I tried to research this, but there were still some questions left unanswered. I
I am not sure if this is possible, but I have a scenario where
Is there anyway to force slf4j to use specific logging provider (logback in my
Is it still possible to find the 3.1.3 SDK (w/ Xcode) for iPhone development
With repeatable read isolation level, it is still possible to lose updates (second lost
TeeChart .NET is a 100% managed C#.NET Charting Control. Would it still be possible
Still wrapping my head around Delegates and I'm curious: Is it possible to overload

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.