본문 바로가기

전체 글

(218)
[db dbms] SELECT ~ FOR UPDATE 데이터를 수정하기 위해 SELECT 하는 중이니 다른 사람들은 데이터데 손 대지마 라고 LOCK을 거는 것이다.동시성 제어를 위해 데이터에 대해 배타적 LOCK을 거는 기능 = 배타적 잠금= 쓰기 잠금= Exclusive Lock
Oracle 오라클 삭제 후 재설치(1/2) # 복사 붙여넣기 한 경우  1. 붙여넣기 한 파일 경로로가서 폴더 삭제   2. AppData > Roaming 에 있는 폴더 2개 삭제  ( 윈도우 + R 키 눌러서 실행창 띄운 다음 %appdata% 검색해도 해당 경로를 찾아갈 수 있다)   3. 재설치 하기  # 오라클에서 새로 무료버전 설치하기 1. 상단 바에서 오라클 데이터베이스 클릭  2. 무료 체험하기 버튼 클릭  3. 하단으로 쭉 내려서 오른쪽 보면 오라클 데이터베이스 XE 클릭  4. 지금은 pc로 사용할거니까 윈도우즈 클릭해서 다운로드. 운영체제에 맞게 설치   - 초기 비밀번호 설정하기. 잊지말기.  - 위치
[error] Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. Problem Loading class `com.mysql.jdbc.Driver'. This is deprecated. cause 버전 변경으로인해 class 변경됨. resolving log4jdbc.log4j2.properties 파일에 설정추가 #log4jdbc drive class log4jdbc.drivers=com.mysql.cj.jdbc.Driver log4jdbc.auto.load.popular.drivers=false https://goddaehee.tistory.com/324 [JAVA] Loading class 'com.mysql.jdbc.Driver'. This is deprecated. The new driver class is 'com.mysql.cj.jdbc.Driver'. [..
[error/session] No primary or single unique constructor found for interface javax.servlet.http.HttpSession Problem No primary or single unique constructor found for interface javax.servlet.http.HttpSession cause session으로 로그인 시 url 타도록 contoller 기능 구현 중에 에러 발생. Spring Tool Suite 4 Version: 4.15.3.RELEASE 사용하였으나 import javax.servlet.http.HttpSession; 사용 resolving 공식 문서에 따르면 3.x버전부터는 jakarta package 사용해야 한다고 함. => import jakarta.servlet.http.HttpSession; 로 변경 https://spring.io/blog/2022/05/24/preparing..
jtsl jsp session 세션 sessionScope HttpSession session = request.getSession(true); session.setAttribute("ID", "admin1234");
ssl ssl 인증서 발급 후 적용하기 OpenSSL https://namjackson.tistory.com/25 [SSL]HTTPS 통신을 위한 Tomcat SSL 설정하기 HTTPS 및 SSL 암호화 통신을 위해 Tomcat 설정을 해보자 일단 HTTPS, SSL을 왜 사용할까? 링크를 통해 어떠한 사이트에 접속하게된다. 이 사이트가 아무 문제가 없는 사이트라면, 상관이없지만, 개인정 namjackson.tistory.com https://www.sslcert.co.kr/guides/Spring-Boot-SSL-Certificate-Install Spring Boot SSL 인증서 설치/설정/적용 가이드 - SecureSign Spring Boot SSL 인증서 설치/설정/적용 가이드 - SecureSign www.sslcert.co.kr https:/..
압축 폴더 압축 풀기 오류 해결 방법 -> 폴더의 이름을 변경한다. ex) contents.zip 일 경우 -> contentsz.zip 등 폴더명으로 이름 변경하면 압축 풀림.
[error es6 js] Stacktrace:] with root causejakarta.el.ELException: Function [:parseInt] not found Problem Stacktrace:] with root causejakarta.el.ELException: Function [:parseInt] not found cause javascript es6버전의 Template literals 사용 시 `` 안의 ${} 를 인식하지 못함 백틱, Backtick resolving \${} 이렇게 사용할 것. 예시) \${page}