Joined: Sun Jul 10, 2005 1:12 pm Posts: 16
|
Hello,
I have following problem I first describe it and then I give you my application code (it is long).
I have a small bookmark manager with bookmarks in a many to many relations with categories.
With unit tests I create and persist some categories then a bookmark with a java Set of categories and I persist it. Then I list all bookmarks and all categories. All OK.
Now I deploy the tapestry application on jboss (tried 3 and 4) using postgresql 8 jdbc driver.
I save some categories. I save a bookmark and then problems start:
- hibernate gives me a classcast reading the "id" of a category
- OR it random fails on hibernate pretty print (printing a category)
- OR it gives some synchronization problem on category.
It seems very strange to me. Please tell me which parts of my code I should post.
Thank in advance for your reply!
Mario
|
|