Hello,

I use Apache Cayenne for a while now with no problem, but I went into a new
issue today.

I have an Oracle data table containing 2 BLOB fields.
When I get the rows from this table, Cayenne also fetches the BLOB data, so
the query is veeeeery long, or I get a time out exception.

I tryed :

SelectQuery query = new SelectQuery(MyClass.class);
query.setFetchingDataRows(false);
context.performQuery(query);

and to define an Object Select Query in the modeler but the result is the
same.

What I would like is the BLOB data to be fetched only on demand, when I call
the myEntity.getMyBlobField() method.

Did I miss someting ?


Thank you for your help,
Pierre

Reply via email to