-->
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: Hibernate 3.0 Beta 1 UserType.replace(...) method
PostPosted: Sat Jan 01, 2005 7:51 pm 
Newbie

Joined: Fri Oct 08, 2004 10:36 am
Posts: 2
Hi all!

I have recently downloaded Hibernate 3.0 beta 1, updating from 3.0 alpha, since then, the
Code:
org.hibernate.usertype.UserType
interface has changed to include two more methods,
Code:
public int hashCode(Object o)
which was easily understandable and implemented; the second method added was
Code:
public Object replace(Object original, Object target, Object owner) throws HibernateException
which I have no clue how to implement, i.e. I couldn't find out what this method is supposed to do as it is not documented in the API-docs and neither could I find anything in Google or on hibernate.org.
Can anyone please help and give me a hint what this method should do?

kind regards,

Messi


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.