What's the best way to force Play/JPA to make entity IDs sequential? (They are not)
One idea is to copy play.db.jpa.Model into my own ModelBase
class and change the generation strategy to GenerationType.IDENTITY
(at least for mysql).
- Is this the best solution?
- Can I even do this (change my model base class) on a production website with existing data? Is this safe?