Suppose there is a field such as EmployeeId from a Employee class file, can it is desirable to have this id immutable, or should not added or inserted from the business logic, instead this ID will be updated by some SQL script that is being executed by some other legacy application. In this situation we will have to inform Hibernate not to consider those fields marked with certain attribute such as insert="false". Like wise we can instruct Hibernate not to update certain fields/properties by putting update="false" attribute in the respective HBM configuration XML file. | 0 |
By: [email protected] On: Tue May 28 02:39:56 EDT 2013 0 147 0 | 147 |
Are You Satisfied :1Yes1No |