golden3333
@golden33337364
Reviews Written
-
Average Rating
-
Posts
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
๊ฐ์ฌ๋ ๋ฒ์ 8๋ก ๋ฐ๊พธ๊ณ ์คํํ๋ ๋ฐ๋ก ๋ฉ๋๋ค ใ ใ ๊ทธ๋ฅ ๋ฒ์ 8๋ก ์์ํ ๊ป ใ ใ persistence ์์ ํ์ผ ์๋ ค์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค ๊ฐ์ฌ๋!:):)
- 0
- 11
- 1.4K
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
(์ฌ์ง) h2๋ฐ์ดํฐ๋ฒ ์ด์ค๋ ์ ์์ด ์๋๋๋ค. poem.xml์์ ์์ ํ ๋ถ๋ถ์ h2 ๋ฐ์ดํฐ๋ฒ ์ด์ค version์ 1.4.199๋ฅผ -> 1.4.200๋ก ์์ ํ์ต๋๋ค.
- 0
- 11
- 1.4K
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
(์ฌ์ง) xml version="1.0" encoding="UTF-8"?>project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> modelVersion>4.0.0modelVersion> groupId>jpa-basicgroupId> artifactId>ex1-hello-jpaartifactId> version>1.0.0version> build> plugins> plugin> groupId>org.apache.maven.pluginsgroupId> artifactId>maven-compiler-pluginartifactId> configuration> source>11source> target>11target> configuration> plugin> plugins> build> dependencies> ํ์ด๋ฒ๋ค์ดํธ --> dependency> groupId>org.hibernategroupId> artifactId>hibernate-entitymanagerartifactId> version>5.3.10.Finalversion> dependency> ๋ฐ์ดํฐ๋ฒ ์ด์ค --> dependency> groupId>com.h2databasegroupId> artifactId>h2artifactId> version>1.4.200version> dependency> dependencies>project> ์๋ ์คํ์ํจ poem.xml ์ด๊ณ ์๋๋ ์์ ํ persistence.xml์ ๋๋ค xml version="1.0" encoding="UTF-8"?>persistence version="2.2" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd"> persistence-unit name="hello"> properties> ํ์ ์์ฑ --> property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/> property name="javax.persistence.jdbc.user" value="sa"/> property name="javax.persistence.jdbc.password" value=""/> property name="javax.persistence.jdbc.url" value="jdbc:h2:tcp://localhost/~/test"/> property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/> ์ต์ --> property name="hibernate.show_sql" value="true"/> property name="hibernate.format_sql" value="true"/> property name="hibernate.use_sql_comments" value="true"/> property name="hibernate.hbm2ddl.auto" value="create" /> properties> persistence-unit>persistence>
- 0
- 11
- 1.4K
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
(์ฌ์ง) ๊ฐ์ฌ๋์ด ์ฃผ์ ์ฝ๋๋ก persistence๋ฅผ ๊ณ ์น๊ณ ๋ค์ ๋น๋ํ๊ตฌ ์คํํด๋ณด์๋๋ฐ ์ฒ์์๋ ์งํ๋๋ ์ถ๋ค๋ ์ด๋ฒ์๋ INFO: HHH000206: hibernate.properties not found ์ด๋ผ๋ ์ค๋ฅ๊ฐ ๋น๋๋ค !
- 0
- 11
- 1.4K
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
์๋ ์๋ฐ ๋ฒ์ ์ 14๋ก ํ๊ฒ์ด๊ณ ์๋ฐ๋ฅผ 11๋ก ๋ค์ด๊ทธ๋ ์ด๋ ํด์ ์ ์ฉํด๋ณด์๋๋ ์ด๋ฐ ์๋ฌ๊ฐ ๋น๋๋ค ... ์ด๋ฒ์๋ javax.persistence.PersistenceException: Unable to locate persistence units ์ด๋ผ๊ณ ๋ ์! poem.xml์ build> plugins> plugin> groupId>org.apache.maven.pluginsgroupId> artifactId>maven-compiler-pluginartifactId> configuration> source>11source> target>11target> configuration> plugin> plugins>build> ์ด ๋ถ๋ถ๋ ์ถ๊ฐํ๊ตฌ setting์ ๋ค์ด๊ฐ์ ๋ฐ์ดํธ์ฝ๋ ๊ฐ๊ฐ 11๋ก๋ ํด๋ณด๊ตฌ 8๋ก๋ ํด๋ดค๋๋ฐ ๊ณ์ ๋ฐ์์ค๋ฅ๋ง ๋น๋๋ค.. (์ฌ์ง)
- 0
- 11
- 1.4K
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
(์ฌ์ง) ์๋ฌ ๋จ๋ ๋ถ๋ถ ์ฒจ๋ถํฉ๋๋ค:)!
- 0
- 11
- 1.4K
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
(์ฌ์ง)
- 0
- 11
- 1.4K
Q&A
3:12์ด์ emf๋ก ๋ณ์ ๊ณ ์น๊ณ ์คํ์ ๋๋ ๋๋ฐ ์ฐ๊ฒฐ์ด ์์ ์๋๊ตฌ ์๋ฌ๊ฐ ๋ ์ ใ ใ
ํ์๋ ๋๋ก ๊ทธ๋๋ก ๋ฐ๋ผํ๋๋ฐ ใ ใ ใ ...
- 0
- 11
- 1.4K




