Subject | RES: [Firebird-Java] Not implemented yet |
---|---|
Author | Francisco Vieira |
Post date | 2003-09-27T09:07:36Z |
Thanks Rick
I will have a look and try it, anyhow I have learnt interesting points about
JTable until now.
Have a good
day.
-----Mensagem original-----Hi Francisco,
De: Rick Fincher [mailto:rnf@...]
Enviada em: sexta-feira, 26 de setembro de 2003 17:47
Para: Firebird-Java@yahoogroups.com
Assunto: Re: [Firebird-Java] Not implemented yet
I recently heard about QuickTable which might be of interest to you. It is
a free JTable component with database access built in.
If you use the free version it puts a message at the top of your tables.
You can get the message free version for $87 (USD) and you can get the
source code for $370(USD).
There are no fees for distribution of your programs with QuickTable. I
haven't tried it yet but it looks interesting if you are developing Swing
apps. It works with JDBC drivers version 1.0 and up so JayBird should work
well with it.
The web site for download is:
http://dbtable.hypermart.net
There are tutorials and demos online there.
Rick
----- Original Message -----
> I want to thank you very much for your big answer my friend, actually I
dont
> know what version of JayBird I have, how can I check that? Never mind,
just
> in case I will download again, thanks anyway.
>
> You know it is very dificul to work with Models to JTables without those
> resultSet.absolute(n), etc...
> -----Mensagem original-----
> De: Rick Fincher [mailto:rnf@...]
> Enviada em: quinta-feira, 25 de setembro de 2003 16:22
> Para: Firebird-Java@yahoogroups.com
> Assunto: Re: [Firebird-Java] Not implemented yet
>
>
> Hi Francisco,
>
> In the FAQ distributed with JayBird there is a list of unimplemented
> methods. Most of the scrollable cursor methods are not implemented, so
> resultSet.absolute(xx) throws the "non implemented" exception. There
has
> been a lot of discussion about this lately so you might want to check
the
> list archives on yahoogroups to see what folks are saying.
>
> However, the call:
>
> Statement statement =
>
>
con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_
> ONLY);
>
> should work, because that is implemented.
>
> The code below is in the current cvs of
> client-java\src\main\org\firebirdsql\jdbc\FBconnection which implements
> the
> Connection interface for JayBird, so your statement call should work.
>
> What version of JayBird are you using?
>
> You might want to try downloading the most current version or the cvs
> sources in case this was implemented recently. I think it's been done
for
> awhile, though.
>
> You may also want to check to be sure you don't have an old copy of
> JayBird
> installed in your JVM's jre/lib/ext directory because it will be found
> first
> in your classpath and the old version of the driver will be used.
>
> Rick
>
>
> ------------------------------------
>
> //--------------------------JDBC 2.0-----------------------------
>
> /**
> *
> * Creates a <code>Statement</code> object that will generate
> * <code>ResultSet</code> objects with the given type and
concurrency.
> * This method is the same as the <code>createStatement</code>
method
> * above, but it allows the default result set
> * type and result set concurrency type to be overridden.
> *
> * @param resultSetType a result set type; see ResultSet.TYPE_XXX
> * @param resultSetConcurrency a concurrency type; see
> ResultSet.CONCUR_XXX
> * @return a new Statement object
> * @exception SQLException if a database access error occurs
> * @since 1.2
> * @see <a href="package-summary.html#2.0 API">What Is in the JDBC
2.0
> API</a>
> */
> public synchronized Statement createStatement(int resultSetType,
> int resultSetConcurrency) throws SQLException
> {
> if (resultSetType != ResultSet.TYPE_FORWARD_ONLY ||
> resultSetConcurrency != ResultSet.CONCUR_READ_ONLY)
> {
> addWarning(new SQLWarning("Unsupported type and/or
concurrency"));
> }
>
> Statement stmt = new FBStatement(this,
> ResultSet.CONCUR_READ_ONLY);
> activeStatements.add(stmt);
> return stmt;
> }
>
>
> ----- Original Message -----
>
> > Why is not possible to use:
> >
> > resultSet.absolute(xx) or
> >
> > Statement statement =
> >
>
>
con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_
> > ONLY);
> >
> > The exception is always: Not implemented yet
> >
> > Doesn`t JayBird support this kind of implementation?
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
> ---
> Outgoing mail is certified Virus Free.
>
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003
>
To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.