geopackage-sdk/src/main/java/mil/nga/geopackage/user/custom/UserCustomDao.java
public static UserCustomDao readTable(GeoPackage geoPackage, String tableName) {

        UserCustomConnection userDb = new UserCustomConnection(geoPackage.getConnection());
        final UserCustomTable userCustomTable = UserCustomTableReader.readTable(
                geoPackage.getConnection(), tableName);
        UserCustomDao dao = new UserCustomDao(geoPackage.getName(), geoPackage.getConnection(), userDb,
                userCustomTable);

        dao.registerCursorWrapper(geoPackage);

        return dao;
    }
public static UserCustomDao readTable(GeoPackage geoPackage, String tableName) {

        UserCustomConnection userDb = new UserCustomConnection(geoPackage.getConnection());
        final UserCustomTable userCustomTable = UserCustomTableReader.readTable(
                geoPackage.getConnection(), tableName);
        UserCustomDao dao = new UserCustomDao(geoPackage.getName(), geoPackage.getConnection(), userDb,
                userCustomTable);

        dao.registerCursorWrapper(geoPackage);

        return dao;
    }
Read the database table and create a DAO

@param geoPackage GeoPackage
@param tableName  table name
@return user custom DAO