Tools/Spring2023. 10. 6. 14:28
728x90

Spring 관련 다양한 문서를 한글화하고 있음.

 

https://godekdls.github.io/

 

Hello World!

토리맘의 한글라이즈 프로젝트.

godekdls.github.io

 

728x90

'Tools > Spring' 카테고리의 다른 글

[SpringBoot 2.7.*] H2 Jdbc 설정, schema(DDL) 및 data(DML)  (0) 2023.09.16
spring application.properties 정보  (0) 2023.08.18
J2DBC 참조  (0) 2023.05.09
web Flux 참조  (0) 2023.05.09
Posted by 하루y
Tools/Spring2023. 9. 16. 21:06
728x90

H2 버전 조정

	<properties>
		<java.version>11</java.version>
		<!-- 2.x 최신버전에서 validation이 강화되어, 버전을 낮춰서 테스트 진행하는 것으로 보임. JJH -->
		<h2.version>1.4.196</h2.version>
	</properties>

1. 1H2 File DB 및 Memory DB 설정

2. 초기 schema(DDL) 및 data(DML) 설정

spring:
  datasource:
    # 1. H2 file DB. 어플리케이션 경로에서 생성. DB경로. AUTO_SERVER는 다중접속여부
    url:  jdbc:h2:file:./db/h2/data;AUTO_SERVER=true
    # 2. H2 file DB. ~ 는 사용자 계정아래에 DB 생성.
#    url:  jdbc:h2:~/db/h2/data;AUTO_SERVER=true
    # 3. H2 Memory DB
#    url:  jdbc:h2:mem:testdb
    driverClassName: org.h2.Driver
    username: sa
    password:
  h2:
    console:
      enabled: true
      path: /h2-console
  sql:
    init:
      mode: always
      schema-locations: classpath:/h2/schema.sql
      data-locations: classpath:/h2/data.sql
#  jpa:
#    defer-datasource-initialization: true

 

 

728x90

'Tools > Spring' 카테고리의 다른 글

Spring 관련 한글 문서  (0) 2023.10.06
spring application.properties 정보  (0) 2023.08.18
J2DBC 참조  (0) 2023.05.09
web Flux 참조  (0) 2023.05.09
Posted by 하루y
Tools/Spring2023. 8. 18. 13:59
728x90

 

https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html

 

Common Application Properties

 

docs.spring.io

 

end.

 

728x90

'Tools > Spring' 카테고리의 다른 글

Spring 관련 한글 문서  (0) 2023.10.06
[SpringBoot 2.7.*] H2 Jdbc 설정, schema(DDL) 및 data(DML)  (0) 2023.09.16
J2DBC 참조  (0) 2023.05.09
web Flux 참조  (0) 2023.05.09
Posted by 하루y
Tools/Spring2023. 5. 9. 14:23
728x90

https://docs.spring.io/spring-data/r2dbc/docs/1.2.2/reference/html/#r2dbc.core

728x90

'Tools > Spring' 카테고리의 다른 글

Spring 관련 한글 문서  (0) 2023.10.06
[SpringBoot 2.7.*] H2 Jdbc 설정, schema(DDL) 및 data(DML)  (0) 2023.09.16
spring application.properties 정보  (0) 2023.08.18
web Flux 참조  (0) 2023.05.09
Posted by 하루y