Menu

[ora10g] compile errors

Help
Balaji
2007-12-04
2013-04-25
  • Balaji

    Balaji - 2007-12-04

    Hi,

    Got three compilation issue with the generated code.  If you can suggest any lead ...

    sql2java 2.6.5
    jdk16 (tried compiling with jdk15 also)
    oracle 10g

    Error(601,26): constructor Long(boolean) not found in class java.lang.Long

    This is the code causing that error:
        public void setIssuccess(boolean newVal)
        {
            setIssuccess(new Long(newVal));
        }

    The sql defn for the above code is :
    ISSUCCESS NUMBER(1)

    Similarly, the default setting for date in the sql definition is causing error:

    Error(39,38): field SYSDATE not found in class tracker.data.AsJobreqhistBean

        the line is
             private java.util.Date reqdate = SYSDATE;

    The following looks like some missing jar.  Let me google for it.
    Error(99,13): Clob not found in class tracker.data.AsJobreqhistBean
     
         for
            private Clob topologydoc;

    Should I tweak "(7/8) JDBC TYPES Mapping" for any of the above issues?

    Thanks
    Balaji

     
    • Balaji

      Balaji - 2007-12-04

      ps: I am manually editing the files and trying to cross this hurdle.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.