[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6041) attempting to create a birt report with EnumType, gives Enuy

Elhanan Maayan (JIRA) jira-events at lists.jboss.org
Wed Mar 10 10:53:38 EST 2010


attempting to create a birt report with EnumType, gives  Enuy
-------------------------------------------------------------

                 Key: JBIDE-6041
                 URL: https://jira.jboss.org/jira/browse/JBIDE-6041
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: birt
    Affects Versions: 3.1.0.GA
         Environment: eclipse 3.5.2, java 1.6 
            Reporter: Elhanan Maayan


[select p.userName,p.letterTemplate.description,p.letterTemplate.templateType  ,p.policy.policyId,p.created from PostedAda p]
'org.hibernate.type.EnumType' is not a valid type.
    at org.eclipse.birt.data.engine.odaconsumer.Connection.throwDataException(Connection.java:363)
    at org.eclipse.birt.data.engine.odaconsumer.Connection.prepareOdaQuery(Connection.java:308)
    at org.eclipse.birt.data.engine.odaconsumer.Connection.prepareStatement(Connection.java:204)
    at org.eclipse.birt.data.engine.executor.DataSource.prepareStatement(DataSource.java:268)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:274)
    at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:413)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:339)
    ... 82 more
Caused by: org.eclipse.datatools.connectivity.oda.OdaException: 'org.hibernate.type.EnumType' is not a valid type.
    at org.jboss.tools.birt.oda.impl.AbstractOdaFactory.parseQuery(AbstractOdaFactory.java:110)
    at org.jboss.tools.birt.oda.impl.AbstractOdaFactory.prepare(AbstractOdaFactory.java:49)
    at org.jboss.tools.birt.oda.impl.HibernateOdaQuery.prepare(HibernateOdaQuery.java:48)
    at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.doPrepare(OdaQuery.java:229)
    at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.prepare(OdaQuery.java:186)
    at org.eclipse.birt.data.engine.odaconsumer.Connection.prepareOdaQuery(Connection.java:300)
    ... 87 more
this is after i'ved added hibernate anotations to the classpath

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list