-
Dec 15th, 2008, 07:56 AM
#1
Disabling schema update for a signle hibernate entity
I'm using an Oracle database with a table that my application has a read-only access to. I have configured a hibernate entity class that represents the table in my application with services and everything. I need to have schema update on for my other entities, but the one table is static so I just need to access it from hibernate, not update it.
My application works fine if I have schemaUpdate set to false. When i deploy the application when schemaupdate is set to true, I get errors because I don't have permissions to change the table.
Is it possible to define the considered hibernate entity so, that it's not included in the schema update while the others are?
I'm using Spring's AnnotationSessionFactoryBean with hibernate & hibernate-annotations.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules