- 博客(9)
- 收藏
- 关注
原创 Spring面向切面
[size=medium]Aspect Oriented Programming Overview Most of the enterprise applications have some common crosscutting concerns that is applicable for different types of Objects and modules. Some of t...
2015-02-02 15:12:42
132
原创 快速排序&冒泡排序
[code="java"]package algorithm.sort; public class QuickSort { public static void main(String[] args) { int[] x = { 9, 2, 4, 7, 3, 7, 10 }; printArray(x); int low = 0; int high ...
2015-02-02 11:28:23
101
原创 Spring interview questions
[b]How would you relate Spring MVC Framework to MVC architecture? [/b] As the name suggests Spring MVC is built on top of Model-View-Controller architecture. DispatcherServlet is the Front Control...
2015-01-21 17:00:56
135
原创 Download document
[code="html"]'+docuAr[i].displayName+'[/code] [code="java"] @RequestMapping(value="/downloadAnnoAttachDocument", method = RequestMethod.GET) public @ResponseBody ModelAndView downloadAnnoAttach...
2015-01-05 11:01:16
300
原创 Ajax+JSON 从后台传值到前台
Jquery 代码: [code="js"]$(".info-box.announcement>ul>li>a").click(attachTitlePopupBehaviour); }); function attachTitlePopupBehaviour(){ var idAr = $(this).attr('id').split("_"); var annoId ...
2014-12-30 14:03:16
714
原创 Spring 前台传参数到backend
Spring form in JSP: [code="html"] [/code] jQuery 代码: [code="js"]function navigateGeneratedReports(reportParentFolderId){ $("#reportParentFolderId").remove(); $("#command").attr("actio...
2014-12-23 14:11:23
118
原创 call PL/SQL procedure in hibernate
[code="java"]/*GetStocks(stockcode VARCHAR2(20)) is procedure name created by PL/SQL*/ //1.Native SQL – createSQLQuery //You can use createSQLQuery() to call a store procedure directly. Query...
2014-12-22 00:34:29
144
原创 Hibernate save image to database
//To save an image into database, you need to define a table column as blob data type in database, //or equivalent binary type in others database. //In Hibernate side, you can declare a byte array...
2014-12-22 00:05:24
115
原创 Hibernate 缓存机制
由于Hibernate的二级缓存是作用在SessionFactory范围内的,因而它比一级缓存的范围更广,可以被所有的Session对象所共享。 14.2.3.1 二级缓存的工作内容 Hibernate的二级缓存同一级缓存一样,也是针对对象ID来进行缓存。所以说,二级缓存的作用范围是针对根据ID获得对象的查询。 二级缓存的工作可以概括为以下几个部分: ● 在执行各种条件查...
2014-12-21 23:57:17
148
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人