| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools |
Rating:
|
Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jun 2008
Age: 22
Posts: 1
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
|
what is differnce between hibernate configuration file and hibernate properties?
hi,
Could anyone pls tell me the diff b/w hibernate configuration file and hibernate properties |
|
|
|
|
|
#2 (permalink) |
|
Moderator
Join Date: Apr 2006
Location: India
Posts: 636
Thanks: 57 Thanked 77 Times in 62 Posts Thanks: 57
Thanked 77 Times in 62 Posts
Rep Power: 17
|
Re: what is differnce between hibernate configuration file and hibernate properties?
There is no difference speaking technically ,
all the hibernate configurations can be contained in the hibernate.cfg.xml file and the same configurations can also be specified in the hibernate.properties files When u create a session factory in the hibernate single ton class which creates the database session and connection pools, the class has to read the properties either from the hibernate.cfg.xml or hibernate.properties files. like connection, databasedialect, maxconnections etc etc, all these properties can be specified in cfg.xml or .properties. As far as i know approach is different in reading these parameters Let me know ur questions
__________________
M0h@n |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What are the file used in hibernate | Shailu07 | EJB | 0 | 09-05-08 03:01 PM |
| J2EE - What are the file used in hibernate? | preethisingh | Java Interview / Technical Questions | 1 | 25-01-07 04:25 PM |