Hi Everybody.
If i do an 'entity-one' on a view which consist out of two tables like:
<entity-one entity-name="ContentDataResourceView" value-name="outputView">
<field-map field-name="contentId" env-name="parameters.forumMessageId"/>
</entity-one>
I get nothing and the log tells me:
PrimaryKeyFinder.java:132:INFO ] Returning null because found incomplete
primary key in find: [GenericEntity:ContentDataResourceView]
[contentId,msg10002(java.lang.String)]
This view is a one-one relationship between two tables so the contentId should
be enough for the primary key, however the system thinks it needs the
resourceId which is the connection between the two tables too...
Am i overlooking something?
--
met vriendelijke groet,
Hans Bakker
A-NeT Internet Services (www.a-net.nl)
E-Mail public key can be downloaded from:
www.a-net.nl/hbakkerA-net.asc
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (
http://www.antwebsystems.com)
If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev