geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu George <manu.t.geo...@gmail.com>
Subject OpenEJB PK issue
Date Wed, 14 Dec 2005 11:19:48 GMT
Hi Gianny,
                Was just seeing the fix you made. 1 question on that.
In CMPContainerBuilder there are 2 methods

private FaultHandler buildFaultHandler(SQLQueryBuilder queryBuilder, EJB
definingEJB, CMRField field, int slot, boolean prefetch) throws
QueryException
and
 private LinkedHashMap createCMPFieldAccessors(SQLQueryBuilder queryBuilder,
LinkedHashMap cmrFieldAccessor)

I feel that in both of these methods  instead of comparing based on
relatedEntity.getPrimaryKeyFields().size() we need to change to
ejb.isCompoundPK(). Am I right?

Thanks
Manu

Mime
View raw message