Design PatternsEvery tool or framework has its limitations. When you run up against such a limitation, its good to know how other people have worked around it. This section documents various design patterns that were not necessarily intended by the original creators of Hibernate. Lightweight Class Delegate Hibernate Aware Action Thread Local Session AspectJ Hibernate aspect Root Persistent Class Codegeneration with Root Persistent Class Open Session in View Session Bean Hi/Lo Generator Audit Info Custom Type Page View and User Tracking via Interceptors Custom Identifier Type non-default TimeZone Using Clobs with Oracle and Hibernate 1.2 Mapping a Blob to a byte[] Mapping a Clob to a String Composite Pattern Chained Interceptor Long Strings/CLOB/TEXT for MySQL Custom Type for Polymorphic Associations
|