[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.ejb-orm] Re: JDO fetch-groups important for RCP, EJB3 doesn't have comparable concept

btw. just got aware by a tip and re-reading that EJB3 actually have lazy fetching of properties (got to keep up ;).

@Basic
protected String name;

@Basic(fetch=LAZY)
protected byte[] pic;

so, there you have it - this one will always fetch name, but only lazy load pic when needed. Problem solved.

/max