Java api for database data acessing