If I already have an existing Oracle sequence, and need to create the XSD to ref

If I already have an existing Oracle sequence, and need to create the XSD to reflect that .. what is the correct syntax to use for @SequenceGenerator and @GeneratedValue? I tried different combination and it still wasn't finding my sequence, I had to create from what the DDL was asking (ORGANIZATION_SQ), since this was a test it is not so bad, but down the road if I need to connect to one that already exist.

<xsd:annotation>
<xsd:appinfo source="appian.jpa">
@Id
@Column(name="ORG_ID")
@SequenceGenerator(name="ORGANIZATION_SEQUENCE", initialValue=196)
@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="ORGANIZATION_SEQUENCE")
</xsd:appinfo>
</xsd:annotation>

OriginalPostID-149734

OriginalPostID-149734

  Discussion posts and replies are publicly visible