Database raw value class implementation