GitHub user stariy95 opened a pull request: https://github.com/apache/cayenne/pull/167
CAY-2177 Sync auto generated state of PK between model and DB Status of databases that support auto generated keys - [x] tested on: DB2, MySQL, Postgres, H2, Derby and SQLServer - [ ] not tested on: sqlite Additional changes: - new version for derby dependency - turn on support for auto-generated columns in HSQLDB You can merge this pull request into a Git repository by running: $ git pull https://github.com/stariy95/cayenne CAY-2177 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cayenne/pull/167.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #167 ---- commit d6d4251647bbafe202ebbda5b2d7c8fa19311ec2 Author: Nikita Timofeev <stari...@gmail.com> Date: 2016-12-21T15:44:35Z CAY-2177 Sync auto generated state of PK between model and DB Status of databases that support auto generated keys feature - tested on: DB2, MySQL, Postgres, H2, Derby - not tested on: sqlite and SQLServer Additional changes: - new version for derby dependency - turn on support for auto-generated columns in HSQLDB commit 2c8ac51df36846b3806dc5cd7fe7bb4046fcdf32 Author: stariy <stari...@gmail.com> Date: 2016-12-21T17:54:36Z Apache Derby 10.13.x.x dropped support of Java 6 & 7 so use 10.12.x.x version. commit 89d37a51c2684070967d1fb22a68776e65cebf34 Author: Nikita Timofeev <stari...@gmail.com> Date: 2016-12-22T07:53:27Z RELEASE-NOTES ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---