You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating code from the entity below, the generated JPAStreamer code references a method getEnabled() which does not exist. In this case, Lombok automatically generates a getter titled isEnabled() as the type is a primitive boolean. However, for Boolean values, the getter will be given the standard name getEnabled().
public class User2 implements Serializable{
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_shared")
@SequenceGenerator(name = "seq_shared", sequenceName = "seq_shared",allocationSize = 1)
Long id;
@NotEmpty
private String username;
@NotEmpty
private String password;
// Should generate isEnabled
private boolean enabled;
// Should generate getActive
private Boolean active;
}
The text was updated successfully, but these errors were encountered:
When generating code from the entity below, the generated JPAStreamer code references a method
getEnabled()
which does not exist. In this case, Lombok automatically generates a getter titledisEnabled()
as the type is a primitiveboolean
. However, for Boolean values, the getter will be given the standard namegetEnabled()
.The text was updated successfully, but these errors were encountered: