[ 
https://issues.apache.org/jira/browse/TORQUE-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Fox resolved TORQUE-303.
-------------------------------

    Resolution: Fixed

> 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 was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
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