[jboss-user] [EJB 3.0] - Disable auto creating for views

gommo do-not-reply at jboss.com
Tue Sep 12 21:49:53 EDT 2006


I'm using the property hibernate.hbm2ddl.auto with a value of 'update' to auto create schemas on deployment.

However, I have created a number of views and mapped the views to entity beans. What I find is that (obviously) if these views don't exist then jboss creates them as tables instead.

Is there a way to specify an entity to not be created?

Also, where is the documentation for properties such as
hibernate.hbm2ddl.auto 

Thanks

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

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



More information about the jboss-user mailing list