سؤال

I am having some trouble searching for what I want to do. I am told that I can generate database tables using Hibernate that represent POJOs I created in Java. I must be missing something. Thank you for the help on the trivial issue.

هل كانت مفيدة؟

المحلول

Add this property in your configuration file

<property name="hibernate.hbm2ddl.auto">create</property>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top