I am in a situation where I want to get all table\'s column list using spring data jpa, my database is flexible so, the query should be work on all kind of database.
SchemaCrawler has a Java API that allows you to work with database metadata in a general way, this is, without caring about the specific database platform.