cancel
Showing results for 
Search instead for 
Did you mean: 

Table Displaying only one record ....

Former Member
0 Kudos

Hi,

We have a strange problem in displaying data in a table.

We have 2 different WAS installations (WAS 640 and was 7.0). We have a application which retrives data from a data base using EJB's. when we deploy and run the application on WAS 7.0 , it works fine displaying all the records. However when we deploy and run the same application on was 640, the table displays only single record.

when we executed the application in debug mode on was 640, we found that the multiple records are been retrived and are set in the context accordingly, however the table displays only one record.

Note: we have confirmed that the Database accessed in both case is same and contains multiple records.

we would appreciate any help/ guidance from the forum members in resolving the said problem.

Thanks and Looking forward for guidance.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Hi Sonal,

Check cardinality of node which is used to keep the data coming from EJB. Seems like it is 1..1 or 0..1. Should be 0..N or 1..N.

Best regards, Maksim Rashhcynski.

Former Member
0 Kudos

Thanks Maksim,

We have checked the cardinality it is set correct. In fact the same application when deployed on a different WAS installation (ie WAS 7.0) it is displaying all the records.

Further we tried executing some test applications displaying multiple records using table and it was observed that for all the applications the table only displays one record when deployed on the WAS 640 installation, however the same table displays all the records when deployed on a WAS 7.0.