wood burning stoves*
The moose likes Object Relational Mapping and the fly likes  retrieve a single value inside  string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark " retrieve a single value inside  string" Watch " retrieve a single value inside  string" New topic
Author

retrieve a single value inside string

madhuchilipi reddy
Greenhorn

Joined: Feb 09, 2007
Posts: 17
i want to retrive single value in string .how to write Hql Query
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

If you want a single property then you just name that property in your HQL:

This will give you an array of Objects which are the values of this property.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: retrieve a single value inside string
 
Similar Threads
String to char.
Struts Errors
Cookies
Incompatible types
problem in string's split method