abel533 / dbmetadata Goto Github PK
View Code? Open in Web Editor NEWDBMetadata数据库元数据
License: MIT License
DBMetadata数据库元数据
License: MIT License
你好。如题,在idea中能正常使用,但打包后就报错,是否有遇过?如何解决?
请问一下,如何获取索引信息?列属性IntrospectedColumn中有isPk()方法,我需要知道当前列是不是索引。
如果列中没有这个方法,获取全部索引的方法是哪个啊?我在您的查询工具中看到有把全部的索引信息查询出来的方法,但我简单看了下API没有找到。
com.github.abel533.database.introspector.DatabaseIntrospector
第331行,原先的columnNamePattern的值是null,但是执行的时候,会抛出该值不可为null的的异常。
我是修改为"%"了,执行正常
感谢作者的分享。建议增加获取视图、存储过程、function、索引之类。
不知现在是否支持?
您好,我在基于springMVC,druid数据源构建的项目中使用了此jar包
但是无法获取表名备注和字段备注,经查询资料发现需指定两个参数
useInformationSchema=true
remarks=true
但druid数据源配置中无法配置这两个参数,所以我是在url中添加的,已解决问题
向您反馈,希望能作出优化或在README中说明
最后, 感谢您的无私奉献
如题,检查了一下,发现是如题,检查了一下,发现是com.github.abel533.controller.LoginController 中 第 48 行:
loginFrame.getLoginPanel().getJdbcName().setModel(new DefaultComboBoxModel<Dialect>(dialects.toArray(new Dialect[]{})));
作者应该是想使用 dialects.toArray(new Dialect[]{}) 生成一个 Dialect 枚举的数组,但是 dialects.toArray(new Dialect[]{}) 方法执行结果是 null 。
我的修改:
注释 com.github.abel533.controller.LoginController 中 第 48 行
修改 com.github.abel533.view.panel.LoginPanel 中 38 行:
jdbcName = new JComboBox<Dialect>();
//修改为:
jdbcName = new JComboBox<Dialect>(Dialect.values());
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.