hello all can i combine .hbm file and .cfg file in one. can i have more than 1 .cfg like .hbm file. what is the return type of new Configuration().configure().sessionFactory(); one more question as all transaction code(jdbc,jta) is written by vendor..can we see that?
posted 8 years ago
Don't know why you would want to mix .hbm and .cfg files. Both are for different purpose and so its better to keep them separate. You can have more than one .cfg file which can be used as:
Return type is: org.hibernate.SessionFactory Don't know about the last question.