-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from JNU-econovation/chore
[CHORE] query 구현 모듈의 기술 변경 / 루트 모듈 그룹명 변경
- Loading branch information
Showing
7 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ plugins { | |
id 'java' | ||
} | ||
|
||
group = 'com.Whoz-In' | ||
group = 'com.whoz_in' | ||
version = '0.0.1-SNAPSHOT' | ||
|
||
java { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...s/infrastructure/api-query-jpa/src/main/java/com/whoz_in/api_query_domain_jpa/Device.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.whoz_in.api_query_domain_jpa; | ||
|
||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.Id; | ||
import org.hibernate.annotations.Immutable; | ||
import org.hibernate.annotations.Subselect; | ||
import org.hibernate.annotations.Synchronize; | ||
|
||
@Entity | ||
@Immutable | ||
@Subselect("SELECT " | ||
+ "d.device_id AS deviceId " | ||
+ "FROM device_entity d") | ||
@Synchronize({"device_entity"}) | ||
public class Device { | ||
@Id | ||
private Long deviceId; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters