albert's blog
2011/12/31
11 Things every Software Developer should be doing in 2012
›
1. Get on Twitter 2. Read StackOverflow Daily 3. Start a Blog 4. Get out there 5. Carry around a modern phone 6. Embrace Mob...
2011/12/30
Preventative medicine for Memory leaks in Java
›
How to avoid memory leaks? To avoid memory leaks, We must check our applications to make sure the below: Our app ought to release...
2011/12/29
Improve Software Quality with Tools and Processes
›
Choose a suitable process model and apply it correctly, ex. agile , scrum , iterative and incremental Control the version of each req...
2011/12/28
善用Oracle提供的function來提升系統效能
›
有關報表的日期欄位,資料庫是儲存成yyyMMDD or yyyMM。 根據現有需求,需formatting成 YYY/MM或者是YYY/MM/DD格式, 因為效能考量,此類的formatting應 在SQL裡頭做 ,不要放到AP level做。 舉個例子來說 ...
2011/12/22
Are You Making These 7 Productivity Mistakes?
›
Mistake #1: Cutting Back on Sleep Mistake #2: Multi-Tasking Mistake #3: Doing Everything Yourself Mistake #4: Focusing Solely on Numbe...
No output specified for the exporter
›
Problem As I would like to export pdf via JasperReports JRExporter, it throw " No output specified for the exporter " exception. ...
How to apply 1000 separator in data field
›
需求 在數字或者是金額等欄位,需要做到千分位隔開,如1000,要顯示1,000 作法 1. 到特定欄位按右鍵,選擇Field Pattern 2. 選擇Number, 將"User 1000 Separator"打勾,再按Apply ...
REPORT_COUNT vs. [group name]_COUNT
›
需求 在產出的報表的每筆資料的第一個column,指定序號 產出結果如下 一般來說,只要將REPORT_COUNT此欄位拉到iReport即可 但是在NIG071此張報表中,若到下一頁,他會把值reset,從1開始 會造成此問題的原因,是因為此報表有用到 ...
Oracle/PLSQL: Case Statement
›
Requirement 到NIGT001與NIGT005,根據前端條件輸入結果產出報表 報表內容包含違章編號、統一編號、議程類別等欄位,其中有幾個欄位是經過if-else判斷是得來的,如作業代號、案況、會次等 AS-IS 現有VB/Cobol在NIG335的作法...
2011/12/20
HashMap vs. LinkHashMap
›
Problem 在報表的開發上,剛好遇到一個問題,我同時要餵資料給兩張iReport template(i.e. P1, P2),然後後端用for loop將裡頭的資料抓出來 ,原本的方式 : 1: Map dataMap = new HashMap (); 2: ...
2011/11/18
2011/11/12-17 京都大阪六日遊
›
耶誕節氣氛漸濃 道頓崛 大阪城 梅田夜景 東福寺楓紅 哲學之道 京都某處楓紅 銀閣寺楓紅 八阪神社 從清水寺遠眺kyoto tower 楓紅配藍天
2011/10/30
Top Ten Idea Killers in Software Development
›
Source: http://www.computer.org/portal/web/buildyourcareer/Nosce-te-Ipsum/-/blogs/top-ten-idea-killers-in-software-development 10. ...
Subversion Best Practices: Repository Structure
›
http://blogs.wandisco.com/2011/10/24/subversion-best-practices-repository-structure/?=kt_tw
2011/10/24
Grouping Data in Reports
›
Report groups are a flexible way to show grouped data based on one or more certain fields, or even on generic expression, that is, a group c...
How to start group data on a new page
›
Problem I had some problems as I built a group by report 1. Each group data should start on a new page. 2. page number should be reset ...
2011/10/13
How to Prevent a SQL Injection Attack
›
Reference: http://www.dzone.com/links/r/how_to_prevent_a_sql_injection_attack.html 1. Patch your SQL server regularly 2. Limit the use...
2011/10/11
How to add record sequence number in JasperReports
›
Requirement I would like to add record sequence number in the first column. How to do it? 1. Open iReport 2. Utilize the build-in vari...
2011/10/10
Be a Better Java Programmer: A Reading List by Binu John
›
Reference: http://www.informit.com/articles/article.aspx?p=1757633
‹
›
Home
View web version