Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Creiteria Restrictions.sqlRestriction - Object[] values
PostPosted: Fri Apr 27, 2012 7:02 pm 
Newbie

Joined: Wed Mar 16, 2011 6:07 pm
Posts: 9
Hi,

I need to use the restriction - sqlRestriction(...) in a Criteria api.

Code:
public static Criterion sqlRestriction(String sql, Object[] values, Type[] types)


I can't see any example of how to reference the values object in the String sql implemetation of the sql statement. Any suggestion?


Top
 Profile  
 
 Post subject: Re: Creiteria Restrictions.sqlRestriction - Object[] values
PostPosted: Thu May 03, 2012 11:38 am 
Newbie

Joined: Wed Mar 16, 2011 6:07 pm
Posts: 9
This part doesn't appear in the docs. Anybody has used this method?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

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.