Greetings to the whole community. I have a problem to perform a search on a table. The key of this table are two fields and I am doing the search with hibernate: The model is three tables. REGION, CITY, COMMUNITY. For the CITY table, the key consists of two fields: codigoregion and codigocity. However for the search I have a mess: session.get (City.class, pcodigociudad). Question: How do I associate the pcodigoregion ?. I can not use annotations, nor can I use session.createquery. I need it to be with session.get ( Your help will be greatly appreciated. Larry