일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- tomcat
- PLSQL
- Spring
- node.js
- dock
- MFC
- 가우스
- 선택적조인
- appspresso
- Android
- 전자정부프레임워크
- sencha touch
- jQuery
- MySQL
- ibsheet
- Eclipse
- iBATIS
- GPS
- JDOM
- rowspan
- Google Map
- PHP
- phonegap
- Ajax
- WebLogic
- Struts
- swingx
- oracle
- JSON
- jsr 296
- Today
- Total
목록분류 전체보기 (633)
Where The Streets Have No Name
package filters; import java.io.IOException; import javax.servlet.*; public class SetCharacterEncodingFilter implements Filter { protected String encoding = null; protected FilterConfig filterConfig = null; protected boolean ignore = true; public void init(FilterConfig filterConfig) throws ServletException { this.filterConfig = filterConfig; this.encoding = filterConfig.getInitParameter("encodin..
package explorer에서 원하는 프로젝트를 선택하고 오른쪽 마우스를 클릭한후 properties를 선택한다.
위에서 설정하고자 하는 서버를 선택한다. Web Site에는 값을 입력할필요 없으며 password에는 oc4j를 설치시 설정한 비밀번호를 입력한다. 서버이름을 고치려면 등록된 서버를 더블클릭하면 아래 그림의 부분을 입력후 저장하면됨
C:\oc4j10g\j2ee\home\persistence 의 **.lock파일을 다 지운다
Open launch configuration에서는 저장이 안됨. C:\eclipse3x\plugins\org.eclipse.jst.server.generic.oc4j_1.5.0.v200606130315\servers 에 있는 oracle.10.1.3.serverdef 를 수정해야함 oracle.oc4j.loader.boot.BootStrap ${OC4J_HOME} -Dlaf.config.file=c:\irs_pjt\conf\laf.conf oracle_boot vmParameter항목에 값이 있으면 server를 추가시 값을 지정해서 저장시키며 수정을 불가능함 매번 다른값을 넣기 위해서 oracle.10.1.3.serverdef 를 고치는것은 매우 비효율적임 그래서 서버 추가시 vm arguments,..
web.xml에 다음을 추가한다. xxxx xxxx xxxx /servlet/xxxx
새로운 MODEL 절 Jonathan Gennick 새로운 MODEL 절을 사용하여 스프레드시트 계산을 데이타베이스로 가져옵니다. 계산된 열값을 반환하는 쿼리를 작성 중일 때 이 계산의 입력으로 여러 행의 값이 필요하다면 어떻게 하시겠습니까? 실제로 이 문제는 상당히 흔한 문제입니다. 대개 이 문제의 해결 방법은 자체 결합(self-join)과 하위 쿼리를 이해하기 어려운 방식으로 조합하여 사용하는 것입니다. Oracle Database 10g에서는 새로운 접근 방식을 사용할 수 있습니다. SELECT 문의 새로운 MODEL 절을 사용하여 관계형 데이타를 다차원 배열로 간주할 수 있으며 이 다차원 배열에 스프레드시트 형식의 계산을 사용할 수 있습니다. 이 결과 더 쉽게 쿼리를 개발하고 이해하며 수정할 수..
전화table : phone_num, startdate, enddate, ratetype 요금table : ratetype, startdate, enddate, rate select a.phone_num 전화번호, greatest(a.startdate,b.startdate) startdate, least(a.enddate,b.enddate) enddate, a.ratetype, b.rate from 전화 a, 요금 b where a.ratetype = b.ratetype and b.startdate a.startdate and a.phone_num = '1111111'
http://forums.oracle.com/forums/thread.jspa?messageID=1568737� 1. Edit the j2ee/home/config/application.xml file. 2. Add a new entry of the form below, pointinto the path to the toplevel directory of your web module: This "deploys" the specified web module as an element of the "default" application. 3. Save the file. 4. Edit the j2ee/home/config/default-web-site.xml file 5. Add a new ent..
sumtext={sum(bungiScore1)/sum(decode(bungiScore1,0,0,1))}
1. 적용원리 . 임의의 숫자의 곱을 숫자의 합 형태로 변경한다. - e^(ln X) = X - e^(ln X + ln Y) = e^(ln (X * Y)) = X * Y 2. 샘플 CREATE TABLE test( id number, col1 number); INSERT INTO test VALUES(1, 5); INSERT INTO test VALUES(2, 10); INSERT INTO test VALUES(3, 7); INSERT INTO test VALUES(4, 10); SQL> SELECT id, col1, EXP(m) multiply FROM ( SELECT id, col1, SUM(LN(col1)) OVER (ORDER BY id) m FROM test ); ID COL1 MULTIPLY ..
바인딩 컴포넌트의 param 에는 value 가 아닌 checked 가 들어가야 합니다. 데이타셋의 해당 체크박스의 칼럼값에는 1(checked) or 0(not) 이 들어가면 됩니다
// 캐릭터 타입 검증 'H'-한글, 'E'-영문, 'N'-숫자, 'Z'-기타 function getCharType(pValue){ var bHan = false; var bAlp = false; var bNum = false; var bEtc = false; var retStr=""; if(isEmpty(pValue)){ return ""; } for(var idx=0; idx < pValue.length; idx++){ if (isAlpha(pValue[idx])) { bAlp = true; } else if (isNum(pValue[idx])) { bNum = true; } else if (isHangul(pValue[idx])) { bHan = true; } else { bEtc = true; }..
String[] jobGroups;String[] jobsInGroup;int i;int j;ServletContext ctx = request.getSession().getServletContext();Scheduler scheduler = null;StdSchedulerFactory factory = (StdSchedulerFactory)ctx.getAttribute(QuartzInitializerServlet.QUARTZ_FACTORY_KEY);scheduler = factory.getScheduler(); //scheduler.pauseJob("testjob2", "testgroup"); //정지//scheduler.resumeJob("testjob2", "testgroup"); //재시작/..
The following table describes the mapping between the log level of JDK 1.4 logging and Apache commons-logging: JDK 1.4 Apache commons-logging FINESTtrace FINE, FINERdebug INFO, CONFIGinfo WARNINGwarn SEVEREerror, fatal eclipse에서 quartz의 로그 메세지를 보지 않으려면 eclipse에 등록된 jre경로에 가서 logging.properties에서 .level 항목에 SEVERE 를 넣으면 해결됨
oc4j에서 jndi로 connection pool을 참조하려면 eclipse의 Preferences에서 oc4j메뉴에서 Optional Program Arguments에 -userThreads를 입력해야함
http://my.hanyang.ac.kr/~ksangki/kms/stories.php?story=03/03/12/5842473 위와 같이 data-sources.xml이 설정되어 있다고 가정하고 servlet에서 connection pool에서부터 connection을 가져오는 것은 아래와 같습니다. javax.naming.InitialContext ctx = new javax.naming.InitialContext(); javax.sql.DataSource ds = (javax.sql.DataSource)ctx.lookup("jdbc/OracleDS"); java.sql.Connection conn = ds.getConnection(); //사용 conn.close(); 중요한 점은 jdbc/Orac..
http://www.okjsp.pe.kr/bbs?act=VIEW&bbs=bbs3&keyfield=content&keyword=&seq=59455&pg=4
http://www.oreillynet.com/cs/user/view/cs_msg/52725
BYPASS_RECURSIVE_CHECK BYPASS_UJVC CACHE_CB CACHE_TEMP_TABLE CIV_GB COLLECTIONS_GET_REFS CUBE_GB CURSOR_SHARING_EXACT DEREF_NO_REWRITE DML_UPDATE DOMAIN_INDEX_NO_SORT DOMAIN_INDEX_SORT DYNAMIC_SAMPLING DYNAMIC_SAMPLING_EST_CDN EXPAND_GSET_TO_UNION FORCE_SAMPLE_BLOCK GBY_CONC_ROLLUP GLOBAL_TABLE_HINTS HWM_BROKERED IGNORE_ON_CLAUSE IGNORE_WHERE_CLAUSE INDEX_RRS INDEX_SS INDEX_SS_ASC INDEX_SS_DESC ..