How to change id generator?

Dears,

How can I change the defalut id generator from “native” to “assigned” or others?

ps. I used ORM Wizard from ORM diagram to POJO & hibernate xml

Thanks.
Hayes

Hi Hayes,

Thanks for your post. You can configure the ID generator in the specification of primary key (see below image).

If there is any further inquiry, please do not hesitate to ask.

Best regards,
Lilian Wong
id_generator.png

Hi Lilian,

It seems that I cannot set id generator in ORM Diagram.I have to generate ER Diagram first then configure the ID generator in ER diagram and use ORM Wizard again?

Thanks

Hi Hayes,

Thanks for your reply. It is no need to generate the ERD for changing the id generator as long as you have the entity model on your ORM diagram.

Please refer to the flash movie below of how to configure the id generator:
http://files2.visual-paradigm.com/FlashDemo/id_generator.htm

If there is any further inquiry, please feel free to ask.

Best regards,
Lilian Wong