| Author |
Hibernate query question
|
jim li
Ranch Hand
Joined: May 20, 2008
Posts: 177
|
|
class A{
List templist.
}
class B{
String firstName
String lastName
}
web app which allows to to search for firstName in class B, and return all the Class A containing Class B which has this firstName. (the search is 'LIKE' )
how can i write this query ?
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
Your question is not clear. Are you saying the results should be returned as a list?
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
 |
|
|
subject: Hibernate query question
|
|
|