Brian Cochran
2002-10-14 21:32:01 UTC
One more thing,
If you call ejbCreate with a Data Object shouldn't we override the primary
key with a generated key. Its slightly different from the other
#sequenceBlock() because you would be doing a
dataObject.setSomeGeneratedId(generatedValue) instead of just calling
setSomeGeneratedId(generatedValue) on the entity bean itself. Still this
seems like the correct behavior. Tell me what you think.
Brian
If you call ejbCreate with a Data Object shouldn't we override the primary
key with a generated key. Its slightly different from the other
#sequenceBlock() because you would be doing a
dataObject.setSomeGeneratedId(generatedValue) instead of just calling
setSomeGeneratedId(generatedValue) on the entity bean itself. Still this
seems like the correct behavior. Tell me what you think.
Brian