Hi i have 2 doubbts regarding Hibernate ,..
1)Can we rename hibernate.cfg.xml?
2? can we use multiple mapping resource in hibernate.cf.xml file ?
pls let me know soon
1)Yes. You'll need to tell Hibernate what and where the new configuration file is.
2)This xml file sets the database connection, so there is no multiple mapping.
Thank u ,
Then if we wanna insert to 2 or more tables ..what is the method to connect those 2 tables?