原创 sql server 2005 分離後 附加不上原因
問題:在一個機器的SQL Server 2005數據庫在移動硬盤分離後在另外一個機器附加不上 原因:在數據庫分離前看數據庫文件右鍵屬性如下圖 數據庫分離後看文件屬性如下 當數據庫還在移動硬盤,在另外一個機器附加不上。 複製數據庫也不讓
原创 svn 配置流程
1. 解壓svn-win32-1.4.2.zip 到c盤目錄爲C:\svn-win32-1.4.2 2. cd 到C:\svn-win32-1.4.2\bin 目錄 用如下命令創建庫 svnadmin create D:/svn_rep
原创 寬帶連不上網原因及解決辦法
一、電腦問題。 用命令ping在cmd測試,用360等工具修復或重裝系統。 二、局域網路由器,網線問題。 寬帶一般會給個用戶名和密碼,寬帶上網需要撥號,撥號可以用電腦撥號或在離貓最近的路由器設置用戶名或密碼
原创 ext direct spring Model Generator and Generator APT
ModelGenerator自1.2.1版本後支持 ExtDirectSpring包含一個簡單代碼生成器,根據java類生成對應的JavaScript Model對象代碼。生成器可以生成Ext JS 4.x和Sencha Touch 2.
原创 linux mysql可以terminal登錄,3306端口未打開原因記錄
linux suse11在terminal可以正常登錄進行各種操作,在tomcat運行jdbc web程序異常: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Commu
原创 ext direct spring Store Read Method
Server ExtDirectSpring支持不同種類從DirectStore讀請求。支持過濾,排序和/或分頁,而且並不需要一個請求具有所有這些功能要求。 處理來自DirectStore一個簡單的讀請求的方法看起來像這樣 @Ext
原创 hibernate Disabling contextual LOB creation as connection was null
用hibernate訪問sybase時遇見的異常。 Could not obtain connection metadata : ASE is now using a multi-byte character set, and
原创 apache tomcat 7 zip 解壓縮版 windows 服務添加
apache-tomcat-7.0.47-windows-x64.zip或apache-tomcat-7.0.47-windows-x86.zip 解壓縮版 windows 服務添加 要想解壓所版apache安裝爲windows服務需要下
原创 數值計算 修約規則
沒有修約 四捨五入 四捨六入 0.5修約 0.2修約 進位修約 不進位修約 如果有修約 修約間隔 有效位數 保留位數 0.5修約 又稱半個單位修約 指修約間隔爲指定數位的0.5單位,即修約到指定數位的0.5單位。 例如,將60.2
原创 ext direct spring Store Modify Method
Server Create/Update 負責處理從DirectStore發出的創建,更新和銷燬請求的方法添加註解@ExtDirectMethod(value = ExtDirectMethodType.STORE_MODIFY)。
原创 Extjs 4 nested grid or sub grid demo
Extjs 4 nest grid or sub grid demo grid的嵌套用到插件rowexpander,ext4.2.2.1144版本官方有這個插件。 實現重點 一:nest grid不能響應很多事件,否則會發生異常進入
原创 Ext js 4 slider always show tip demo
Ext js 4 slider always show tip demo Ext.define('AlwaysVisibleTip', { extend: 'Ext.slider.Tip', init: function
原创 maven jetty 熱部署 Files are locked on Windows and can't be replaced
在windows操作系統用jetty maven plugin運行jetty:run命令,修改靜態html等資源後不能保存,出現文件被鎖問題。 原因:maven jetty plugin 的默認webdefault.xml中的defaul
原创 eclipse maven SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder
現象:運行eclipse maven build,console 有紅色日誌如下: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defau
原创 Ext js lock grid reconfig demo
Ext js lock grid reconfig demo grid在調用reconfigure函數時有時lock列不能正確顯示。在版本Extjs 4.2.2.1144 grid 初始時增加屬性enableLocking : true即