Re: migrations and return values
Re: migrations and return values
- Subject: Re: migrations and return values
- From: Mike Schrag <email@hidden>
- Date: Sun, 15 Feb 2009 10:36:27 -0500
just do fetchRowSet and ignore the result ...
On Feb 15, 2009, at 9:48 AM, Theodore Petrosky wrote:
Thanks, Mike...
but i don't understand what to do with the return value. This
signature is looking for a IResultSetDelegate. I assumed I could
just set it to null like this:
ERXJDBCUtilities.executeQuery(database.adaptorChannel(), "SELECT
setval('t_plum_job_seq', 1000)", null);
but that doesn't work...
I have been googling to see if I could find an example of handling
the result set but I am not having much luck.
Ted
Date: Sat, 14 Feb 2009 09:48:00 -0500From: Mike Schrag >email@hidden
>
Subject: Re: migrations and return values
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)");
executeQuery
ms
_______________________________________________
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