728x90 반응형 oracle2 docker compose로 DB 올리기(oracle, mysql, mongodb) 0. download docker https://docs.docker.com/docker-for-windows/install Redirecting… docs.docker.com 1. docker-compose.yaml version: "3.3" services: oracle: container_name: demo_oracle build: context: ./oracle/ dockerfile: Dockerfile image: demo/oracle-xe-11g:latest # environment: - ORACLE_ALLOW_REMOTE=true ports: - "1522:1521" mysql: container_name: demo_mysql command: --character-set-server=utf8.. 2021. 5. 28. Spring boot(maven) + oracle db(Oracle 11g express) + lombok CRUD example 기존의 oracle driver는 springboot에 제대로 적용하려면 jar파일을 옮기는 귀찮은 작업을 거쳐야 함. 그러나 spring boot 2.2.x 부터 개선되어 dependencies에만 추가해도 사용 가능. 설정 1. pom.xml 4.0.0 org.springframework.boot spring-boot-starter-parent 2.2.6.RELEASE com.example demo 0.0.1-SNAPSHOT demo Demo project for Spring Boot 1.8 org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-test test org.springfram.. 2020. 5. 6. 이전 1 다음 728x90