The saga continues!  So I changed the primary key class to have a public
member value
and updated the orion-ejb-jar  (basically replaced the properties tag
with fields and changed the guid class to have a public member in
addition to the get/setValue).  Once again, the tables get created but
deployment fails.  It is almost as if the SQL code generator is not
understanding the primkey-mapping?  Please help!

<primkey-mapping>
<cmp-field-mapping name="guid">
    <fields>
        <cmp-field-mapping name="value" persistence-name="guidValue" />
    </fields>
</cmp-field-mapping>
</primkey-mapping>

Upon deployment, I still get the error:
Found 2 semantic errors compiling
"C:/orion/DiscussionItem_EntityBeanWrapper14.j
ava":

  1935.                                         if(object.value == null)
stateme
nt.setNull(currentStatementPosition++, java.sql.Types.VARCHAR);
                                                   <---------->
*** Error: No field named "value" was found in type
"DiscussionItemBean_Persiste
nceManager31".




Reply via email to