Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
I am using JPA with hibernate and mysql. When the entities are generated using the JPA wizard, shouldn’t the following annotation set for entities that has auto-incremented primary key?
@Id
@GeneratedValue(strategy=AUTO)
Is there any way to set this during auto generation???
We do auto-detect that for a few select databases right now (MySQL and H2) but for the other databases you need to set it manually for now. We will enhance the auto-detection over time; sorry for the trouble.