Skip to content

Commit

Permalink
Add "auto-commit" hint.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanpelikan committed Sep 30, 2024
1 parent 766066c commit cd8138f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions spring-boot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,23 @@ If you want a certain version of Zeebe client then you have to replace the trans

*Hint:* This adapter is compatible with the configuration of the regular Zeebe Spring Boot auto-configuration. However, some additional configuration is described in the upcoming sections.

### Restrictions

#### Disable PostgreSQL auto-commit

On using PostgreSQL one might see the error:

```
org.postgresql.util.PSQLException: Large Objects may not be used in auto-commit mode.
```

To avoid this add this `Spring Boot` properties:

```properties
spring.datasource.hikari.auto-commit=false
spring.jpa.properties.hibernate.connection.provider_disables_autocommit=true
```

## Features

### Worker ID
Expand Down

0 comments on commit cd8138f

Please sign in to comment.