I have created a database in my Mysql as company. I have not created any table in mysql. will the above code dynamically create table and the columns
I have written like this .But on submitting the values in the registration page, I am getting an error...
java.lang.RuntimeException: org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update java.sql.BatchUpdateException: Base table or view not found message from server: "Table 'company.employee' doesn't exist"
Joined: Jun 19, 2008
Sorry I got it working..
i had previously set <property name="hbm2ddl.auto">none</property>
now I made it as <property name="hbm2ddl.auto">create</property>