예전에 개인노트에 써놓았던거 여기에 다시 옮기기 jQuery checkbox 선택 값 가져오기 $('input:checkbox[name=""]:checked').val(); jQuery checkbox 전체 개수 가져오기 $('input:checkbox[name=""]').length(); jQuery checkbox 선택된 체크박스 개수 가져오기 $("input[type=checkbox][name='']:checked").length 또는 $("input:checkbox[name='']:checked").length jQuery 전체 체크박스 순회 $('input:checkbox[name=""]').each(function(){ }); jQuery 선택된 체크 박스 순회 $('input:checkbox..

Mybatis에서 enum을 사용하기 전에 알아야 할 것이 바로 TypeHandler이다. 공식문서에 있는 것을 그대로 가져오면 TypeHandler란 마이바티스가 PreparedStatement에 파라미터를 설정하고 ResultSet에서 값을 가져올 때마다 TypeHandler는 적절한 자바 타입의 값을 가져오기 위해 사용된다. https://mybatis.org/mybatis-3/ko/configuration.html#typeHandlers MyBatis – 마이바티스 3 | 매퍼 설정 매퍼 설정 마이바티스 XML 설정파일은 다양한 설정과 프로퍼티를 가진다. 문서의 구조는 다음과 같다.: configuration properties 이 설정은 외부에 옮길 수 있다. 자바 프로퍼티 파일 인스턴스에 설정..
더보기 spring boot에서 mybatis 설정을 properties나 yml의 설정 파일로 직접 설정할 수 도 있고 config-location을 통해서 mybatis config xml 파일의 경로를 지정해줄 수도 있다. 그래서 yml파일에서 config xml을 보도록 경로를 설정해줬는데 오류가 발생했다. 오류 설정파일 # mybatis 설정 mybatis: mapper-locations: classpath:mybatis/mapper/*.xml config-location: classpath:mybatis/config/*.xml 오류내용 .... Error creating bean with name 'sqlSessionFactory' defined in class path resource [or..
Mybatis Enum Typehandler 관련해서 예제를 작성해보다가 오류 발견 아래는 메시지 내용 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.sample.mybatis.mapper.MyBatisSampleMapper.getBoardAll'. It's likely that neither a Result Type nor a Result Map was specified. ... Caused by: org.apache.ib..

문제 mybatits config xml 파일 수정 중 아래와 같은 내용 발생 The content of element type "configuration" must match "(properties?,settings?,typeAliases?,typeHandlers?,objectFactory?,objectWrapperFactory?,reflectorFactory?,plugins?,environments?,databaseIdProvider?,mappers?)". 해결 configuration의 요소 정의 순서가 아래와 같아야 된다는 오류. 이런 거도 맞춰야 하는구나.. properties settings typeAliases typeHandlers objectFactory objectWrapperFacto..
API 요청시 응답 값 { "response": { "service": { "name": "address", "version": "2.0", "operation": "getAddress", "time": "5(ms)" }, "status": "OK", "input": { "point": { "x": "126.978275264", "y": "37.566642192" }, "crs": "epsg:4326", "type": "ROAD" }, "result": [ { "zipcode": "04524", "type": "road", "text": "서울특별시 중구 세종대로 110 (태평로1가,서울특별시 청사)", "structure": { "level0": "대한민국", "level1": "서울특별시", "lev..

지난 토요일 핸드폰이 망가졌다. 정확히 이야기하면 통화할 때 상대방 이야기는 들리는데 내 목소리는 전달되지 않았다. 마이크 문제인 것 같아서 동네 근처 수리센터에 맡겼는데 마이크만 고장인 줄 알았더니 뭐 메인보드가 문제라고 하더라... 그래서 폰 수리를 맡기고 집에 있는 아이폰6s 공기계를 사용하고 있는 도중에 문제가 생겼다. 나는 애플뮤직을 구독해서 사용하고 있는데 공기계에서 동기화되어있는 내 플레이리스트를 재생하려면 아래와 같은 메시지가 떴다. 구글에 검색해보니까 애플 지원 앱에서 상담원 연결을 통해 해당 문제를 설명하면 해결해준다고 해서 맨 처음 전화를 했는데 아래와 같은 해결방법을 알려주었다. https://support.apple.com/ko-kr/HT204926 Apple Music에서 보관함..
- Total
- Today
- Yesterday
- rocky
- jQuery
- mybatis config
- Java
- 오라클
- springboot
- Kotlin
- input
- svn
- config-location
- docker
- mybatis
- LocalDateTime
- oracle
- claude
- elasticsearch
- Spring Security
- Linux
- 베리 심플
- localtime
- Mac
- Spring
- intellij
- JavaScript
- maven
- LocalDate
- Bash tab
- 북리뷰
- k8s
- window
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |