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-unsubscr...@db.apache.org
For additional commands, e-mail: torque-dev-h...@db.apache.org

Reply via email to