hello all,
i have two classes,
public class Keystone { private Integer id = null; private String name = null; // here are get/set methods }
public class Login extends Keystone { private String username = null; private String pass = null; // get/set methods }
each class has its own table
table TKeystone ( id integer - primary key, name nvarchar )
table TLogin ( id integer - primary key, foreign key pass nvarchar, username nvarchar )
column id in TLogin is primary key and also foreign key that references id column in TKeystone
i don't know how to write mapping files for these classes, i've read docs on hiberante.org, searched in this forum, searched by google but nothing found
can someone help me, please write here the whole configuration files
_________________ thanks
blaf
|