Talk to Your Data: Natural Language Data Access in Java with Hibernate, Quarkus, and LangChain4j
Explore how Hibernate ORM, Quarkus, and LangChain4j come together to enable natural language interactions with relational data in your Java application. Leveraging Hibernate’s deep understanding of your domain model and data access layer, new tools now bridge the gap between structured information and LLMs, allowing users and agents to query and explore data using plain language.
We'll demonstrate with a live demo of a Quarkus application how to interact in natural language with your existing Hibernate data model, showing both how to manipulate data and how to use them to implement a simple but effective RAG pattern. This style of data interaction can leverage Hibernate’s type-safe mappings, semantic-rich HQL, and fail-fast validation, making data manipulation more effective and reducing hallucinations.
Finally, we will also demonstrate how to easily expose this tool as an MCP server through Quarkus, allowing it to be conveniently consumed by other external agents.