cancel
Showing results for 
Search instead for 
Did you mean: 

Using Java POJO classes as datasource?

Former Member
0 Kudos

Post Author: something_stupid

CA Forum: JAVA

Hi,

we have an arraylist of POJO classes that we would like to use as input to report.

We don't have a JDBC resultset because not all of these beans are database related.

Question: Is it mandatory that we have a function that returns a resultset in our POJO class? If not where can we find out how?

Thanks in advance,

Torsten

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Post Author: Ted Ueda

CA Forum: JAVA

You can use the POJO Factory class to convert POJO's to ResultSets, then report off them using JavaBeans connectivity.Here's the docs for JRC XI R2: http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/JRC_SDK/jrc_pojo_api_doc/doc/jrcs... JRC has folded the POJOResultSetFactory in one of the internal classes.Sincerely,Ted Ueda