Is there any way to create single tale using hibernate. I have use hibernate.hbm2ddl.auto
but it impacts to full aplication which I don't want. Table which I want to create is basicaly use to handle list mapping between two objects, so there is no any POJO for this table.
@OneToMany
@JoinTable(name="LIST_TABLE", joinColumns={@JoinColumn(name="EMP_ID")}, inverseJoinColumns={@JoinColumn(name="PHONE_ID")})
Where Employee have more then one Phone numbers.Can I create LIST_TABLE
as Employee
and Phone_number
tables are already there.