hibernate导出表以后,数据库中为什么没有多对多关系表?

hibernate中实体表对象我建了多对多关联映射,前几天导出表的时候,数据库里有基本表和多对多关系表,现在重新导出表的时候,数据库中只有基本表而没有多对多关系表,怎么回事啊。。。拜托。。。
hibernate明明都发了建多对多关系表的语句,数据库里怎么没有啊???
create table t_car_sp (carId int not null, spId int not null, primary key (carId, spId))
create table t_dd_sp (ddId int not null, spId int not null, primary key (ddId, spId))
create table t_store_sp (storeId int not null, spId int not null, primary key (storeId, spId))

为什么啊。。。

每个class自己的id
比如 carId你要先在自己的class里设置了 才能mapping



不然many-to-many的时候 你的那个 key column ="carId"从哪里来??
下面的也一样 你都设置成 column = "id"
mapping时候需要找 "ddId"和"storeId"

把Hibernate的配置发出来呗
在car, dd,和store三个class里都
正确set了sp的 many-to-many
应该就是配置上的小毛病