Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Appeon Mobile (SQLite): DW does not retrieve identities values after inserts

$
0
0

Hi All,

 

Appeon 2015 Build 0366

Local SQLite database

 

I have a DW with a column defined as "Identity column" in the DW Painter. The column is defined in the SQLite DB as "INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT". When I insert new rows in the DW and update, the identity column does not retrieve the new id and their value is set to 0. If I retrieve the data again, the new identity value is saved correctly in the DB, and the DW shows the correct value.

 

I think I can use "select last_insert_rowid();" after insert, but is there another option?

 

Thanks!


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>