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] [Resolved] (TORQUE-303) Unknown datatype in generation of schema from database causes NPE
Date Wed, 06 Nov 2013 20:27:18 GMT

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


Mime
View raw message