My database uses 0,1 to indicate true fasle, please tell me how can I map this using hibernate annotaitons ?


Code:
	@Column(name="OBSOLETE_INDICATOR")
	@Type(type="true_false")
	private Boolean obsoleteIndicator;
I tried this, but this is always returning false. please tell me how to handle 0_1 for boolean property using annotation