RedWolf wrote:
Hibernate version: 3.0.2
Name and version of the database you are using: SQL Server 2000
One of the databases I'm using is strictly read-only. My application will never update it. Now, while I can add "mutable=false" to the class definitions and "update=false" and "insert=false" to all the property definitions, is there an easier way to tell Hibernate that I will never want to insert, update or delete? The org.hibernate.persister.entity.BasicEntityPersister is spitting out static SQL it would use for these operations although the application will never have need of them.
I think all you need is the mutable="false".