databasir
databasir copied to clipboard
数据库文档管理中心
搜遍全文没找到 /root/app/databasir/init.sql 这个文件,最后还是自己摸索用 create database databasir;来解决的。
项目1000张表 添加useInformationSchema =true字段,开始以为同步卡死了,结果最终同步成功了,同步任务时间会很长。 
建议是 分组->项目->版本->数据库 目前的版本是项目和一个数据源绑定,版本是指的与数据库同步的版本,版本号是时间。 实际开发时文档是按版本基线固化的。数据库的差异比对也是当前版本与前一次发布版本的对比意义更大。 项目和数据库最好拆成两个层级,同一个项目连接多个数据源,甚至多个不同类型的数据源也不少见。 或者可以用另一个办法,用一个可以自定义无限层级目录,就不用区分组和项目了,然后在某一级目录下定义一个或多个数据源
希望大佬可以看到底层的声音~
Exception in thread "projectSyncTaskThreadPoolTaskExecutor-9" java.lang.IllegalStateException: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK at com.databasir.core.meta.repository.impl.jdbc.JdbcDatabaseMetaRepository.select(JdbcDatabaseMetaRepository.java:60) at com.databasir.core.Databasir.get(Databasir.java:30) at com.databasir.core.domain.document.service.DocumentService.retrieveDatabaseMeta(DocumentService.java:144) at com.databasir.core.domain.document.service.DocumentService.syncByProjectId(DocumentService.java:94) at com.databasir.core.domain.document.service.DocumentService$$FastClassBySpringCGLIB$$122722d1.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)...

目前在数据库同步后,UML手动修改后好像无法保存?是否考虑加入保存UML的功能