Discussed in #284
Originally posted by infinite-dev22 July 5, 2023
This is my sample class entity using Jakarta.
import jakarta.persistence.*;
@Entity
public class Supplier {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@Column(nullable = false)
private String name;
....
// Getters and Setters.
....
}
When I run the project in IDEA, ORMLite throws an SQLException of No Database Fields defined
Does ORMLite support Jakarta Persistence API or it still uses Java Persistence API.
Thanks in advance.
Discussed in #284
Originally posted by infinite-dev22 July 5, 2023
This is my sample class entity using Jakarta.
When I run the project in IDEA, ORMLite throws an
SQLExceptionofNo Database Fields definedDoes ORMLite support Jakarta Persistence API or it still uses Java Persistence API.
Thanks in advance.