Skip to main content

Posts

Showing posts from October, 2012

MyBatis: Insert multiple rows if doesn’t exist otherwise update the existing rows

The following is only content for XML file in MyBatis <insert id="insertOrUpdateMultipleRecords" parameterType="HashMap">     INSERT INTO table1  ( field1, field2, created )     VALUES     <foreach collection="inputList" item="inputListItem" separator=",">        (#{inputListItem.itemfield1}, #{inputListItem.itemfield2} , NOW())     </foreach>     ON DUPLICATE KEY UPDATE field2 = VALUES(field2)   </insert>

Java开发人员知识点 (转)

1.听说过James Gosling,SUN和Oracle公司。知道网上下载Java的地址,在哪讨论Java。练习过Java在Windows下的安装和配置。知道Java应用系统中常见的几种license和JCP。了解bytecode和Java在不同系统下可以轻松移植的原理。 2.懂得基本的Java编程和行命令格式。了解面向对象的编程思路。 几个基本点:Java基本语法和控制结构,命名和代码风格,结构化,对象封装,继承,抽象,多态,接口,异常处理,堆空间,栈空间,垃圾回收器,static,this,synchronized,annotations,JUnit,JDBC,JSP/servlet Java Core APIs: java.lang,java.util,java.io,java.awt,javax.swing,JFrame ,String,java.sql,JUnit 3.了解Java ME,Java SE,和Java EE的基本区别。知道JVM,JRE,Java SDK,JavaContainer的不同。懂得Java SE6,Java 1.5和Java 1.4的不同,特别是1.4到1.5的改进,包括generics,enum,new loop,variable number of arguments。听说过Oracle JRockit。 4.熟悉一种Java IDE比如Eclipse,NetBeans,JDeveloper,IntelliJ,JBuilder,JCreator。最好版本比较新。懂得如何在程序中查错,熟悉常见的几种Java错误。 5.能用SVN/CVS/GIT进行团队开发。可以编写Javadoc文档。懂得一般的版本管理方法。 6.熟悉JDBC和JSP编写基本的Web数据库应用。懂得基本的SQL编程,JDBC,HTML格式, JavaScript编程和CSS语法。 7.懂得进一步的Java编程比如collections,serialization,streams,networking,multi-threading,reflection,event handling,localization,charset conversion Java Core APIs: java.util,java.text,j

Unstandardized Predicted Value and Standardized Predicted Value

The Unstandardized Predicted Value and the Standardized Predicted Value have a perfect correlation  because they are simple linear transformations of one another.  Illustrattively, the standardized predicted value involves the subtraction of a constant (the mean predicted value) from each predicted value, and division by a constant (the standard deviation of the predicted values). The adjusted predicted value is somewhat more complicated.  This is the predicted value for a case when it is excluded from the computation of the regression coefficients. http://spssx-discussion.1045642.n5.nabble.com/regression-predicted-values-td1069695.html

Coding execises

The following are kinds of coding websites. http://codeforces.com/ http://codingbat.com/ http://projecteuler.net/ http://poincare.matf.bg.ac.rs/~jelenagr/ASP/testHeadHunter.pdf anandtechblog.blogspot.com/ http://tianrunhe.wordpress.com/category/questions-from-careercup/ http://codinggeeks.blogspot.com/ interview question summary https://docs.google.com/file/d/0B2I8CDQfM3NKLVdEWkNxNjVkWjA/edit?+usp=sharing