mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
oracle test fix up
This commit is contained in:
parent
1b86b2228c
commit
a9f51a3eae
@ -22,6 +22,7 @@
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import jakarta.persistence.Basic;
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Inheritance;
|
||||
@ -114,7 +115,9 @@ public void dropTestData(SessionFactoryScope scope) {
|
||||
public static class Payment {
|
||||
@Id
|
||||
private Integer id;
|
||||
@Column( name = "amt")
|
||||
private double amount;
|
||||
@Column( name = "the_comment")
|
||||
private String comment;
|
||||
|
||||
public Integer getId() {
|
||||
@ -151,6 +154,7 @@ public static class CheckPayment extends Payment {
|
||||
@Basic(optional = false)
|
||||
private String route;
|
||||
@Basic(optional = false)
|
||||
@Column( name = "acct" )
|
||||
private String account;
|
||||
private String memo;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user