Re: ERXGenericRecord and UUID's
Re: ERXGenericRecord and UUID's
- Subject: Re: ERXGenericRecord and UUID's
- From: T Worman <email@hidden>
- Date: Mon, 25 Jul 2016 18:25:56 -0700
On Jul 25, 2016, at 6:03 PM, Theodore Petrosky < email@hidden> wrote:
1. The new (and very cool) UUID stuff in ERXGenericRecord is NOT opt-in. :-)
I also don’t understand “is NOT opt-in”. To use this, I have to change the prototype of the id column from id to uuid.
Of course the migration has to be fixed by hand from: personTable.newBlobColumn("id", NOT_NULL); to personTable.newUuidColumn("id", NOT_NULL);
Theodore,
In my case, the new code runs regardless of how my model is set up. It runs anytime the primary keys are not cached and “in transaction” is <true>. With the old behavior nothing happened if “in transaction” was <true> (with the exception of simply returning the cached keys or null if not cached).
The javadoc API hasn’t changed at all. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden