|Apache Tuscany > Home > DAS Overview > DAS Java > DAS Java Documentation Menu > DAS Java Developer Guide > RDB DAS Java > RDB DAS - User Guide > Configurable database generated keys support||User List | Dev List | Issue Tracker|
New boolean attribute in Config - "generatedKeysSupported" (default value=TRUE). User can set true/false for this in Config. If not set in Config, JDB Metadata API check supportsGetGeneratedKeys() is done to detect whether to use auto generated keys during insert.
This gived user flexibility to turn on/off support for database generated keys during INSERT based on the
Note: For Derby, always assumed generatedKeysSupported=TRUE. This is because current Derby API return FALSE for supportsGetGeneratedKeys(), as it is partially implemented, but in DAS context, this support is sufficient.