While writing a patch for SimpleNationalizedTest for missing scenarios I hit an issue.Anything represented as LongVarchar and accompanied with @Nationalized should be represented as LONGNVARCHAR
Hibernate uses TextType to interpret LongVarchar and I was expecting an instance of NTextType which does not happen as follows:

Error Message

java.lang.AssertionError: expected same:<org.hibernate.type.NTextType@1093ab9> was not:<org.hibernate.type.TextType@ee5fcf>

Stacktrace

java.lang.AssertionError: expected same:<org.hibernate.type.NTextType@1093ab9> was not:<org.hibernate.type.TextType@ee5fcf>
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotSame(Assert.java:641)
at org.junit.Assert.assertSame(Assert.java:580)
at org.junit.Assert.assertSame(Assert.java:593)
at org.hibernate.test.nationalized.SimpleNationalizedTest.simpleNationalizedTest(SimpleNationalizedTest.java:106)

Could you please provide an explanation?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira