Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Create MySql Dataset at Runtime
Create MySql Dataset at Runtime [message #785521] Sat, 28 January 2012 23:52 Go to next message
karvesh ghunsam is currently offline karvesh ghunsam
Messages: 95
Registered: July 2011
Member
Dear All,

Could anyone please give me an example how to create a Mysql Dataset at runtime?

Thanks in advance

Karvesh
Re: Create MySql Dataset at Runtime [message #786629 is a reply to message #785521] Mon, 30 January 2012 11:52 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Are wanting to do this in script?

Jason

On 1/28/2012 11:52 PM, karvesh Mising name wrote:
> Dear All,
>
> Could anyone please give me an example how to create a Mysql Dataset at
> runtime?
>
> Thanks in advance
>
> Karvesh


Jason Weathersby

BIRT Exchange
Re: Create MySql Dataset at Runtime [message #786985 is a reply to message #786629] Mon, 30 January 2012 21:45 Go to previous messageGo to next message
karvesh ghunsam is currently offline karvesh ghunsam
Messages: 95
Registered: July 2011
Member
Dear Jason,

if possible yes.
I also want to add onFetch events in the code while creating the dataset too.

Is there a way to do it?

Thanks in advance

Karvesh
Re: Create MySql Dataset at Runtime [message #787470 is a reply to message #786985] Tue, 31 January 2012 11:09 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at the attached example. It creates a jdbc data source/set
and a table. It does not add the script but you can do this by using:

dsHandle.setOnFetch(code) where code is a string.

Jason

On 1/30/2012 9:45 PM, karvesh Mising name wrote:
> Dear Jason,
>
> if possible yes.
> I also want to add onFetch events in the code while creating the dataset
> too.
>
> Is there a way to do it?
>
> Thanks in advance
>
> Karvesh


Jason Weathersby

BIRT Exchange
Re: Create MySql Dataset at Runtime [message #787473 is a reply to message #786985] Tue, 31 January 2012 11:09 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Take a look at the attached example. It creates a jdbc data source/set
and a table. It does not add the script but you can do this by using:

dsHandle.setOnFetch(code) where code is a string.

Jason

On 1/30/2012 9:45 PM, karvesh Mising name wrote:
> Dear Jason,
>
> if possible yes.
> I also want to add onFetch events in the code while creating the dataset
> too.
>
> Is there a way to do it?
>
> Thanks in advance
>
> Karvesh


Jason Weathersby

BIRT Exchange
Re: Create MySql Dataset at Runtime [message #787850 is a reply to message #787473] Tue, 31 January 2012 22:26 Go to previous message
karvesh ghunsam is currently offline karvesh ghunsam
Messages: 95
Registered: July 2011
Member
Dear Jason,

Thanks a lot again!! Works perfectly

Karvesh
Previous Topic:How to Hide Table Detail Row Runtime
Next Topic:Custom emitter
Goto Forum:
  


Current Time: Sat Apr 19 11:48:50 EDT 2014

Powered by FUDForum. Page generated in 0.09875 seconds