• 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 inserting data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: migrations and inserting data


  • Subject: Re: migrations and inserting data
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 15 Jul 2008 07:41:45 -0400

Below is my table creation from my migration .java. I used the example from the SooperSeekrit tutorial. my problem is the insert statement at the bottom. After I run the app, I check the postgresql database and there are two entries..
Well, since this is exactly what David was seeing, too, I took a look ... Annnnd it's because that method executes your SQL twice. WTF. Fixing now.

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: 
 >migrations and inserting data (From: email@hidden)

  • Prev by Date: Re: Getting Something into the Boot Classpath
  • Next by Date: Migration errors: unable to reference session and application variables in the wod
  • Previous by thread: migrations and inserting data
  • Next by thread: Getting Something into the Boot Classpath
  • Index(es):
    • Date
    • Thread