hello together!

i have a question about the ejb2.0 spec. and the usability of ejb with db-possibilities.

i have the following problem:

my primary-key should be defined by a sequence (oracle specific definition of auto-increment. this feature is the same like auto-increment in mysql)

i don't want set the primary-key with the setter-method of the entity-bean.

the ejb-spec don't allow to call the getPrimaryKey-Method from the create-Method, but the create-method should return a primary-key.

how can i use a primary-key generated by the db?

thanks,
andrej