I would just list them all in a configuration file. This is a one time job and after that only new files are added to the list.
Up vote 0 down vote favorite share g+ share fb share tw.
Hibernate mapping files are either declared: Programmatically when creating a Configuration For example: Configuration cfg = new Configuration() . AddResource("Item.hbm. Xml") .
AddResource("Bid.hbm. Xml"); In an Hibernate XML configuration file For example: ${jdbc. Driver} ${jdbc.
Url} ${jdbc. User} ${jdbc. Password} ... ... In a Spring XML application context definition For example: product.hbm.
Xml hibernate. Dialect=org.hibernate.dialect. HSQLDialect But In my application, there are hundreds of hbm files.
So, is there any ways like I will put all hbm files in same package and map that package with configuration file? Or any easy way to map all hbm files? Hibernate hibernate-mapping link|improve this question asked Feb 15 '11 at 7:58kandarp711317 83% accept rate.
Similar question already was asked Embed hibernate hbm. Xml mappings in jar.
I am using Hibernate only. I do not want to use Spring. – kandarp Feb 15 '11 at 10:01.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.