I have a bean named ApplicationBean. When I call create on Application, it only creates null values in the database. It does however try to create a new row with these null values.
However, when I call the set methods, it sets properly, and it gets when calling the get properties.
This is my ejbCreate:
public PersonPK ejbCreate(String name, String surname, String ssn, String email, String status, String registrationDate, int id) throws CreateException { this.name = name; this.surname = surname; this.ssn = ssn; this.email = email; this.status = status; this.registrationDate = registrationDate; this.id = id; return null; }
new PersonPK(id)
after a long time of searching I found that it requires me to use the methods of setName, setId, etc in the create method, instead of this.name = name, as the tutorial originally instructed me.