Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. NHibernate.AssertionFailure

NHibernate.AssertionFailure

Scheduled Pinned Locked Moved C#
databasehelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KrIstOfK
    wrote on last edited by
    #1

    NHibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs)
    at NHibernate.Impl.SessionImpl.CheckId(Object obj, IClassPersister persister, Object id)
    at NHibernate.Impl.SessionImpl.FlushEntity(Object obj, EntityEntry entry)
    at NHibernate.Impl.SessionImpl.FlushEntities()
    at NHibernate.Impl.SessionImpl.FlushEverything()
    at NHibernate.Impl.SessionImpl.Flush()
    at NHibernate.Transaction.AdoTransaction.Commit()

    I get this error when I'm deleting some items (and sub items) form my database, I'm using NHibernate for my Datalayer. Does anybody knows what's going wrong or where I have to start looking what's causing this error? :confused:

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups