"hilz" <now@y.com> wrotw...
>> Now, the tricky part should be how to access that system table from
>> Java...
>>
>> I believe I saw some hack in C++ a couple of years ago that could
>> accomplish this by some low level access to some native API, don't ask me
>> where I saw it...
> I don't believe you need a low level access to some native API to see
> those system tables because if you connect to MS Access using the
> myeclipse db explorer (odbc dns-less connection) you can see the system
> tables there. so i guess it is accessible through normal odbc.
Well, guessing is one thing... ;-)
Why would you guess that db explorer doesn't use lower level API's?
After all, they ship in different packages depending on operating systems,
which should mean that they have some JNI going on in there...
Have you tried to access the system tables in an Access database with jdbc
through just select statements in a default setup? That simply won't work,
as it will complain about unsufficient privilegies.
But I won't say that there couldn't be other ways to override the security
issues.
// Bjorn A
Jochen Riekhof - 27 Apr 2006 16:25 GMT
> Have you tried to access the system tables in an Access database with jdbc
> through just select statements in a default setup? That simply won't work,
> as it will complain about unsufficient privilegies.
>
> But I won't say that there couldn't be other ways to override the security
> issues.
First, Thank you for all the input!
Yep, insufficient privilegies is exactly what I experience even with ADO
queries. I will invesitagtte on getting the provileges for MSysObjects
as this seems to be the most feasible way to me.
Ciao
...Jochen