[Tools]SchemaSpy 教學
SchemaSpy 是一套將 DB Schema 圖形化的工具,通常是用做逆向工程使用。
官方網頁
目前的版本出到 5.0.0
不過在用上因為是 command line 的形式,所以有點難上手,但是有熱心的網友提供圖形化(GUI)的操作介面,將一些複雜的步驟簡化了。
SchemaSpyGUI
有一個 Stored Procedure 為 SP_COUNT_WHICH 其輸入參數有字串及陣列,下面的範例就是可以讓使用者將陣列資料利用 Java Code 傳入到該 Stored Procedure。
(溫故知新) SpringMVC 簡易練習(查找資料) easy 1
原始碼下載:https://goo.gl/7fEXBV
【開發環境】
Tomcat 7
MySQL
【開發工具】
Intellij IDEA 14
在使用 IDEA 的過程中,可能會出現諸如:
Error:java: javacTask: source release 1.6 requires target release 1.6
Error:java: javacTask: source release 1.X requires target release 1.X
等錯誤,表示您目標輸出的版本不符合,若您使用的是 Maven 來管理方案,可以使用指定 compiler 的方式來解決
如在 pom.xml 中加上:
<build>
<finalName>TestSpringMVC_013</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
其他參考解決方式:
IntelliJ IDEA Tip: source release 1.6 requires target release 1.6
IDEA: javac: source release 1.7 requires target release 1.7