Hi all,

I can't find a way of override a specific hibernate property in 
persistence.properties (the default persistence config file inside 
ejb3.deploy/META-INF). The property is "hibernate.hbm2ddl.auto"

I wish to disable the auto tables creation in my database. To so so, I need to 
comment or erase the line which configures this property. Ok, I simply don't 
put it in my persistence.xml in my ".par". Well... This won't disable this 
feature, since it is present in the standard config persistence.properties! 
There should be a way of doing something like:
hibernate.hbm2ddl.auto=off  or something to force the default to be overriden...

In Hibernate docs I only see these options: update | create | create-drop

Can you help me with this one?

Regards,
  Joao

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910902#3910902

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910902


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to