db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TORQUE-303) Unknown datatype in generation of schema from database causes NPE
Date Mon, 16 Sep 2013 19:42:51 GMT
Thomas Fox created TORQUE-303:
---------------------------------

             Summary: Unknown datatype in generation of schema from database causes NPE
                 Key: TORQUE-303
                 URL: https://issues.apache.org/jira/browse/TORQUE-303
             Project: Torque
          Issue Type: Bug
          Components: Generator
    Affects Versions: 4.0
            Reporter: Thomas Fox
            Assignee: Thomas Fox
             Fix For: 4.1


When database schema information is read by the generator from the database and an unknown
datatype is encountered, a NullPointerException occurs:
java.lang.NullPointerException
at org.apache.torque.generator.source.jdbc.JdbcMetadataSource.createRootElement(JdbcMetadataSource.java:215)
at org.apache.torque.generator.source.SourceImpl.getRootElement(SourceImpl.java:48)
at org.apache.torque.generator.control.Controller.processSourceInOutput(Controller.java:256)

In such cases, type information should be omitted from the generated schema to indicate that
the type is unknown.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message