Is there any Simplest way to get Table metadata (column name list) information, in Spring Data JPA ? which could I use on universal database

前端 未结 3 638
我在风中等你
我在风中等你 2020-12-06 03:33

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.

3条回答
  •  既然无缘
    2020-12-06 03:46

    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.

    http://www.schemacrawler.com

提交回复
热议问题