Hi guys,
** heavily edited **
When creating a new record for a table in 2020.06 Server, the PK (row id PK, uuid generator) is empty. I have the UUID set in 2020.06 Developer under which it works, as well as earlier 7.4.8. In each case, I'm using postgrestql 9.5. Preferences set to UUID Generator, UUID length 36).
When deployed to the server, it isn't generating the UUID primary key for the new record. Have not located the reason for this yet. This is both on the Dev side (servoy server) and deployed (application) side.
The webstart is pulling in the java Using JRE version 1.8.0_261-b12 Java HotSpot(TM) 64-Bit Server VM. I've installed the same jdk as Developer but it isn't linking to it, no webstart there. Setting the new record's PK to application.getUUID() works however. The UUID Generation for new records identified in the database table editor doesn't seem to function when deployed.
There is a prior posting, but https://forum.servoy.com/viewtopic.php?f=8&t=22433&p=119700&hilit=uuid+generator#p119700 seems related to raw sql.
From 2019.09 release notes: Support for native UUIDs if the database has that support (currently only postgresql and sql server), Table Editor now gives you that option.
A preference is added to the preferences to say what the default should be used for UUIDs, a string of byte column
From 2020.09 release notes: When making new tables with uuid pk columns the default will now be DB Native (UUID) when that is supported (Postgresql and SQLServer), this can be changed in the preferences.
However, these are existing tables, and function as intended from Developer, so cannot export that behavior into the .servoy import file.
And, are there Server-only Servoy distributions? They are mentioned in the Wiki, but I've only located one such installer.
thanks,
--Joe.