Switching to Derby database