In order to generate the next SQL code:
create table users ( user_name varchar(15) not null primary key, user_pass varchar(15) not null); create table
Sergio, look at this composite key mapping in hibernate tutorial. Might help you out.