1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.oness.party.model.contact.dao;
17
18 import java.io.Serializable;
19
20 import net.sf.oness.common.model.dao.hibernate.HibernateDaoSupport;
21 import net.sf.oness.party.model.contact.bo.Country;
22
23 /***
24 * Dao for Country objects
25 *
26 * @author Carlos Sanchez
27 * @version $Revision: 1.3 $
28 */
29 public class CountryDao extends HibernateDaoSupport {
30
31 private static final Class clazz = Country.class;
32
33 public Country findById(Serializable id) {
34 return (Country) super.loadAndClone(clazz, id);
35 }
36
37 }