diff --git a/application/src/main/resources/thingsboard.yml b/application/src/main/resources/thingsboard.yml
index 57d3ebbcf9..72b8159407 100644
--- a/application/src/main/resources/thingsboard.yml
+++ b/application/src/main/resources/thingsboard.yml
@@ -298,6 +298,8 @@ spring.resources.chain:
content:
enabled: "true"
+spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation: "true"
+
# HSQLDB DAO Configuration
spring:
data:
diff --git a/dao/src/test/resources/sql-test.properties b/dao/src/test/resources/sql-test.properties
index 3357425fce..745aa9e1e0 100644
--- a/dao/src/test/resources/sql-test.properties
+++ b/dao/src/test/resources/sql-test.properties
@@ -4,6 +4,7 @@ database.entities.type=sql
sql.ts_inserts_executor_type=fixed
sql.ts_inserts_fixed_thread_pool_size=10
+spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=validate
spring.jpa.database-platform=org.hibernate.dialect.HSQLDialect
diff --git a/pom.xml b/pom.xml
index d3ff7a1635..113a8f223b 100755
--- a/pom.xml
+++ b/pom.xml
@@ -442,6 +442,12 @@
org.springframework.boot
spring-boot-starter-data-jpa
${spring-boot.version}
+
+
+ net.bytebuddy
+ byte-buddy
+
+
org.apache.kafka