Dear virtuoso devs,

A small thing in the JDBC drivers shipping with virtuoso.

When a method is not supported by the JDBC driver you often throw an 
exception like this.

public int setString(long pos, String str, int offset, int len) throws 
SQLException
      {
        throw new VirtuosoException ("Not implemented function", 
VirtuosoException.NOTIMPLEMENTED);
      }

e.g. see
https://github.com/openlink/virtuoso-opensource/blob/develop/7/libsrc/JDBCDriverType4/virtuoso/jdbc2/VirtuosoBlob.java#L785

Instead of the SQLFeatureNotSupportedException extending 
VirtuosoFNSException.

A small string replacement in the code of the VirtuosoBlob will get most 
of these very small annoyances. Its nothing serious but it is only a 
small piece of work.

Regards,
Jerven


-- 
-------------------------------------------------------------------
  Jerven Bolleman                        jerven.bolle...@isb-sib.ch
  SIB Swiss Institute of Bioinformatics  Tel: +41 (0)22 379 58 85
  CMU, rue Michel Servet 1               Fax: +41 (0)22 379 58 58
  1211 Geneve 4,
  Switzerland     www.isb-sib.ch - www.uniprot.org
  Follow us at https://twitter.com/#!/uniprot
-------------------------------------------------------------------

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to