Skip to content

Commit d6e8158

Browse files
author
uniquejava
committed
DataDictionaryTool 2.0 intial commit
1 parent 4df6536 commit d6e8158

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3320
-0
lines changed

.classpath

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="lib" path="lib/log4j-1.2.14.jar"/>
5+
<classpathentry kind="lib" path="lib/org.eclipse.core.commands_3.6.0.I20110111-0800.jar"/>
6+
<classpathentry kind="lib" path="lib/org.eclipse.core.runtime_3.7.0.v20110110.jar"/>
7+
<classpathentry kind="lib" path="lib/org.eclipse.equinox.common_3.6.0.v20110523.jar"/>
8+
<classpathentry kind="lib" path="lib/org.eclipse.jface_3.7.0.v20110928-1505.jar"/>
9+
<classpathentry kind="lib" path="lib/org.eclipse.jface.text_3.7.2.v20111213-1208.jar"/>
10+
<classpathentry kind="lib" path="lib/org.eclipse.swt_3.7.2.v3740f.jar"/>
11+
<classpathentry kind="lib" path="lib/jacob-1.17.jar"/>
12+
<classpathentry kind="lib" path="lib/x86_64/org.eclipse.swt.win32.win32.x86_64_3.7.2.v3740f.jar"/>
13+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
14+
<classpathentry kind="output" path="bin"/>
15+
</classpath>

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/bin/
2+
/.settings/
3+
/*.log*
4+
/*.html

.project

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>DataDictionaryTool</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
</buildSpec>
14+
<natures>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
16+
</natures>
17+
</projectDescription>

README.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
MySQL/Oracle数据字典生成工具
2+
==================
3+
DataDictionaryTool
4+
5+
基于反编译的代码重写, 升级到jacob1.17以及SWT(Eclipse3.7)
6+
7+
jacob1.18是在JDK1.7下,swt4.7是在JDK1.8下编译的, 为支持JDK1.6,选择了非最新版本.
8+
9+
## 2017年新版使用说明 (支持32/64位)
10+
11+
1. 务必保证机器上安装了JRE1.6及以上版本, 可以到[Oracle官网](http://www.oracle.com/technetwork/java/javase/downloads)去下载, 比如`jre-8u144-windows-x64.exe`,大约60M左右.
12+
2. 务必保证机器上安装了Office Word(2003, 2007, 2013)
13+
3. 点这里下载32位安装文件(适用于windows xp, window7 32位)
14+
4. 点这里下载64位安装文件 (适用于windows7 64位, windows10)
15+
5. 有任何问题请直接在github上提issue或者发邮件至iamcyper@qq.com.
16+
17+
### 操作说明
18+
19+
对于MySQL, 总共三步操作:
20+
一、双击DataDictionaryTool版本号.jar打开图形界面。
21+
二、MySQL->载入sql脚本文件
22+
三、MySQL->生成数据字典
23+
24+
对于Oracle,也是三步操作
25+
一、双击DataDictionaryTool版本号.jar打开图形界面。
26+
二、Oracle->载入sql脚本文件
27+
三、Oracle->生成数据字典
28+
29+
30+
**问:什么时候使用A1,A2?**
31+
32+
如果一张表对应一个文件,请使用MySQL->A1, MySQL->A2(支持同时处理多个文件)
33+
34+
**问:什么时候使用B1,B2?**
35+
36+
如果数据库的所有表结构都在一个文件中,请使用MySQL->B1,MySQL->B2
37+
38+
**问:为什么汉字乱码了?**
39+
40+
那是因为打开SQL脚本文件时使用的编码方式不对。默认是使用的系统编码(一般为GBK)
41+
42+
可以在打开文件前指定一下编码方式,方法是从Load后面的下拉框中换一种编码试试(一般选择留空或UTF-8);
43+
44+
## Developer's Guide
45+
开发环境: Windows7, Eclipse4.7, JDK1.8
46+
47+
1. 为支持JDK1.6请在Eclipse中设置Java Compiler为JDK1.6,
48+
2. 导出单个大JAR文件的方法,以前有个fatjar插件,这个功能已经集成到Eclipse, 直接File > Export Runnable JAR file即可.
49+
3. 如何导出32位版本?将lib/x86_64排除到classpath之外,然后将lib/x86下的jar添加的classpath即可.
50+
4. 如何导出64位版本?反过来。
51+
5. DLL文件跑哪里去了?代码会动态加载dll,不必再指定java.library.path.
52+
53+
## TODO
54+
1. 各版Office及Windows测试。
55+
56+
## 已经测试过的
57+
1. Windows7 x64 + Office2013
58+
2. Windows XP + Office2007
59+
60+
## 2007旧版使用说明 (只支持32位操作系统)
61+
areha001反编译了我的代码, 因10年前我的移动硬盘被盗我自己也没有源代码:(
62+
63+
旧版使用帮助:
64+
https://github.com/areha001/DataDictionaryTool/blob/master/src/help.txt
65+
66+
原作者证明, 这一行代码最后有我的ID: uniquejava
67+
https://github.com/areha001/DataDictionaryTool/blob/master/src/ysb/swt/dialog/LRCompositeWithMenu.java#L17
68+
69+
最后FUCK百度, 百度空间中的所有技术博客(2006-2010)全部丢失。

lib/jacob-1.17.jar

46.6 KB
Binary file not shown.

lib/log4j-1.2.14.jar

359 KB
Binary file not shown.
105 KB
Binary file not shown.
68.9 KB
Binary file not shown.
103 KB
Binary file not shown.
959 KB
Binary file not shown.

0 commit comments

Comments
 (0)