CHAPTER 7 n CREATING MAPPINGS WITH HIBERNATE XML (Web site developers)
Tuesday, May 8th, 2007CHAPTER 7 n CREATING MAPPINGS WITH HIBERNATE XML FILES n CREATING MAPPINGS WITH HIBERNATE XML FILES 145 Attribute Values Default Description optimistic-lock persister polymorphism none, version implicit, explicit version implicit Specifies the optimistic locking dirty, all strategy to use. The strategy applies at a class level, but in Hibernate 3 can also be specified (or overridden) at an attribute level. Optimistic locking is discussed in Appendix A. Allows a custom ClassPersister object to be used when persisting the entity. Determines how polymorphism is to be used. The default implicit behavior will return instances of the class if superclasses or implemented interfaces are named in the query, and will return subclasses if the class itself is named in the query. proxy Specifies a class or an interface to use as the proxy for lazy initialization. Hibernate uses runtime-generated proxies by default, but you can specify your own implementation of org.hibernate. HibernateProxy in their place. rowid Flags that row IDs should be used (a database-implementation detail allowing Hibernate to optimize updates). schema Optionally overrides the schema specified by the
Note: If you are looking for high quality webhost to host and run your jsp application check Vision florida web design services