Bug 1077285

Summary: [HHH-9057] Correct global identifier quoting for mssql
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Martin Simka <msimka>
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: jmartisk, 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:
https://hibernate.atlassian.net/browse/HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-28 15:28:39 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 Martin Simka 2014-03-17 16:07:02 UTC
https://hibernate.atlassian.net/browse/HHH-9057

EAP 6.3.0.DR4
Hibernate 4.2.10

org.hibernate.test.annotations.quote.QuoteGlobalTest.testTableGeneratorQuoting

Stacktrace:
java.lang.AssertionError: The identifier generator table should have validated.  Missing sequence or table: `[hibernate_sequences]`
	at org.junit.Assert.fail(Assert.java:93)
	at org.hibernate.test.annotations.quote.QuoteGlobalTest.testTableGeneratorQuoting(QuoteGlobalTest.java:97)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.hibernate.testing.junit4.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:63)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)

Comment 1 Brett Meyer 2014-03-17 19:22:09 UTC
Corrected upstream and will be a part of the ORM component upgrade in 1073085

Comment 3 Martin Simka 2014-04-01 11:13:12 UTC
verified on EAP 6.3.0.DR6