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 3991088
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:34:23+00:00 2026-05-20T06:34:23+00:00

Our project uses Hibernate (3.3.2) with c3p0 as our connection pool. For a while,

  • 0

Our project uses Hibernate (3.3.2) with c3p0 as our connection pool. For a while, it seems there were some c3p0 properties in a c3p0.properties file, and others in hibernate.cfg.xml. I’ve just moved the last two c3p0 properties into hibernate.cfg.xml and confirmed they are being respected.

Is there ANY reason to keep around the c3p0 properties file, when c3p0 properties can be specified in hibernate.cfg.xml? Such as there being a property that can’t be configured there, or another reason I’m not thinking of. It seems to me that specifying c3p0 properties in two places just causes confusion,

I think there was a previous belief that some properties couldn’t be passed through in hibernate.cfg.xml, which I expect is just a myth. That is the primary reason for this question.

  • 1 1 Answer
  • 1 View
  • 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-20T06:34:23+00:00Added an answer on May 20, 2026 at 6:34 am

    No, no reason. (I don’t even have hibernate.cfg.xml – everything is in the spring configuration)

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

Sidebar

Related Questions

In our project we need to import the csv file to postgres. There are
Our project application uses Java 5 and now when I update Java 6, there
Our web project uses spring3, Jpa (hibernate). To save CRUD and other commonly used
Our project uses several third-party open-source libraries, some of which require custom modifications. For
Our project uses custom xml config file, that is currently located under the project
Our project currently uses Crystal Reports for Visual Studio 2008. We need to upgrade
I have an old project at our company that uses shell scripting a lot.
Our project uses an LDAP repository for storing users. In production this will be
Our current project does not use Hibernate (for various reasons) and we are using
Our project uses a macro to make logging easy and simple in one-line statements,

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.