본문 바로가기
🌸 Oracle Setting ✅ msql보다 어려붐..ㅎ      oracle은 mysql과 다르게 cmd 말구 tool에서 작성 많이함ㅎ ✅ port : 1521 Oracle 8i 👎Oracle 9i 👎Oracle 11g  ( g: gird =>  single server ) 많이씀Oracle 12c ~ Oracle 18c ~ Oracle 22c  ( c: cloud => clouse server ) 18c 많이씀Oracle 23ai ✅ Settingoracle 다운google 검색 - oracle 18c download 검색해서 다운 - Oracle Database 18c Express Edition for Windows x64공홈에서 sqldeveloper 검색 - Windows 64-bit with JDK 11 inclu.. 2024. 8. 21.
#7-1 / JPA 1 - 회원가입 JPA : 빡세당spring-boot + Database + thymeleaf + JPA + DAO 요렇게 때릴거임 이제완젼 실무🤷‍♂️❓ JPA Java persistence API  ( persistence : 종속성) => 자바의 종속성을 유지시키는 표준 인터페이스 모음Hibernate , OpenJPA ✅ 설치  thymeleaf.properties  추가## jpa#콘솔에 sql 문법출력 ddlspring.jpa.show-sql=true#자동으로 dao에서 설정된 값으로 신규 생성 및 자동 sql ddl 적용spring.jpa.hibernate.ddl-auto=none#create : table 생성#update : table 초기화 #none - ddl-auto를 사용하지 않겠다, 만들어지지.. 2024. 8. 21.
#6-3 / thymeleaf - 2차배열 출력 👀 알아두쇼==>  일반text + 변수 표현시  |  안에 집어넣으면 됨!    (  3.x 사용 가능  )    👀 2차 원시배열, class배열   - Controller@GetMapping("/arrays.do")public String arrays(Model m) { String arr[][] = { {"홍길동","강감찬","이순신"}, {"22","33","44"} }; m.addAttribute("arr",arr); ArrayList> all = new ArrayList>(); ArrayList al = new ArrayList(); al.add("서울지사"); al.add("경기도지사"); al.add("강원도지사");.. 2024. 8. 21.
#6-2 / thymeleaf - 협업시 properties 분리 src/main/resources - newfile  - thymeleaf.properties 파일 생성함기존 application.properties 여기에 있던 thymeleaf 부분  thymeleaf.properties 여기에 복붙  후기존 application.properties 여기에#메인 properties 외에 별도의 properties를 가져와야할 경우spring.config.import=thymeleaf.properties추가 => 잘 작동됨ㅋ 2024. 8. 21.