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.  [ 2 posts ] 
Author Message
 Post subject: Query with setters and not attribute names exposed?
PostPosted: Wed Feb 07, 2007 4:45 am 
Newbie

Joined: Wed Feb 07, 2007 4:34 am
Posts: 8
Hi All,

I need to expose an interface which has an api named
Query(String hqlQuery);

--> hqlQuery takes a HQL string, but the challenge here is that,
this HQL query should not have attribute names, for eg;

hqlQuery => "from Datamodel.class.getName() as dm where
dm.name = "manager".

attribute "dm.name" is exposed to the ui which i do not want to go with.
Since ui has setter methods,

Can I build a query with setters in it, or is there another way out.
Any suggestions are also welcomed in the approach.

Thanks,
Lakshmi


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 08, 2007 12:26 am 
Newbie

Joined: Wed Feb 07, 2007 4:34 am
Posts: 8
Hi All,

Is there no way to it?

Thanks,
Lakshmi


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 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.