@GetMapping("/ui_events")
    public Collection<UIEvent> lastUIEvents() {
        return uiEvents.findAll();
    }
Class demonstrates usage of ClickHouse JDBC driver with JPA
examples/demo-service/src/main/java/com/clickhouse/demo_service/JPAInsertController.java