-->
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: Updater and type.objectToSQLString(value) usage.
PostPosted: Sun Jul 03, 2005 6:18 am 
Newbie

Joined: Sun Jul 03, 2005 6:08 am
Posts: 1
Hi. I am using Hibernate 2.1.8

The net.sf.hibernate.sql.Updater contains the below method:

public Update addColumn(String columnName, Object value, LiteralType type) throws Exception {
return addColumn( columnName, type.objectToSQLString(value) );
}


However i cannot find it being used anywhere. I am wishing to take advantage of the objectToSQLString(Object value) method of the LiteralType but cannot see any way to do it. It appears to be a redundant method?

Does anyone know if this method is not being utilized on purpose?

Thanks.


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.