You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by kaspersorensen <gi...@git.apache.org> on 2017/10/20 23:44:36 UTC

[GitHub] metamodel issue #164: METAMODEL-86: Allow transactional querying in JDBC upd...

Github user kaspersorensen commented on the issue:

    https://github.com/apache/metamodel/pull/164
  
    Update: I found a way to unit test this and a good thing I did too. The approach I had built wasn't really working since the query method I used closed connection. That's fixed now. Furthermore the unit test revealed that such update scripts can easily cause deadlocks at the DB level. These will be rolled back, but the client needs a good way to catch them, which is why I added the `RolledBackUpdateException`. 


---