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

Failed Query


  • Subject: Failed Query
  • From: Gino Pacitti via Webobjects-dev <email@hidden>
  • Date: Tue, 14 Jan 2020 12:04:02 +0000

Hi
Anyone had experience of queries that should return an object as the row exists
but EOF throws a NoSuchElementException?

This is some code:


Transaction transactionEo =
QueryDatabase.TransactionForPaymentIntentIdQuery(customCharge.getPayment_intent(),
 _ec);


public static synchronized Transaction
TransactionForPaymentIntentIdQuery(String paymentIntentID, EOEditingContext
_ec) throws NoSuchElementException {


                NSArray<String> args = new NSArray<String>(new String[]{
paymentIntentID  });
                EOQualifier myQual =
EOQualifier.qualifierWithQualifierFormat("purchaseIntentId = %@", args);

                log.info("Qualifier " + myQual);


                return Transaction.fetchRequiredTransaction(_ec, myQual);

        }

 _______________________________________________
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

  • Follow-Ups:
    • RE: Failed Query
      • From: GILQUIN Pierre via Webobjects-dev <email@hidden>
  • Prev by Date: Re: Definitely solved: More SharedEC woes: relationships into SEC not saved with more EOF stacks
  • Next by Date: RE: Failed Query
  • Previous by thread: Re: Definitely solved: More SharedEC woes: relationships into SEC not saved with more EOF stacks
  • Next by thread: RE: Failed Query
  • Index(es):
    • Date
    • Thread