@PostMapping("/ui_events")
    @Transactional(Transactional.TxType.NOT_SUPPORTED)
    public void addUIEvent(@RequestBody UIEvent event) {
        // do input validation and conversion
        transactionTemplate.executeWithoutResult(transactionStatus -> {
            entityManager.persist(event);
        });
    }
Class demonstrates usage of ClickHouse JDBC driver with JPA
examples/demo-service/src/main/java/com/clickhouse/demo_service/JPAInsertController.java