Production « Schema « JPA Q&A





1. Deploying Grails on a Production Env. (Hibernate tries updating schema)    stackoverflow.com

I am deploying to a unix box running Jboss. We are using SQL Server 2008 as our database. Once deployed I push the changes by re-deploying the war to the ...

2. Different schema names for test and production    forum.hibernate.org

Hi: Working on my first spring/hibernate project. We have a DB2 database, which uses different schema names for test and production. For instance, to access table policy in test I have to code select * from test.policy, and for production, select * from prod.policy. Here is my hdm.xml file. I hope there is a way to use some setting, which will ...

3. Modifying a live production schema    forum.hibernate.org

Hi, I was wondering how other people go about updating their production (live) database schemas. We've looked into the SchemaUpdate tool, but the documentation suggests it only works with .hbm files, or at least doesn't explain how to use it in conjunction with annotations. Basically, we're looking for a way to update a schema (using DDL statements: ALTER TABLE, etc.) in ...