Failed Query
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