[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6705) SQL datatypes for booleans not being handled correctly

Brad Maxwell (JIRA) noreply at atlassian.com
Fri Sep 30 18:48:20 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43934#comment-43934 ] 

Brad Maxwell commented on HHH-6705:
-----------------------------------

Server log 

17:44:19,891 INFO  [java.sql.DatabaseMetaData] (MSC service thread 1-3) HHH000262: Table not found: TestEntity
17:44:19,893 INFO  [java.sql.DatabaseMetaData] (MSC service thread 1-3) HHH000262: Table not found: TestEntity
17:44:19,898 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-3) HHH000388: Unsuccessful: create table TestEntity (Id number(19,0) not null, BoolObject boolean, BoolPrim boolean, primary key (Id))
17:44:19,898 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-3) ORA-00902: invalid datatype

17:44:19,898 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (MSC service thread 1-3) HHH000232: Schema update complete

Attaching full AS 7.1 Alpha 2 log and test case.

Test cause is using OracleDS at java:jboss/datasources/ExampleOracleDS using ojdbc6.jar in deployments directory.

Started server with:
./standalone.sh --server-config=standalone-preview.xml

To test create ExampleOracleDS and deploy hhh-6705.war

> SQL datatypes for booleans not being handled correctly
> ------------------------------------------------------
>
>                 Key: HHH-6705
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6705
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.0.0.CR4
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 4.0.0.next
>
>         Attachments: hhh-6705-server.log, hhh-6705.war, hhh-6705.war.zip
>
>
> Perhaps due to changes for metamodel... 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list