Page 1 of 1

Auto Increment Fiels not Working

Posted: Sun 03 Jun 2018 02:23
by lfgarrido
Hello!

My scenario is PostgreSQL and SQLite databases, with IDs as auto increment fields.

I use FireDac, when I connect to database IDs are setted to be an AutoInc Field and AutoGenerateValue is set arAutoInc automaticaly, so when insert a record IDs gets -1 value in Cache Update mode.

But I testing UniDac, and the IDs is not recognized as Auto Inc. When I insert a record IDs values gets null.

I tried to set Provider Flags, and AutoGenerateValue but not work.

How can I work with auto inc fields in UniDac.

I wish work with -1... IDs values in cache update mode and Apply/Commit Master Detail with auto inc fields.

Re: Auto Increment Fiels not Working

Posted: Wed 06 Jun 2018 11:10
by MaximG
Currently, the feature you are interested in is absent in our components. You can leave your suggestions at our UserVoice page (https://devart.uservoice.com/forums/104 ... 939-unidac), and if there are many votes for your suggestion, we will implement it.