Hibernate version: 2.1
Name and version of the database you are using: HSQLDB 1.7.2
I need to map the following db model (USING table per class). I've got a table, statistics. Now there is a 1:1 relation between this table and 50 different types of statistics. I need some help generate the hibernate mapping-files for these relations.
EX:
create table statistic
( stat_id integer primary key
, stat_type integer not null
);
create table statistic1
( stat_id references statistic primary key
, ... -- other cols
);
<br>
create table statistic50
( stat_id references statistic primary key
, ... -- other cols
);
regards
Martin
|