Archive for the 'Hibernate' Category

Hibernate and and the “Found two representations of same collection” error

Wednesday, August 20th, 2008

Last night I spent an extended work day trying to track down the source of a Hibernate exception that I have never encountered before. The application in question is a simple data loader application that reads in an XML file populates a Hibernate object graph. The data in the XML file changes from day to [...]

RESTEasy and Seam

Wednesday, July 2nd, 2008

There has been some discussion lately regarding integrating JBoss Seam with RESTEasy. Jay Balunas recently made about post on his thoughts on ths subject, so I thought I’d post some of mine. For the record, I am a huge fan of Seam and I think there’s definitely a place for Seam in RESTEasy, so here’s [...]

Using a SessionFactory in a WebLogic Cluster

Sunday, June 11th, 2006

If you’re trying to bind a Hibernate SessionFactory to a WebLogic cluster and you’re getting the following error message:
“Conflict start: You tried to bind an object under the name [{factory.name}] in the JNDI tree. The object from [{factory.name}] is non-clusterable, and you have tried to bind more than once from two or more servers. Such [...]