prevent auto creation of valid and loaded columns

i don’t know why but in my table two columns are automatically appearing (valid and loaded columns) both columns are Boolean i tried to delete them but they keep on creating themselves , i even created a new table but again i got to face this two columns and because they are boolean i tired to set the default value as null but loaded is automatically seated to true and valid is as false how can i permanently remove this columns from my table ?? , i checked my Class but there’s nothing that may be cause of auto creating of this values any idea whats wrong ???

Columns would be created when you save or update objects which contain corresponding properties. You’re welcome to post the class you’re saving objects of and we’ll take a look at it.

Regards,
Mark

okay , here you go

public class Note extends RealmObject {

@PrimaryKey
 private String objectId;
 private String Title;
 private String NoteType;
 private String Publisher;
 private String Recepient;
 private String ChannelId;
 private Date created;
 private boolean IsImageExists;
 private boolean Viewed;
 private String FileUrl;
 private boolean isDocExists;
 private String DocFileUrl;










//Note object id
public String getobjectId() {
    return objectId;
}
public void setobjectId( String objectId ) {
    this.objectId = objectId;
}








//Note Title
public String getTitle() {
    return Title;
}
public void setTitle( String Title ) {
    this.Title = Title;
}






//Note type
public String getNoteType() {
    return NoteType;
}
public void setNoteType( String NoteType ) {this.NoteType = NoteType;}


//Note publisher
public String getPublisher() {
    return Publisher;
}
public void setPublisher( String Publisher ) {
    this.Publisher = Publisher;
}


//Note TimeStamp
public Date getCreated() {
    return created;
}
public void setCreated( Date created ) {
    this.created = created;
}


//Note imageExists
public boolean getIsImageExists() {
    return IsImageExists;
}
public void setIsImageExists( boolean IsImageExists ) {
    this.IsImageExists = IsImageExists;
}


//Note imageExists
public String getFileUrl() {
    return FileUrl;
}
public void setFileUrl( String FileUrl ) {
    this.FileUrl = FileUrl;
}


//Note Viewed
public boolean getViewed() {
    return Viewed;
}
public void setViewed( boolean Viewed ) {
    this.Viewed = Viewed;
}


//Note recipient
public String getRecepient() {return Recepient;}
public void setRecepient( String Recepient ) {this.Recepient = Recepient;}


//Note docFileUri
public String getDocFileUrl() {return DocFileUrl;}
public void setDocFileUrl( String DocFileUrl ) {this.DocFileUrl = DocFileUrl;}


//Note isdocFileUri
public boolean getIsDocExists() {
    return isDocExists;
}
public void setIsDocExists( boolean isDocExists ) {
    this.isDocExists = isDocExists;
}


//Note channelId
public String getChannelId() {
    return ChannelId;
}
public void setChannelId( String ChannelId ) {
    this.ChannelId = ChannelId;
}

}

What are the names of the columns in question?

there are two columns named valid and loaded which are automatically being created on Table even haven’t declared any valid or loaded variable in my class

They must be coming from the base class which you inherited: RealmObject. Sure enough there is a “isValid” property in there: https://realm.io/docs/java/0.79.0/api/io/realm/RealmObject.html#isValid--

oh okay , mybad