[hibernate-commits] [hibernate/hibernate-ogm] 2e587c: OGM-1082 Include the exception message in the log ...
    GitHub 
    noreply at github.com
       
    Fri Jun 17 18:50:54 EDT 2016
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: 2e587c6d9bfb1d96b7e3e8d193e706fe21ce90eb
      https://github.com/hibernate/hibernate-ogm/commit/2e587c6d9bfb1d96b7e3e8d193e706fe21ce90eb
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-17 (Fri, 17 Jun 2016)
  Changed paths:
    M core/src/main/java/org/hibernate/ogm/dialect/impl/BatchOperationsDelegator.java
  Log Message:
  -----------
  OGM-1082 Include the exception message in the log when we batch several
entity insertions and we end up with a TupleAlreadyExistsException.
It's not perfect but it's far better than having the following message:
    Trying to insert an already existing entity: null
which is quite misleading.
    
    
More information about the hibernate-commits
mailing list