forked from quarkusio/quarkus
-
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 quarkusio#33265 from geoand/quarkusio#31774
Properly support extracting fields from entities into projections
- Loading branch information
Showing
3 changed files
with
36 additions
and
14 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
18 changes: 18 additions & 0 deletions
18
...ation-tests/spring-data-jpa/src/main/java/io/quarkus/it/spring/data/jpa/AbstractPost.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,18 @@ | ||
package io.quarkus.it.spring.data.jpa; | ||
|
||
import java.time.ZonedDateTime; | ||
|
||
import jakarta.persistence.MappedSuperclass; | ||
|
||
@MappedSuperclass | ||
public abstract class AbstractPost { | ||
private ZonedDateTime posted; | ||
|
||
public ZonedDateTime getPosted() { | ||
return posted; | ||
} | ||
|
||
public void setPosted(ZonedDateTime postedAt) { | ||
this.posted = postedAt; | ||
} | ||
} |
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