schan_k wrote:
Hi,
When is Table created automatically by Hibernate?
What happens when the following property is set?
<property name="hibernate.hbm2ddl.auto">update</property>
What is the default value of the above property? This is an urgent requirement. Hiberante is automatically creating Tables.
Here is the scenario:
I have 2 schemas in the Database schema1 and schema2 , All the tables are created in schema1 and corresponding Synonym is created in Schema2. Hibernate Logs in using Schema2's user id and password.
So now the hibernate is creating tables in schema2 ignoring the schema1's table.All I have done is , I haven't added the hibernate.hbm2ddl.auto property, I left to default value. WHat should i set so that Hibernate doesnt create the Table automatically.
Thanks,