-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: My code works standalone and not on jboss
PostPosted: Sun Jul 10, 2005 1:42 pm 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.