[Mybatis] 使用 Interceptor 紀錄 SQL 語法
相關 lib 版本
springVersion = "4.3.6.RELEASE"
mybatisVersion = "3.4.1"
mybatisSpringVersion = "1.3.0"
postgresqlVersion = "9.4.1212"
2017年3月27日 星期一
2016年10月20日 星期四
[Tomcat]解決 tomcat 無法進入 Server Status / Manager App / Host Manager 的狀況
2016年9月13日 星期二
[JasperReport] JasperReport 報表設計套用 command 模式
[JasperReport] JasperReport 報表設計套用 command 模式
預設報表須輸出 pdf,ods 兩種格式
需要
CommandProcessor interface
Command interface
設定 Processor 可以執行的 command,假設有三種
InputModel 為從前端 controller 所傳遞過來的屬性or資料
public interface CommandProcessor {
String TO_FILE = "toFile";
String TO_STREAM = "toStream";
String TO_BYTE_ARRAY = "toByteArray";
genReportToFile(InputModel inputModel)
genReportToStream(InputModel inputModel)
genReportToByteArray(InputModel inputModel)
}
預設報表須輸出 pdf,ods 兩種格式
需要
CommandProcessor interface
Command interface
設定 Processor 可以執行的 command,假設有三種
InputModel 為從前端 controller 所傳遞過來的屬性or資料
public interface CommandProcessor {
String TO_FILE = "toFile";
String TO_STREAM = "toStream";
String TO_BYTE_ARRAY = "toByteArray";
genReportToFile(InputModel inputModel)
genReportToStream(InputModel inputModel)
genReportToByteArray(InputModel inputModel)
}
標籤:
報表
,
iReport
,
JasperReport
,
Java
2016年9月8日 星期四
[Spring] Annotation @Transactional 的各項 屬性
[Spring] Annotation @Transactional 的各項 屬性
用 spring 事務管理器,由spring來負責資料庫的打開,提交,回滾.
默認遇到運行期例外
(throw new RuntimeException();)會回滾:
用 spring 事務管理器,由spring來負責資料庫的打開,提交,回滾.
默認遇到運行期例外
(throw new RuntimeException();)會回滾:
[Java] Listener 簡易說明
[Java] Listener 簡易說明
相關類別
org.springframework.context.ApplicationEventPublisher
org.springframework.context.ApplicationEventPublisherAware
org.springframework.context.ApplicationEvent
org.springframework.context.ApplicationListener
2016年3月3日 星期四
[JAVA]轉換檔案編碼及內容亂碼轉換
[JAVA]轉換檔案編碼
分享三種方式
使用String 轉換-------
package charset;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
2015年11月20日 星期五
Scrum 課程綱要 2015.11.20(Final)
Scrum 課程綱要 2015.11.20(Final)
Scrum 一種敏捷的開發方式,協助於最短時間,最高商業價值的產出
三角色 Scrum Master / Product Owner / Team Member
三產出 Product backlog / Sprint backlog / Burndown Charts
五個價值 Courage(勇氣) / Openness(開放性) / Commitment(承諾) / Focus(專注) / Respect(尊重)
五個儀式 Ceremonies(儀式) :
.Sprint(衝刺) .Sprint Planning Metting .Daily Scrum .Sprint Review .Sprint Retrospective
Planning Pocker 時間估算工具
Scrum 一種敏捷的開發方式,協助於最短時間,最高商業價值的產出
三角色 Scrum Master / Product Owner / Team Member
三產出 Product backlog / Sprint backlog / Burndown Charts
五個價值 Courage(勇氣) / Openness(開放性) / Commitment(承諾) / Focus(專注) / Respect(尊重)
五個儀式 Ceremonies(儀式) :
.Sprint(衝刺) .Sprint Planning Metting .Daily Scrum .Sprint Review .Sprint Retrospective
Planning Pocker 時間估算工具
2015年11月9日 星期一
Scrum 課程綱要 2015.11.09
Scrum 課程綱要 2015.11.09
Time Box
釐清需求
Team
PO 插手團隊???
概念性驗證(Proof of Concept;POC) 重要!!!
訂閱:
文章
(
Atom
)