« Return to Thread: Mapping Question - Key Order & Database Type

Mapping Question - Key Order & Database Type

by RogerV :: Rate this Message:

| View in Thread

Hi

When generating a Primary Key from an Enity definition that contains an @EmbeddedId class, how does EclipseLink decide which order to define the key fields in the database - it's not definition order? Can I control the order so that I can make the primary key efficient?

When generating tables for MySQL is there additional config that I can use to define the table type, it apears to be defaulting to MyISAM and I need InnoDB

Regards

 « Return to Thread: Mapping Question - Key Order & Database Type