250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- SpringBoot
- error
- Open Source
- MySQL
- 설정
- spring
- PostgreSQL
- Thymeleaf
- 문서
- jpa
- Core Java
- Docker
- 오픈소스
- Exception
- git
- Python
- JDBC
- Eclipse
- AJAX
- oracle
- Tomcat
- Source
- STS
- IntelliJ
- JavaScript
- myBatis
- Spring Boot
- MSSQL
- ubuntu
- maven
Archives
- Today
- Total
목록caseinsensitivemap (1)
헤르메스 LIFE
[Springboot] Springboot 와 Mybatis 설정에서 resultType을 Map 으로 사용 시 문제점.
개발환경Springboot Mybatis JDK 11.x SELECT id, name FROM users WHERE id = #{id} 이와 같은 간단한 쿼리 실행 시 Map 에 담기는 값은 Database 마다 다릅니다.Oracle, Tibero 는 key 가 대문자로 담기게 됩니다.List> userList = mapper.selectUserRequest();for(int i = 0; i MS-SQL 은 쿼리 Alias 로 key 가 생성됩니다.List> userList = mapper.selectUserRequest();for(int i = 0; i PostgreSQL 은 key 소문자로 담기게 됩니다.List> userList = mapper.selectUserReques..
Spring Boot Framework
2024. 7. 24. 17:21