The sequence of the Entity you have it to give, that is to say, create the sequence in Oracle and later you put it in the description of the EJB, in where the Entity is described to which you want to make reference
Please check this example:
in description
weblogic-cmp-rdbms-jar.xml you must add the code in bold
<weblogic-rdbms-bean>
<ejb-name>CertificatesTariffEjb</ejb-name>
<data-source-name>DSUPGElectronic</data-source-name>
<table-map>
<table-name>CETA</table-name>
<field-map>
<cmp-field>cetaId</cmp-field>
<dbms-column>CETA_ID</dbms-column>
</field-map>
<field-map>
<cmp-field>cetaNumerocertificados</cmp-field>
<dbms-column>CETA_NUMBERCERTIFICATES</dbms-column>
</field-map>
<field-map>
<cmp-field>cetaTarifaminima</cmp-field>
<dbms-column>CETA_PRICESMINIM</dbms-column>
</field-map>
<field-map>
<cmp-field>trmoId</cmp-field>
<dbms-column>SGDT_ID</dbms-column>
</field-map>
</table-map>
<automatic-key-generation>
<generator-type>Oracle</generator-type>
<generator-name>CETA_SEQ</generator-name>
<key-cache-size>1</key-cache-size>
</automatic-key-generation>
</weblogic-rdbms-bean>
Felissa