membershipDAO_ = new MembershipDAOImpl(listenerService, datasource, new MembershipMapper(), this);
userProfileDAO_ = new UserProfileDAOImpl(listenerService, datasource, new UserProfileMapper(), userDAO_);
DBTableManager dbManager = datasource.getDBTableManager();
if (!dbManager.hasTable(UserImpl.class))
dbManager.createTable(UserImpl.class, false);
if (!dbManager.hasTable(GroupImpl.class))
dbManager.createTable(GroupImpl.class, false);
if (!dbManager.hasTable(MembershipTypeImpl.class))
dbManager.createTable(MembershipTypeImpl.class, false);