iBatis : insert return value
1. insert 전에는 추가할 레코드의 기본키가 무엇이 될 지 모르는 경우 selectKey 를 이용해 추가된 레코드의 기본키를 반환 받아 확인한다. iBATIS 2.x 의 insert 메서드는 selectKey 와 함께 쓰일 경우…
Stay hungry, Stay foolish

1. insert 전에는 추가할 레코드의 기본키가 무엇이 될 지 모르는 경우 selectKey 를 이용해 추가된 레코드의 기본키를 반환 받아 확인한다. iBATIS 2.x 의 insert 메서드는 selectKey 와 함께 쓰일 경우…
페이스북과 연동한 웹 개발 방식은 크게 두 종류로 나눌 수 있다. 하나는 기존 웹사이트와 페이스북을 연동하는 페이스북 커넥트 방식의 웹 개발이고, 다른 하나는 페이스북 페이지 안에 사이트를 내장시키는 페이스북 캔버스…
사용법 document.forms[0].userid.style.textAlign=”center”; document.forms[0].userid.style.cursor =”hand”; fontFamily fontStyle fontVariant fontWeight fontSize font color background backgroundColor backgroundImage backgroundRepeat backgroundAttachment backgroundPosition backgroundPositionX backgroundPositionY wordSpacing letterSpacing textDecoration textDecorationNone textDecorationUnderline textDecorationOverline textDecorationLineThrough textDecorationBlink verticalAlign textTransform textAlign…
create table [TBNAME] as select * from [TBNAME]@[DBLINK];
반환값 함수명 파라미터 String abbreviate String str, int maxWidth “…”를 포함한 지정한 사이즈로 문자열을 축소한다 maxWidth은 4보다 커야한다 String abbreviate String str, int offset, int maxWidth “…”를 포함한 지정한…
스코프에는 page, request, response, session, application 등이 존재… getParameter는 리퀘스트 영역에 있는 메소드 그리고 value 값이 스트링 타입. getAttribute는 위의 모든 영역에 공통으로 있는 메소드 이며 오브젝트 타입. -해쉬맵 방식으로써…
javascript에는 trim()이 없다. 아래 프로토타입을 적용시켜봅시다. String.prototype.trim = function() { return this.replace(/(^s*)|(s*$)/gi, “”); } String.prototype.ltrim = function() { return value.replace(/^s+/,””); } String.prototype.rtrim = function() { return value.replace(/s+$/,””); }
There is no READABLE property named ‘XXXX’ class ‘java.lang.String’ 아이바티스를 사용할 때 parameterClass 가 java.lang.String 과 같이 단일 항목일 경우, 다이나믹 조건을 사용할 때 발생할 수 있는 에러 입니다.…
플러그인 주소 : ?http://download.aptana.org/tools/studio/plugin/install/studio Introduction jQuery 공부를 시작하기에 앞서 툴을 세팅합시다.. -_-v Eclipse Galileo + Apatna 를 사용하여 jQuery Code Assist를 사용해 봅시다. http://www.aptana.org Installation Plugin Help –…
1. classpath 상에 파일 불러오기 ( JAR파일 또는 Classes 폴더안 ) //InputStream InputStream is = getClass().getResourceAsStream(“/com/test/key”); //Reader Reader reader = new InputStreamReader(getClass().getResourceAsStream(“/com/test/key”) ); 2. classpath 상에 속성파일 불러오기 #test.properties 파일…