Hibernate: Running hbm2ddl schema export
Hibernate: import file not found: /import.sql
Hibernate: exporting generated schema to database
Hibernate: alter table tb_sailor drop foreign key FK5E6B0C859D82289B
Hibernate: Unsuccessful: alter table tb_sailor drop foreign key FK5E6B0C859D82289B
Hibernate: Table 'one2one.tb_sailor' doesn't exist
Hibernate: alter table tb_ship drop foreign key FKA4FE596DBCB325CB
Hibernate: Unsuccessful: alter table tb_ship drop foreign key FKA4FE596DBCB325CB
Hibernate: Table 'one2one.tb_ship' doesn't exist
Hibernate: drop table if exists tb_sailor
Hibernate: drop table if exists tb_ship
Hibernate: create table tb_sailor (id integer not null auto_increment, name varchar(255), ship_id integer, primary key (id))
Hibernate: create table tb_ship (id integer not null auto_increment, name varchar(255), captain_id integer unique, primary key (id))
Hibernate: alter table tb_sailor add index FK5E6B0C859D82289B (ship_id), add constraint FK5E6B0C859D82289B foreign key (ship_id) references tb_ship (id)
Hibernate: alter table tb_ship add index FKA4FE596DBCB325CB (captain_id), add constraint FKA4FE596DBCB325CB foreign key (captain_id) references tb_sailor (id)
Hibernate: schema export complete