Fix MAGMA-246: Implement getTimestamps in HibernateDatasource
Fix warnings