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 protected]>
>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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to