I have table, which have composite key as primary key. (I am creating entity from editor. Database contain many tables, hence list of tables are not displayed in data model editor)
While creating entity I have mapped both field (which are primary keys in database ) as Id fields (OrderNumber and itemNumber)
After deploying model on server and executing code, I am not getting result.
Also no error message is displayed on console of LCDS server.
Can composite key be used in data modeling. If yes, what is proper way to configure composite key.
I am using LCDS 3.1 and lastest version of plugin for Flash Builder 4
<entity name="LineItemBean" persistent="true">
<annotation name="VisualModeler" width="239" height="123" x="293" y="51"/>
<annotation name="ServerProperties" ServerType="LCDS"/>
<annotation name="DMS" Table="ADVJPMT.ITEMS" use-transactions="false"/>
<annotation name="ActionScriptGeneration" Package="valueObjects" ImplicitServicePackage="services"/>
<id name="orderNumber" type="integer" generated="false">
<annotation name="DMS" ColumnName="ORDER_NUMBER"/>
</id>
<id name="itemNumber" type="integer" generated="false">
<annotation name="DMS" ColumnName="ITEM_NUMBER"/>
<annotation name="ActionScriptGeneration" DisableAutoReCalc="true"/>
</id>
<property name="quantity" type="integer">
<annotation name="DMS" ColumnName="QUANTITY"/>
<annotation name="ActionScriptGeneration" DisableAutoReCalc="true"/>
</property>
</entity>