rgansevles wrote:Rogel,
You can use text(36) or media(16) column types with UUID in Servoy.
In case of text, the dashes are also in the data, it is just the string representation of the UUID.
Rob
Note that you have to set the UUID flag on the column in the table editor.
rgansevles wrote:Rogel,
We use the standard java UUID generator which generates type 4: http://en.wikipedia.org/wiki/Universall ... identifier
The UUID flag has to be set on all columns that contain UUID, so also fk.
Rob
rgansevles wrote:Rogel,
I don't understand what you are trying to do.
You had a pk int-servoyseq and you replaced that with text-uuidgenerator?
In that case loadRecords(uuid) should work.
Obviously, you cannot retrieve the records by old pk since (i guess) all numeric pks are replaced with a uuid value.
If other systems put data with uuids in your system, that should be fine, same as for any other key type.
Rob
website
id="37F3CB42-26FC-4CE3-935F-3E804044B719"
value="www.yahoo.com"
id="1" <-- existing record before changing int-servoyseq to text-uuidgenerator
value="www.google.com"
loadRecord(application.getUUID("1"))
Users browsing this forum: No registered users and 27 guests