org.jooq.exception.NoDataFoundException: Exactly one row expected for refresh. Record does not exist in database.

Google Groups | Volodymyr Mudryk | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Got "ID = NULL" when did "record.store()"

    Google Groups | 6 months ago | Volodymyr Mudryk
    org.jooq.exception.NoDataFoundException: Exactly one row expected for refresh. Record does not exist in database.

    1 unregistered visitors

    Root Cause Analysis

    1. org.jooq.exception.NoDataFoundException

      Exactly one row expected for refresh. Record does not exist in database.

      at org.jooq.impl.UpdatableRecordImpl.refresh()
    2. jOOQ
      UpdatableRecordImpl.store
      1. org.jooq.impl.UpdatableRecordImpl.refresh(UpdatableRecordImpl.java:342)
      2. org.jooq.impl.TableRecordImpl.getReturningIfNeeded(TableRecordImpl.java:218)
      3. org.jooq.impl.TableRecordImpl.storeInsert0(TableRecordImpl.java:194)
      4. org.jooq.impl.TableRecordImpl$1.operate(TableRecordImpl.java:155)
      5. org.jooq.impl.RecordDelegate.operate(RecordDelegate.java:128)
      6. org.jooq.impl.TableRecordImpl.storeInsert(TableRecordImpl.java:151)
      7. org.jooq.impl.UpdatableRecordImpl.store0(UpdatableRecordImpl.java:195)
      8. org.jooq.impl.UpdatableRecordImpl.access$000(UpdatableRecordImpl.java:85)
      9. org.jooq.impl.UpdatableRecordImpl$1.operate(UpdatableRecordImpl.java:135)
      10. org.jooq.impl.RecordDelegate.operate(RecordDelegate.java:128)
      11. org.jooq.impl.UpdatableRecordImpl.store(UpdatableRecordImpl.java:131)
      12. org.jooq.impl.UpdatableRecordImpl.store(UpdatableRecordImpl.java:123)
      12 frames