-->
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: Could not deserialize exception
PostPosted: Tue Oct 09, 2012 7:05 am 
Newbie

Joined: Tue Oct 09, 2012 5:31 am
Posts: 1
Please help- My application was working fine until today. Today I got the exception "could not deserialize". java.io.eofException. And sometimes I was able to get the data. The problem was intermittent. What could be the issue here?

I am trying to get the data using following code
Session session = SessionFactory.getInstance(SessionContext.DISTRIBUTED).getSession();
session.beginTransaction();
List results;
try {
Criteria cri = session.createCriteria(Filter.class);
cri.add(Restrictions.eq( "user", userVO.user() ));
setLazyMode(cri);
results = cri.list();
session.getTransaction().commit();
} finally {
rollbackIfStillOpen(session);
}


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.