We looked into the MySQL driver and it does the same type of thing..
(returns a blank string)
If you do make the following change in RS.java:
public String getSchemaName(int col) throws SQLException {
throw new SQLException("NYI");
}
to:
public String getSchemaName(int col) throws SQLException {
return "";
}
That would be great, Looking forward to the next release... Thanks in
advance!
On Jun 21, 4:36 pm, "David Crawshaw" <[EMAIL PROTECTED]>
wrote:
> On 22/06/07, Murphy <[EMAIL PROTECTED]> wrote:
>
> > OK, I just managed to get the SQLiteJDBC source set up as Eclipse
> > project and tweaked the RS implementation a bit:
>
> > --8><--
> > public String getSchemaName(int col) throws SQLException {
> > return new String(); }
> > --><8--
>
> > did the trick to get CachedRowSet to work. As Javadoc states "Returns:
> > schema name or "" if not applicable", I think returning an empty
> > string should be OK for now. David, would you consider including this
> > workaround into the next release?
>
> If that's what the Javadoc says I'll be happy to put it in the next
> release, coming out some time next week. I tried to catch all of the
> methods that can return trivial values like that, but there are a lot
> of them.
>
> Amazingly, I've never heard of the CachedRowSet. It sounds like
> exactly what some people have requested I build directly into the
> driver.
>
> d.
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---