adding java docs in db package (bis) and solving overide issues