Using Hibernate Tools, I am generating Java objects based on Oracle database schema.
Primary key columns are named TABLENAME_ID, and sequence is named TABLENAME_SQK. But the generator does not detect the sequence and so manual mapping of primary key column to sequence is needed.
Does there exist a naming convention which would do the mapping automatically, or should I provide a custom reveng.strategy class?
Additional information: the table is configured as follows - sequence is not explicitly mapped to avoid triggers being generated: