Skip to content

Conversation

zaleslaw
Copy link
Collaborator

@zaleslaw zaleslaw commented Aug 6, 2025

This commit introduces a new example demonstrating the integration of Kotlin DataFrame with Hibernate ORM and H2 in-memory database. It includes setup for Hibernate, entity mappings, and analytical operations using DataFrame. Dependencies and configuration for Hibernate and H2 are updated accordingly.

Closes #1363

This commit introduces a new example demonstrating the integration of Kotlin DataFrame with Hibernate ORM and H2 in-memory database. It includes setup for Hibernate, entity mappings, and analytical operations using DataFrame. Dependencies and configuration for Hibernate and H2 are updated accordingly.
@zaleslaw zaleslaw requested review from Copilot and Jolanrensen August 6, 2025 15:31
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a comprehensive Hibernate ORM example to the idea-examples project, demonstrating how to use Kotlin DataFrame with Hibernate and H2 in-memory database. The example mirrors the existing Exposed example to showcase different ORM approaches with DataFrame integration.

  • Adds Hibernate ORM integration with H2 in-memory database support
  • Implements entity mappings for Customers, Artists, and Albums tables
  • Demonstrates both Hibernate Criteria API and DataFrame analytical approaches

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
gradle/libs.versions.toml Adds Hibernate and HikariCP dependency versions and library definitions
hibernate.cfg.xml Configures Hibernate with H2 in-memory database and entity mappings
main.kt Main example implementation showing data loading, analysis, and persistence
entities.kt JPA entity classes and DataFrame schema definitions
build.gradle.kts Adds Hibernate, H2, and HikariCP dependencies to the project

@zaleslaw zaleslaw merged commit a24e5a5 into master Aug 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a Hibernate example to the Unsupported Data Sources Example folder
2 participants