开发者

Java library for reading database schema

开发者 https://www.devze.com 2023-01-04 12:36 出处:网络
I\'m looking for a lightweight, open source, more or less cro开发者_StackOverflow中文版ss-database Java library that would allow me to read off metainformation on columns, tables and integrity constra

I'm looking for a lightweight, open source, more or less cro开发者_StackOverflow中文版ss-database Java library that would allow me to read off metainformation on columns, tables and integrity constraints given a DataSource.


Depends what you want to do afterwards of course, but if you just want to visualise an existing datatbase, I recommend SchemaSpy.

Of course, JDBC already lets you read metainformation, using Connection.getMetaData(). This gives you a DatabaseMetaData instance.


I have found an answer to my question, Apache DDLUtils. My question was really a duplicate of this one.

0

精彩评论

暂无评论...
验证码 换一张
取 消