db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-4876) Deprecation warnings in VTITemplate
Date Sat, 30 Oct 2010 19:23:19 GMT
Deprecation warnings in VTITemplate
-----------------------------------

                 Key: DERBY-4876
                 URL: https://issues.apache.org/jira/browse/DERBY-4876
             Project: Derby
          Issue Type: Improvement
          Components: Demos/Scripts
    Affects Versions: 10.7.1.0
            Reporter: Knut Anders Hatlen
            Assignee: Knut Anders Hatlen
            Priority: Minor


I see four deprecation warnings in java/demo/vtis/..../VTITemplate.java when I run "ant -q
all".

    [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:354:
warning: [deprecation] getUnicodeStream(java.lang.String) in java.sql.ResultSet has been deprecated
    [javac]     public java.io.InputStream getUnicodeStream(String columnName) throws SQLException
{
    [javac]                                ^
    [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:300:
warning: [deprecation] getBigDecimal(java.lang.String,int) in java.sql.ResultSet has been
deprecated
    [javac]     public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException
{
    [javac]                       ^
    [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:209:
warning: [deprecation] getUnicodeStream(int) in java.sql.ResultSet has been deprecated
    [javac]     public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException
{
    [javac]                                ^
    [javac] /code/derby/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/VTITemplate.java:155:
warning: [deprecation] getBigDecimal(int,int) in java.sql.ResultSet has been deprecated
    [javac]     public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
{
    [javac]                       ^
    [javac] 4 warnings

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message