The code that I am reading looks like :
@Entity
@Table(name = "TABLE_NAME")
public interface DAL_Object {
long condition_A_statisfied_Flag = 0x00000001;
.
.
.
@Id
@Column(name="COLUMN1_NAME")
.
.
.
}
What does these "flags" mean in the code? Is that some programming convention related to database or SQL?
condition_A_statisfied_Flag is just a long type variable some one has declared in this "DAL_Object" interface. And 1 is assigned to this variable. This has nothing to do with database or sql.
long condition_A_statisfied_Flag = 0x00000001;
User contributions licensed under CC BY-SA 3.0