You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That leads to a compilation error in the generated DAO, which refers to the columns as follows:
/** * Fetch records that have <code>PRIVATE BETWEEN lowerInclusive AND * upperInclusive</code> */publicList<org.jooq.codegen.test.visibility.db.tables.pojos.Visibility> fetchRangeOfPrivate(IntegerlowerInclusive, IntegerupperInclusive) {
returnfetchRange(Visibility.VISIBILITY.PRIVATE, lowerInclusive, upperInclusive);
}
/** * Fetch records that have <code>PRIVATE IN (values)</code> */publicList<org.jooq.codegen.test.visibility.db.tables.pojos.Visibility> fetchByPrivate(Integer... values) {
returnfetch(Visibility.VISIBILITY.PRIVATE, values);
}
We mustn't generate these utility methods if the visibility is non-public. If the visibility was package private or protected, we could still check if the DAO is in the same package as the table.
The text was updated successfully, but these errors were encountered:
There's a test that makes the visibility of a field private:
That leads to a compilation error in the generated
DAO
, which refers to the columns as follows:We mustn't generate these utility methods if the visibility is non-public. If the visibility was package private or
protected
, we could still check if theDAO
is in the same package as the table.The text was updated successfully, but these errors were encountered: