using table() through getSelectionFactory()