일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 에이치투데이터베이스
- JPA값타입
- javageneric
- Open EntityManager
- springboot기본설정
- 자바제너릭
- JPA프록시
- httppie
- JDBC connection pool
- OSIV
- Git
- jpqlquery
- springbootproxy
- JPAmapping
- sql
- spring
- JPA Hint & Lock
- 임베디드타입
- 스프링부트
- 이해와 원리
- MySqlType
- 스프링부트기본설정
- jpa
- JPAproxy
- dockercmd
- gitinitial
- embededtype
- 제이피큐엘쿼리
- springbootH2
- 데이터베이트h2
- Today
- Total
목록Java (40)
빡코
IoC란? Inversion of Control(제어의 역전) 원래 의존성의 제어권은 자신이 가지고 있다. Spring Framework를 사용하지 않을경우, new생성자를 통해서 객체를 생성후 사용해야만한다. Spring Framework안에서는 직접생성하지 않아도 되며, 외부에서 넣어주면 사용가능 IoC 컨테이너? -빈(Bean)을 만들고 엮어주며 제공해준다. -빈 설정: 이름 or ID, 타입, 스코프 -컨테이너를 직접 쓸일이 많지 않음 -어노테이션 자체에는 기능이 없다. -컴포넌트는 컨트롤러와 같다 Bean이란? -Bean이란 스프링 IoC 컨테이너가 관리하는 객체 Bean이 등록되는 과정? 1.어노테이션 활용 ComponentScan: 어노테이션을 처리하는 Handler 역할 즉, 프로세서의 역..
콘솔에서 쿼리 로그를 확인 할 수 있다. Hibernate: drop table posts if exists Hibernate: create table posts (id bigint generated by default as identity, author varchar(255), Hibernate: insert into posts (id, author, content, title) values (null, ?, ?, ?)content TEXT not null, title varchar(500) not null, primary key (id)) Hibernate: select posts0_.id as id1_0_, posts0_.author as author2_0_, posts0_.content as co..

JUnit 5 import static org.hamcrest.CoreMatchers.is; 참조: https://hwanud.wordpress.com/2018/09/29/junit5%EC%97%90%EC%84%9C-assertthat%EA%B3%BC-is-%EC%82%AC%EC%9A%A9/ JUnit 4 상황 import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; 임포트가 되었지만, 이런 상황이며 아래와 같은 에러메세지가 디스클로징 Testing started at 오전 12:46 ... > Task :cleanTest > Task :compileJava > Task :processResources..

스프링부트 lombok 에러 lombok 버전: 1.18.8 gradle vesion: 6.0.1 Gradle 6.0.1 ------------------------------------------------------------ Build time: 2019-11-18 20:25:01 UTC Revision: fad121066a68c4701acd362daf4287a7c309a0f5 Kotlin: 1.3.50 Groovy: 2.5.8 Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019 JVM: 1.8.0_211 (Oracle Corporation 25.211-b12) OS: Windows 10 10.0 amd64 에러코드 Testing sta..

SpringWebView 프로젝트 생성해준다. 패키지의 이름은 com.exe.springwebview 전체 셋팅 구조는 다음과 같다. https://mvnrepository.com/ 에서 maven 태그 복사해 오기 검색창에 itext 검색어 입력하여 다음과 같은 주소에서 태그를 복사하여 pom.xml에 추가해주기 엑셀파일로 내보내는데 필요한 maven 태그이다. https://mvnrepository.com/artifact/org.apache.poi/poi/3.17 https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6.12 파일업로드 관련 maven 태그 https://mvnrepository.com/artifact/commons-f..

Spring 3.0 + Mybatis 셋팅에서의 전체 Package Explorer는 다음과 같다. 아래의 구조와 같이 패키지를 생성 또는 필요한 파일을 import 해준다. 해당 셋팅과 실습의 실행 주소는 다음과 같다 웹 실행 주소 http://IP주소:8080/springwebmybatis/ 2.pom.xml에 다음과 같은 태그를 추가해 준다. 태그를 추가 후 저장해주면 자동으로 필요한 data를 내려받게 된다. org.mybatis mybatis 3.4.6 org.mybatis mybatis-spring 1.3.2 다음은 com.jdbc.mapper 클래스 생성하고 boardMapper.xml 을 생성한다. 추가로 mybatis-config.xml 복사해와서 붙여넣고 mybatis.config.xm..