profile
เท† ๐“‹๐’พ๐“ˆ ๐“‰๐’ถ ๐“‹๐’พ๐‘’ เท†

found [text (Types#LONGVARCHAR)], but expecting [varchar(255) (Types#VARCHAR)]

์‹œ๋„1 (์‹คํŒจ)์‹œ๋„2 (์„ฑ๊ณต)

2์ผ ์ „
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€

android.jar: ๋‹ค๋ฅธ ํ”„๋กœ์„ธ์Šค๊ฐ€ ํŒŒ์ผ์„ ์‚ฌ์šฉ ์ค‘์ด๊ธฐ ๋•Œ๋ฌธ์— ํ”„๋กœ์„ธ์Šค๊ฐ€ ์•ก์„ธ์Šค ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

Intellij์—์„œ gradle update ์‹œ, ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๋ฐœ์ƒC:\\Users\\์‚ฌ์šฉ์ž.gradle\\caches\\jars-9\\4b66041e98de04e71533fba7d0c2d683\\android.jar: ๋‹ค๋ฅธ ํ”„๋กœ์„ธ์Šค๊ฐ€ ํŒŒ์ผ์„ ์‚ฌ์šฉ ์ค‘์ด๊ธฐ ๋•Œ๋ฌธ์— ํ”„

6์ผ ์ „
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[TIL] JPA smallint โ†” Short

MySQL์˜ smallintํ˜•์„ Entity์— ๋ฌด์‹ฌ์ฝ” Integer๋กœ ์„ ์–ธํ•˜๋ฉด ์˜ค๋ฅ˜๋‚œ๋‹ค,,smallint๋Š” Short๋กœ ์„ ์–ธํ•  ์ฐธ๊ณ https://zetawiki.com/wiki/JPA_DB%EC%9E%90%EB%A3%8C%ED%98%95\_%EB%A7%A4%E

2022๋…„ 1์›” 5์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

java 11 multi-project

src ํด๋” ์‚ญ์ œ

2021๋…„ 12์›” 23์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[TIL] JPA-Hibernate persist์™€ save์˜ ์ฐจ์ด

Save()์ €์žฅ ํ›„ ์ƒ์„ฑ ๋œ ID๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๊ฒƒ์˜ Serializable๋ฐ˜ํ™˜ ํ˜•์‹.ํŠธ๋žœ์žญ์…˜ ์™ธ๋ถ€์˜ DB์— ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ €์žฅํ•˜์‹ญ์‹œ์˜ค.์ƒ์„ฑ ๋œ ID๋ฅผ ์œ ์ง€์ค‘์ธ ์—”ํ‹ฐํ‹ฐ์— ํ• ๋‹น๋ถ„๋ฆฌ ๋œ ๊ฐ์ฒด์— ๋Œ€ํ•œ Session.save ()๋Š” ํ…Œ์ด๋ธ”์— ์ƒˆ๋กœ์šด ํ–‰์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค.Persist

2021๋…„ 12์›” 23์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€

๋ฉ€ํ‹ฐ ํ”„๋กœ์ ํŠธ

๐ŸŽฏ ๊นƒํ—™ ์ฝ”๋“œ๋ณด๊ธฐ์ฐธ๊ณ ํ•œ ๋ธ”๋กœ๊ทธ

2021๋…„ 12์›” 23์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[JPA] ํšŒ์›๊ฐ€์ž… ๊ธฐ๋Šฅ๊ฐœ๋ฐœ

๐ŸŽฏ ๊นƒํ—™ ์ฝ”๋“œ๋ณด๊ธฐ๐ŸŽฏ ๊นƒํ—™ ์ฝ”๋“œ๋ณด๊ธฐ๐ŸŽฏ ๊นƒํ—™ ์ฝ”๋“œ๋ณด๊ธฐ์ดํ›„ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ์•„๋ž˜์™€ ๊ฐ™์ด ์กฐํšŒํ•˜๋‹ˆ์กฐํšŒ๊ฐ€ ์ž˜ ๋จ์„ ํ™•์ธ

2021๋…„ 12์›” 22์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€

[JPA] JPA ํ™˜๊ฒฝ์„ค์ •

JPA + MySQL 1. gradle ์„ค์ •

2021๋…„ 12์›” 21์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[JPA] SpringMVC์™€ SQL ๋ฌธ์ œ์ 

SpringMVC๋ฅผ ํ†ตํ•ด ๊ณ„์ธต ๋ถ„ํ• ์„ ํ•˜๊ฒŒ ๋˜๋ฉด์„œ, ์šฐ๋ฆฌ๋Š” ๋ณดํ†ต myBatis(๋˜๋Š” JDBC)๋ฅผ ํ™œ์šฉํ•˜์—ฌ ๋ฐ์ดํ„ฐ ์ ‘๊ทผ์„ ํ•˜๊ณคํ–ˆ๋‹ค. ํ•˜์ง€๋งŒ ๋ˆˆ์— ๋ณด์ด๋Š” ๊ณ„์ธต๋ถ„ํ• ์—” ์„ฑ๊ณตํ–ˆ์„์ง€ ๋ชฐ๋ผ๋„, ์‚ฌ์‹ค ๊ฐœ๋ฐœ์„ ํ•˜๋‹ค๋ณด๋ฉด ์ด๊ฒŒ ๋ถ„ํ• ์ด ๋งž๋‚˜ ์ƒ๊ฐ์ด ๋“ค๊ฒŒ๋œ๋‹ค.ํŠนํžˆ ๊ฐœ๋ฐœ์„ ํ•˜๋‹ค๋ณด๋ฉด ๊ฐ์ฒด ๋ณ€ํ™”์—

2021๋…„ 12์›” 20์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

JDBC example

ํ•ด๋‹น ์–ด๋…ธํ…Œ์ด์…˜์€ ์ž๋™๊ตฌ์„ฑํ•˜๋Š” ์–ด๋…ธํ…Œ์ด์…˜์ด๋ผ๊ณ  ์•ž์—์„œ ์„ค๋ช…ํ–ˆ๋‹ค. ์šฐ๋ฆฌ๋Š” 1๋ฒˆ gradle ์„ค์ •์—์„œ jdbc์™€ h2๋ฅผ ์˜์กด์ฒด๋ฅผ ๊ฑธ์–ด๋†“๋Š” ๊ฒƒ๋งŒ์œผ๋กœ๋„, ์Šคํ”„๋ง๋ถ€ํŠธ๋Š” ์•Œ์•„์„œ javax.sql.DataSource ๊ตฌํ˜„์ฒด๋ฅผ ๋งŒ๋“ ๋‹ค.https://jeong-pro.tist

2021๋…„ 12์›” 17์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

application-properties, @ConfigurationProperties

๐ŸŽฏ ๊นƒํ—™ ์ฝ”๋“œ๋ณด๊ธฐ๋งŽ์ด ์“ฐ๋Š” ๋ฐ์ดํ„ฐ๋Š” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์•ˆ์— ๋‘๊ธฐ๋„ ํ•˜์ง€๋งŒ, ๊ตฌ์„ฑ ์ •๋ณด๋ฅผ ํ•˜๋“œ ์ฝ”๋”ฉํ•˜๋Š” ์ผ์€ ๊ทน๊ตฌ ํ”ผํ•ด์•ผ ํ•œ๋‹ค.๋”ฐ๋ผ์„œ ์•ˆ์ „ํ•˜๋ฉด์„œ ๋ฐฐํฌํ•˜๊ธฐ ์‰ฝ๊ฒŒ ๊ตฌ์„ฑ์„ ์™ธ๋ถ€ํ™”(externalization)ํ•˜๋Š” ํŽธ์ด ์ข‹๋‹ค๊ณ  ํ•œ๋‹ค.๋”ฐ๋ผ์„œ YAML ํ‘œ๊ธฐ๋ฒ•์— ๋”ฐ๋ผ ์ž‘์„ฑํ•œ applic

2021๋…„ 12์›” 16์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

Gradle

(1) plugins(2) repositories : dependencies์—์„œ ์„ ์–ธํ•œ ์˜์กด์ฒด์™€ ํ•„์ˆ˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๊ฐ€์ ธ์˜ค๊ธฐ ์œ„ํ•ด ์ ‘์†ํ•  ์„œ๋ฒ„ ์ •๋ณด๋ฅผ ์ ๋Š”๋‹ค.(3) dependencies(4) test

2021๋…„ 12์›” 16์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

Springboot ํ”„๋กœ์ ํŠธ ๊ตฌ๋™ ์‹œ์ž‘์ 

SpringBoot๋Š” Gradle ๊ธฐ์ค€์œผ๋กœ build.gradle ํŒŒ์ผ ๋‚ด์šฉ์— ๋”ฐ๋ผ ClassPath, ์–ด๋…ธํ…Œ์ด์…˜, ๊ธฐํƒ€ ์ž๋ฐ” ๊ตฌ์„ฑํด๋ž˜์Šค๋ฅผ ๋ณด๊ณ  ์ ํ•ฉํ•œ ์•ฑ์œผ๋กœ ๋งž์ถคํ•˜๋Š” ์ž๋™๊ตฌ์„ฑ์ด๋‹ค.SpringBoot๋Š” servlet-context.xml๊ณผ web.xml์„ ๋‹ค๋ฃจ์ง€ ์•Š๋Š”๋‹ค

2021๋…„ 12์›” 14์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

ํ…Œ์ŠคํŠธ์ฝ”๋“œ๋กœ ์ฒซ ์„œ๋ฒ„ ์‹คํ–‰

https://github.com/kHeNoTbB/SpringBoot-Gradle-JPA-example/commit/ffef42ebef5f87c37e6c768c8b7f3c3f45307b84์œ„ ์ฝ”๋“œ ์‹คํ–‰ํ•˜์—ฌ,Tomcat started on port(s): 808

2021๋…„ 12์›” 14์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ

๊ฑ ์•„๋ฌด๊ฒƒ๋„ ์„ ํƒ ์•ˆํ•จ

2021๋…„ 12์›” 14์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

๊ฐœ์š” ๋ฐ ํ™˜๊ฒฝ

Spring boot + Gradle + Java 8 + JPA + Intellij

2021๋…„ 12์›” 14์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[TIL] ํฌํŠธ ์ฃฝ์ด๊ธฐ

https://stackoverflow.com/questions/40118878/8080-port-already-taken-issue-when-trying-to-redeploy-project-from-spring-tool-s

2021๋…„ 12์›” 9์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[TIL] @RequestParam๊ณผ @PathVariable์˜ ์ฐจ์ด

@RequestParam : ํ•„ํ„ฐ์˜ ์—ญํ• . ์—ฌ๋Ÿฌ list ์ค‘์—์„œ ํŠน์ • key ๊ฐ’์„ ๊ฐ–๋Š” item์„ ์ ‘๊ทผํ•  ๋•Œ ์‚ฌ์šฉ๋จ@PathVariable : ๋Œ€์ƒ์ง€์ •. ํ•„์š”ํ•œ ํ•˜๋‚˜์˜ item์— ๋Œ€ํ•ด ์ ‘๊ทผํ•  ๋•Œ ์‚ฌ์šฉ๋จ

2021๋…„ 12์›” 2์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

[TIL] Redis

์ฐธ๊ณ https://zangzangs.tistory.com/72

2021๋…„ 11์›” 24์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€
post-thumbnail

selfservice-api ๋ถ„์„๊ธฐ

ํผ๋ธ”๋ฆฌ์‹ฑ์„ผํ„ฐ API์„œ๋ฒ„๋กœ, selfservice-front์™€ selfservice-admin์˜ api ์„œ๋ฒ„์ด๋‹ค. ๊ฐ selfservice-front์™€ selfservice-admin์—๋„ ๋ฐฑ์—”๋“œ๊ฐ€ ์žˆ์ง€๋งŒ, ํ•ด๋‹น api์™€ ํ†ต์‹ ํ•˜๊ธฐ ์œ„ํ•œ ๋ฐฑ์—”๋“œ๋ผ๊ณ  ๋ณด๋ฉด ๋œ๋‹ค.๊ธฐ์กด ๋‚ด๊ฐ€ ์‚ฌ์šฉ

2021๋…„ 11์›” 18์ผ
ยท
0๊ฐœ์˜ ๋Œ“๊ธ€