原创 springIOC
This part of the reference documenttation covers all of those technologies that are absolutely integral to the Spring F
原创 Spring Cache
Cache Abstraction 35.1Instroduction Since version 3.1 Spring Framework provides support for transparently adding cachin
原创 mybatis動態sql
MyBatis採用功能強大的基於OGNL的表達式來消除其他元素 if choose(when,otherwise) trim(where,set) foreach if 動態sql通常要做的事情是有條件的包含where子句的一部分
原创 mybatis cache
MyBatis 有一個功能非常強大的事物緩存優勢,並且它是高度可配置,可定製的。 默認情況下,可以使用本地session緩存來緩存數據。爲了可以使用一個全局的二級緩存你只需要在你的的映射文件中添加 <cache/> 使用了緩存就會產生這
原创 mybatis
每個基於MyBatis的應用都是以一個SqlSessionFactory的實例爲中心的。SqlSessionFactory的實例可以通過SqlSessionFactoryBuilder獲得。SqlSessionFactoryBuilder
原创 java Format
Format是一個用於格式化的抽象類。 Format用於將你的輸入格式化爲String,和將String解析爲Object; 子類化 java平臺爲格式化日期,消息和數字分別提供了三個特殊的Format的子類:DateFormat,M