Skip to content

Commit 2006db1

Browse files
committed
fix a test to consistently use quoted column names
not doing so caused the test to fail on Informix (and possibly other dbs)
1 parent 4320867 commit 2006db1

File tree

1 file changed

+1
-3
lines changed
  • hibernate-core/src/test/java/org/hibernate/orm/test/annotations/quote/resultsetmappings

1 file changed

+1
-3
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/annotations/quote/resultsetmappings/MyEntity.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@
1515
import jakarta.persistence.Table;
1616

1717
/**
18-
* TODO : javadoc
19-
*
2018
* @author Steve Ebersole
2119
*/
2220
@SqlResultSetMappings({
2321
@SqlResultSetMapping(
2422
name="explicitScalarResultSetMapping",
25-
columns={ @ColumnResult(name="QuotEd_nAMe") }
23+
columns= @ColumnResult( name = "\"QuotEd_nAMe\"" )
2624
)
2725
,
2826
@SqlResultSetMapping(

0 commit comments

Comments
 (0)