Open full view…

how to include seqenceGenerator?

Wed, 11 Jan 2017 13:10:26 GMT

I'm working in a project with a postgres DB where the entities use an sequenceGenerator, when I try to generate the code is not loaded and I don't know how to include it, can you help me with it? I need something like: @SequenceGenerator(name="ENTITY_GENERATOR", sequenceName="ENTITY_ID_SEQ") @GeneratedValue(strategy=GenerationType.AUTO, generator="ENTITY_ID_GENERATOR") @Column(unique=true, nullable=false) And is it possible to not show this field in the UI??