Bug 1075482

Summary: org.hibernate.test.hql.ASTParserLoadingTest fails with postgresplus92
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jan Martiska <jmartisk>
Component: HibernateAssignee: Brett Meyer <brmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: Zbyněk Roubalík <zroubali>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.3.0CC: msimka, theute
Target Milestone: DR6   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:43:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1073085    

Description Jan Martiska 2014-03-12 09:13:17 UTC
08:38:25,094 DEBUG SQL:104 - create table Constructor (ID int8 not null, someString varchar(255), someNumber int4, someBoolean boolean, anotherBoolean boolean, primary key (ID))
08:38:25,095 ERROR SchemaExport:425 - HHH000389: Unsuccessful: create table Constructor (ID int8 not null, someString varchar(255), someNumber int4, someBoolean boolean, anotherBoolean boolean, primary key (ID))
08:38:25,095 ERROR SchemaExport:426 - ERROR: syntax error at or near "Constructor"

Constructor seems to be a reserved keyword in postgres plus 9.2, so it is not possible to create a table out ot org.hibernate.test.hql.Constructor entity without mapping it to another name.

Comment 1 Jan Martiska 2014-03-12 09:19:55 UTC
https://hibernate.atlassian.net/browse/HHH-9034

Comment 2 Brett Meyer 2014-03-12 16:56:01 UTC
Corrected upstream, will be in the component upgrade for EAP 6.3.0 ER1

Comment 4 Martin Simka 2014-04-01 11:17:31 UTC
verified on EAP 6.3.0.DR6