-
Archives
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- June 2005
-
Meta
Category Archives: hibernate
Why and when to wrap external library classes
At some point, every developer starts using an external library. They then have to decide if that external library should be wrapped in their own custom interfaces and classes. If the external library would be pervasively imported in throughout the … Continue reading
Posted in code review, hibernate, technical
Leave a comment
hibernate and component querying
Well here is some interestingness with querying for components using the 3.2.0cr5 version of hibernate. (FYI using accessor methods is the way the code was actually written. Direct references to properties in this example used just for clarity.) Components in … Continue reading
Posted in hibernate
Leave a comment
Hibernate nastiness using the one-to-one mapping.
Hibernate nastiness filed as bug HHH-2128. When reading this please notice that this situation arose from the most minimal definition. Using the ‘defaults’ is what caused this issue! Steps: define two classes (Primary, Secondary) that have a one-to-one relationship. use … Continue reading
Posted in hibernate, technical
Leave a comment
Hibernate’s event system
So I just had an interesting realization, Hibernate uses various default listeners in it’s poorly documented event system to do all of its persistence work. For example, saving an object through a Hibernate Session object quickly goes to the Session.fireSaveOrUpdate, … Continue reading
Posted in amplafi, help notes, hibernate
6 Comments
hibernate messages … nice and unhelpful
One of the reasons why I recommend Tapestry as a web framework is the helpfulness of its error messages. Hibernate is just the opposite. Current annoying hibernate error message :”Null index column for collection” when trying to examine a previously … Continue reading
Posted in amplafi, hibernate, technical
Leave a comment