1. 程式人生 > >eclipse和Mysql中的小坑和問題解決

eclipse和Mysql中的小坑和問題解決

1.Eclipse 中一直顯示building。。。。

網上的方法基本都是設定validation 不勾選js驗證。。。但是我得匯入下來的專案還是一直building

開啟專案的所在目錄,你會發現有個

看見

<buildCommand>
            <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
            <arguments>
            </arguments>
        </buildCommand>

把這個刪除就行了。

 

2.Mysql

2.1在設計資料欄位的時候,tinyint的型別0和1 ,會在輸出的時候換成true和false。

 

2.2 在判斷欄位是否為空的時候不能用  object! =null 。 要用 object is null  ; object not null