Is there a way in JPA to do a Entity just be insertable? I mean, in any case, not just in a mapped column. In my case I am not allowed to put a trigger in DB. If I throw a Exception on PreUpdate. May it works?
CAN INSERT
Is there a way in JPA to do a Entity just be insertable? I mean, in any case, not just in a mapped column. In my case I am not allowed to put a trigger in DB. If I throw a Exception on PreUpdate. May it works?
CAN INSERT