Hibernate3.3.2_多对一单向关联
14:27:21,165 INFO org.hibernate.tool.hbm2ddl.SchemaExport:154 - Running hbm2ddl schema export14:27:21,168 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:170 - import file not found: /import.sql14:27:21,168 INFO org.hibernate.tool.hbm2ddl.SchemaExport:179 - exporting generated schema to database14:27:21,323 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:303 - alter table t_user drop foreign key FKCB63CCB6C3D1866914:27:21,332 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:288 - Unsuccessful: alter table t_user drop foreign key FKCB63CCB6C3D1866914:27:21,333 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:289 - Table 'hibernate.t_user' doesn't exist14:27:21,333 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:303 - drop table if exists t_group14:27:21,337 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:303 - drop table if exists t_user14:27:21,340 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:303 - create table t_group ( id integer not null auto_increment, name varchar(255), primary key (id) )14:27:21,479 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:303 - create table t_user ( id integer not null auto_increment, name varchar(255), groupId integer, primary key (id) )14:27:21,589 DEBUG org.hibernate.tool.hbm2ddl.SchemaExport:303 - alter table t_user add index FKCB63CCB6C3D18669 (groupId), add constraint FKCB63CCB6C3D18669 foreign key (groupId) references t_group (id)14:27:21,884 INFO org.hibernate.tool.hbm2ddl.SchemaExport:196 - schema export complete
inverse知识点
http://lijiejava.iteye.com/blog/776587