posted 8 years ago
Hi there
I am using Spring+Hibernate combination for web application and data Insertion.My Question is If I have used something like
@Entity
@Table at the Top of a model class Is that sufficient for table creation in database or Do I need to seprately create a somwthing called hibernate.cfg.xml
I have seen many tutiorals online messing on this thing
What is right approach?
(I am using Spring+Hibernate)
Thanks