에러코드 VARCHAR2(10 byte) will support up to 10 bytes of data, which could be as few as two characters in a multi-byte character sets. 상황 DBeaver에서 ID, NAME의 Type이 VARCHAR2(10)으로 보이는데, 컬럼 사이즈를 보여주는 우리 서비스의 화면에서는 VARCHAR2(40)으로 보임. 해결 직접 DB 접속해서 보니 VARCHAR2(10) 이 아닌 VARCHAR2(10 CHAR) 로 CHAR가 붙어 있었음 SQL> desc tableName; Name Null? Type ----------------------------------------- -------- --------------..
javascript에서 json 형태의 object를 console.log로 바로 찍으면 [Object Object] 라고 나온다. 객체의 값을 알기 위해서는 아래처럼 JSON.Stringify를 이용하면 된다. console.log(JSON.stringify(obj));
javascript의 객체의 키 가져오는 방법 중 하나 Object.entries(obj) 메소드 var sub = Object.entries(subItem); 참고 https://www.delftstack.com/ko/howto/javascript/get-key-of-object-javascript/ JavaScript 객체의 키 가져오기 이 튜토리얼은 자바스크립트에서 객체의 키를 얻는 방법을 자세히 설명합니다. www.delftstack.com
https://github.com/axios/axios GitHub - axios/axios: Promise based HTTP client for the browser and node.js Promise based HTTP client for the browser and node.js - GitHub - axios/axios: Promise based HTTP client for the browser and node.js github.com //data : 서버가 제공한 응답(데이터) console.log(response.data); //status : 서버 응답의 HTTP 상태 코드 console.log(response.status); 참고 https://yamoo9.github.io/axios/gu..
spring security gradle / maven 의존성 추가 중에 알게 된 정보 Spring 버전별로 dependency가 최적화되는 버전을 찾아서 추가할 수 있다. 1. 접속 https://spring.io/projects/spring-boot#learn Spring Boot Commercial support Business support from Spring experts during the OSS timeline, plus extended support after OSS End-Of-Life. Publicly available releases for critical bugfixes and security issues when requested by customers. spring.io 2. ..