From 779dcc4078ecb554e271f4b12b8d2e584a8a0a71 Mon Sep 17 00:00:00 2001 From: Vlad Mihalcea Date: Mon, 20 Nov 2017 19:21:09 +0200 Subject: [PATCH] Change log file to log.txt because otherwise it's ingored by git --- .../collection-immutability-update-example.log.txt | 7 +++++++ .../asciidoc/userguide/chapters/domain/immutability.adoc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 documentation/src/main/asciidoc/userguide/chapters/domain/extras/immutability/collection-immutability-update-example.log.txt diff --git a/documentation/src/main/asciidoc/userguide/chapters/domain/extras/immutability/collection-immutability-update-example.log.txt b/documentation/src/main/asciidoc/userguide/chapters/domain/extras/immutability/collection-immutability-update-example.log.txt new file mode 100644 index 0000000000..158469b179 --- /dev/null +++ b/documentation/src/main/asciidoc/userguide/chapters/domain/extras/immutability/collection-immutability-update-example.log.txt @@ -0,0 +1,7 @@ +javax.persistence.RollbackException: Error while committing the transaction + +Caused by: javax.persistence.PersistenceException: org.hibernate.HibernateException: + +Caused by: org.hibernate.HibernateException: changed an immutable collection instance: [ + org.hibernate.userguide.immutability.CollectionImmutabilityTest$Batch.events#1 +] \ No newline at end of file diff --git a/documentation/src/main/asciidoc/userguide/chapters/domain/immutability.adoc b/documentation/src/main/asciidoc/userguide/chapters/domain/immutability.adoc index 433d0d1b2c..a22c8ab10e 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/domain/immutability.adoc +++ b/documentation/src/main/asciidoc/userguide/chapters/domain/immutability.adoc @@ -101,7 +101,7 @@ include::{sourcedir}/CollectionImmutabilityTest.java[tags=collection-immutabilit [source, bash, indent=0] ---- -include::{extrasdir}/collection-immutability-update-example.log[] +include::{extrasdir}/collection-immutability-update-example.log.txt[] ---- ====