Grails: Help with HQL query.

Posted by Olexandr on Stack Overflow See other posts from Stack Overflow or by Olexandr
Published on 2010-03-24T11:23:30Z Indexed on 2010/03/24 11:33 UTC
Read the original article Hit count: 287

Filed under:
|
|
|

I'm not very good in SQL and HQL...

I have two domains:

class Hotel {
 String name
}

class Room {
 Hotel hotel
 float price
}

How many hotels have at least one room ?

© Stack Overflow or respective owner

Related posts about hql

Related posts about sql