[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.dtp] Re: How to get dataset filters
|
Hi Frederic,
By "dataset filters", I presume you meant input parameter on a data set
query?
Which version of DTP or BIRT are you using? Prior to DTP 1.7, the ODA
runtime API sets an input parameter value only after IQuery#prepare, and
before it is executed. In 1.7, new experimental API is introduced to pass
in parameter and property values to an IQuery before its query text is
prepared; see http://wiki.eclipse.org/Galileo_DTP_ODA_API_Changes_Spec
So if you are working with the earlier API, one way to handle this is to do
minimal syntax checking at #prepare, and defer the full "prepare" operations
till #executeQuery is called. Hope this helps.
Linda