|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
BO Modelling: Cardinality |
« View previous topic :: View next topic » |
Author |
Message
|
SpitFire |
Posted: Mon Apr 24, 2006 3:37 am Post subject: BO Modelling: Cardinality |
|
|
 Acolyte
Joined: 01 Aug 2005 Posts: 59 Location: India
|
Hi all,
I would like to know if there is a way to retrict the maximum number of records(BO's) the adapter retrieves from the database.
Say, for instance I have modelled business objects as given below.
OUTER_BO (WRAPPER=true)
--EMPID
--EMPNAME
--INNER_BO (TN=EMPLOYEE;SCN=) - CARDINALITY:'N'
----EMPID (CN=EMPID;FK=EMPID) - KEY:'Y'
----EMPNAME (CN=EMPNAME; FK=EMPNAME) - KEY:'Y'
Now, based on the values I set to the fields 'EMPID' or 'EMPNAME', records will be fetched from the database into the childBO. However, I would like to know if it is possible to restrict the number of child BO's to generate, to a finite integer.
I'm using WBIMB(5.0.5), JDBC Adapters(2.6) and Oracle (10G.R2).
I tried using the 'ResultSetEnabled' and 'ResultSetSize' properties of the connector to limit the records returned by the adapter. Nevertheless, that turned out to be of no use. _________________ ...: 5|71+ph1|23 :... |
|
Back to top |
|
 |
Kram |
Posted: Tue Apr 25, 2006 7:13 am Post subject: |
|
|
Voyager
Joined: 02 Mar 2006 Posts: 87
|
I am not sure how this can be done in MB
But while using ICS.. we can handle this in the mapping code where we can restrict the number of child objects which can be created. may be this can also be done in MB... just a guess.. _________________ Regards,
Ram |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|