My java class :
Code:
@Entity
public class DeploymentDescriptor implements Serializable {
@Id
@GeneratedValue
private long id;
@NaturalId
private String key ;
//+getter + setters
}
the trace of the validation
Code:
create table DeploymentDescriptor (
id bigint not null auto_increment,
key varchar(255),
primary key (id),
unique (key)
)
and the result of execution :
Code:
org.hibernate.exception.SQLGrammarException: Table 'config1.deploymentdescriptor' doesn't exist
while all other tables that have a reference to 'deploymentdescriptor' are generated, this table
disappears ...
all other tables in the same package with equivalent definition are ok, some reference this one .... except it is never really created!
baffling...
any suggestion? (edit: oops: using mySQL)