[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.birt] Re: ODA when scalar is not enough

Daniel,

That is a current design limitation. One option is to add your object(s) to the app context with or without and oda, and then use either a scripted datasource written in Java/JavaScript to pull the object out and manipulate it.

For that matter you can just use script in a data items oncreate method to pull the object out and call a method on it.

Jason

Daniel Cardin wrote:
I have downloaded and examined the source to the JPA plugin and have found a limitation that I believe goes back to ODA itself and I would like some opinions.

Basically the problem I have is that I am not content with scalar queries. I want to be able to return Objects to the report and evaluate properties on it. I figured it would be very easy, just returning the object itself in one of the resultset's column... However it only supports primitives.

IResultSet has no method to retrieve an object from the underlying query mechanism... Was that by design or a design flaw?

Is there a way around this? I would hate to serialize it to a blob just to access it...

Thanks!