Hello, like
that this naming problem took some hours to discover. Especially because the HypersonicSQLDB 1.8 works great.
With MySQL 5 and the current 3.1rc1 dialect MySQLInnoDB (didn't test the other dialects, yet) the name of the index column yields a SQL syntax error when creating the turn table:
@Entity
class Turn {
// ...
@OneToMany
@IndexColumn(name = "index")
public List<Action> getActions() {
return actions;
}
}
Is there any source/documentation where I can see the "forbidden" words? Is it possible to include those discovered keywords in the Dialects and throw an exception at runtime when they are used?
Cheers,
Christian