• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: migrations and return values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: migrations and return values (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: migrations and return values
  • Next by Date: just funny :-)
  • Previous by thread: Re: migrations and return values
  • Next by thread: Migration failed creating a Doble.
  • Index(es):
    • Date
    • Thread