Posted on August 24, 2017 by vladmihalcea
Introduction Lukas Eder has posted a very interesting question on Stack Overflow, asking about a way of getting access to the binding metadata between entity mappings and database tables. While I have previously answered a similar question using this article, I realized that particular use case was much simpler since it only extracted the database metadata. In this article, you are going to see how easily you can get the bridge information between your JPA entities and the underlying database schema.
Posted on May 2, 2017 by vladmihalcea
Introduction One of my readers has recently asked me to answer this StackOverflow question, and because the question is very interesting, I decided to turn the answer into a blog post. In this article, I’m going to show you how you can get access to database table metadata using Hibernate 5 API.