is there a way to set values in the database from a migration. I refer to
something like this:
SELECT setval('t_plum_job_seq', 1000)
If I issue a normal
ERXJDBCUtilities.executeUpdate(database.adaptorChannel(), "SELECT
setval('t_plum_job_seq', 1000)");
This generates an error because of the return value.
Is there a way to do this? I am using the sequence to generate 'job numbers'
and I want them to start at 1000. BTW, this is the PK of the table if that
matters.
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]