Hi All,
First time using hibernate for a project. It is stated that the method store will create a table if hbm2ddl.auto is set to update. It creates the table fine but my gripe is that it is creating it under a different table owner. I was under the impression that it would create it using the username specified in the jdbc url inside the hibernate.cfg.xml. What do I need to do so that it creates it under an id that I want.
Below is a snapshot of my hibernate.cfg.xml file:
<property name="connection.driver_class"> com.microsoft.sqlserver.jdbc.SQLServerDriver </property> <property name="connection.url"> jdbc:sqlserver://10.11.12.13:1433;databaseName=MORGAN </property> <property name="connection.username"> mor </property> <property name="connection.password"> mor999 </property>
When it creates table, it doesn't create it under 'mor' as owner. What do I need to do to get it created under 'mor'.
Advise greatly appreciated.
Thanks and Regards,
|