-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Relax testing constraints on certain dates tests
- Loading branch information
Showing
3 changed files
with
6 additions
and
15 deletions.
There are no files selected for viewing
7 changes: 1 addition & 6 deletions
7
...rest-data-panache/src/main/java/io/quarkus/it/hibernate/orm/rest/data/panache/Author.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 |
---|---|---|
@@ -1,18 +1,13 @@ | ||
package io.quarkus.it.hibernate.orm.rest.data.panache; | ||
|
||
import java.time.LocalDate; | ||
|
||
import javax.persistence.Entity; | ||
|
||
import com.fasterxml.jackson.annotation.JsonFormat; | ||
|
||
import io.quarkus.hibernate.orm.panache.PanacheEntity; | ||
|
||
@Entity | ||
public class Author extends PanacheEntity { | ||
|
||
public String name; | ||
|
||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") | ||
public LocalDate dob; | ||
public String dob; | ||
} |
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