Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Data Source for MS Access database
Data Source for MS Access database [message #689715] Tue, 28 June 2011 08:30 Go to next message
Sascha Vogt is currently offline Sascha VogtFriend
Messages: 18
Registered: March 2011
Junior Member
Hi all,

I'm currently confrontend with an MS Access (Jet 4.0) database, which I
would like to query from BIRT. Now I now, there are JDBC-ODBC bridges
which would allow a connection on Windows. But I didn't want to have the
hassle of such a complicated setup. So I looked around and found a nice
Java library (called jackcess) which can access the database quite nicely.

Now I would like to write an extension to BIRT to be able to work with
the Access db directly. Is there any documentation on how to write a
custom data source? Or would you recommend using some other sort of
connecting to an Access db?

Unfortunately jackcess doesn't allow standard SQL queries, so the
datasource would be more like the CSV datasources...

Greetings
-Sascha-
Re: Data Source for MS Access database [message #689928 is a reply to message #689715] Tue, 28 June 2011 15:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you going to write a scripted datasource against it or do you want a
ODA? If you need a GUI you will want to look into writing an ODA for
BIRT. See these to get yo started:

http://www.birt-exchange.org/org/devshare/designing-birt-reports/445-oda-primer-articles/

Jason

On 6/28/2011 4:30 AM, Sascha Vogt wrote:
> Hi all,
>
> I'm currently confrontend with an MS Access (Jet 4.0) database, which I
> would like to query from BIRT. Now I now, there are JDBC-ODBC bridges
> which would allow a connection on Windows. But I didn't want to have the
> hassle of such a complicated setup. So I looked around and found a nice
> Java library (called jackcess) which can access the database quite nicely.
>
> Now I would like to write an extension to BIRT to be able to work with
> the Access db directly. Is there any documentation on how to write a
> custom data source? Or would you recommend using some other sort of
> connecting to an Access db?
>
> Unfortunately jackcess doesn't allow standard SQL queries, so the
> datasource would be more like the CSV datasources...
>
> Greetings
> -Sascha-
Re: Data Source for MS Access database [message #690809 is a reply to message #689928] Thu, 30 June 2011 08:43 Go to previous messageGo to next message
Sascha Vogt is currently offline Sascha VogtFriend
Messages: 18
Registered: March 2011
Junior Member
Hi Jason,

your tutorial is really great. Last night I was able to get a first
prototype working.

Is there interest in having a native (Java, platform-independant) BIRT
plugin for MS Access? I would be willing to donate my version once its
(more) useable. (There might be some legal issues, as I don't think the
third-party libs are already available in Orbit, namely Bouncycastle
might be a problem here)

If no such interest exists I'll spare my time in polishing the plugin.

Greetings
-Sascha-

Am 28.06.2011 17:32, schrieb Jason Weathersby:
> Are you going to write a scripted datasource against it or do you want a
> ODA? If you need a GUI you will want to look into writing an ODA for
> BIRT. See these to get yo started:
>
> http://www.birt-exchange.org/org/devshare/designing-birt-reports/445-oda-primer-articles/
>
>
> Jason
>
> On 6/28/2011 4:30 AM, Sascha Vogt wrote:
>> Hi all,
>>
>> I'm currently confrontend with an MS Access (Jet 4.0) database, which I
>> would like to query from BIRT. Now I now, there are JDBC-ODBC bridges
>> which would allow a connection on Windows. But I didn't want to have the
>> hassle of such a complicated setup. So I looked around and found a nice
>> Java library (called jackcess) which can access the database quite
>> nicely.
>>
>> Now I would like to write an extension to BIRT to be able to work with
>> the Access db directly. Is there any documentation on how to write a
>> custom data source? Or would you recommend using some other sort of
>> connecting to an Access db?
>>
>> Unfortunately jackcess doesn't allow standard SQL queries, so the
>> datasource would be more like the CSV datasources...
>>
>> Greetings
>> -Sascha-
>
Re: Data Source for MS Access database [message #691044 is a reply to message #690809] Thu, 30 June 2011 15:11 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Sascha,

We are always looking for contributions. Once you get this in a state
that you feel like sharing, please open a bug and post the code. Also
post the bug id here and if you do not mind put me on the bug as well or
email me when you have done it. My email is jasonweathersby at
windstream dot net.

Jason

On 6/30/2011 4:43 AM, Sascha Vogt wrote:
> Hi Jason,
>
> your tutorial is really great. Last night I was able to get a first
> prototype working.
>
> Is there interest in having a native (Java, platform-independant) BIRT
> plugin for MS Access? I would be willing to donate my version once its
> (more) useable. (There might be some legal issues, as I don't think the
> third-party libs are already available in Orbit, namely Bouncycastle
> might be a problem here)
>
> If no such interest exists I'll spare my time in polishing the plugin.
>
> Greetings
> -Sascha-
>
> Am 28.06.2011 17:32, schrieb Jason Weathersby:
>> Are you going to write a scripted datasource against it or do you want a
>> ODA? If you need a GUI you will want to look into writing an ODA for
>> BIRT. See these to get yo started:
>>
>> http://www.birt-exchange.org/org/devshare/designing-birt-reports/445-oda-primer-articles/
>>
>>
>> Jason
>>
>> On 6/28/2011 4:30 AM, Sascha Vogt wrote:
>>> Hi all,
>>>
>>> I'm currently confrontend with an MS Access (Jet 4.0) database, which I
>>> would like to query from BIRT. Now I now, there are JDBC-ODBC bridges
>>> which would allow a connection on Windows. But I didn't want to have the
>>> hassle of such a complicated setup. So I looked around and found a nice
>>> Java library (called jackcess) which can access the database quite
>>> nicely.
>>>
>>> Now I would like to write an extension to BIRT to be able to work with
>>> the Access db directly. Is there any documentation on how to write a
>>> custom data source? Or would you recommend using some other sort of
>>> connecting to an Access db?
>>>
>>> Unfortunately jackcess doesn't allow standard SQL queries, so the
>>> datasource would be more like the CSV datasources...
>>>
>>> Greetings
>>> -Sascha-
>>
>
>
Previous Topic:Web Service Data Source - Authentication?
Next Topic:How To Access Existing DataSet from Java?
Goto Forum:
  


Current Time: Tue Apr 23 08:07:12 GMT 2024

Powered by FUDForum. Page generated in 0.03456 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top