bump to java driver 2.12.0
check for empty entities before trying to save  fixes #594
check style fixes