Greetings.
We have a certain domain object (system configuration) that should be used in read-only mode from the ordering application (no one should be allowed to change the configuration, only order them), but should be used in the read/write mode from the application that administers these configurations. Is there a way to accomplish this without duplicating the mapping file and just setting different caching parameters?
Basically the mapping file is exactly the same, except the one for the ordering app should have <cache usage="read-only"/> and the one for the admin app should not.
Also, how does hibernate deal with multiple mapping files found in the classpath?
Thanks.
|