quick test

This commit is contained in:
Benjamin Gamard 2019-02-07 15:08:17 +01:00
parent e39c83a5a6
commit 94951c59f3

View File

@ -231,11 +231,11 @@ public class DocumentDao {
* @param document Document
*/
public void updateFileId(Document document) {
EntityManager em = ThreadLocalContext.get().getEntityManager();
/*EntityManager em = ThreadLocalContext.get().getEntityManager();
Query query = em.createNativeQuery("update T_DOCUMENT d set d.DOC_IDFILE_C = :fileId where d.DOC_ID_C = :id");
query.setParameter("fileId", document.getFileId());
query.setParameter("id", document.getId());
query.executeUpdate();
query.executeUpdate();*/
}