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