Envers test table is too long causing Oracle failure

Description

New tests added in are failing on oracle databases.

org.hibernate.envers.test.integration.components.mappedsuperclass.EmbeddableWithDeclaredDataTest
org.hibernate.envers.test.integration.components.mappedsuperclass.EmbeddableWithNoDeclaredDataTest
org.hibernate.envers.test.integration.components.collections.mappedsuperclasselement.CollectionOfMappedSuperclassComponentsTest

Error: ORA-00972: identifier is too long

Name of EntityWithEmbeddableWithDeclaredData is too long. Max 30 characters is allowed on oracle.

Environment

oracle

Activity

Show:
Martin Simka
April 30, 2014, 8:19 AM

ah, sorry, I forgot to add summary and I cannot edit issue. Gail could you please fix it, thanks.

Brett Meyer
April 30, 2014, 1:23 PM

Sorry Gail, should have mentioned that. I tend to use explicit @Table names on tests, unless the entity name is "short enough".

Gail Badner
May 1, 2014, 1:02 AM

OK, I'm adding explicit @Table names to the tests. While I'm at it, I'm also fixing:

org.hibernate.envers.test.integration.components.dynamic.SanityCheckTest

Gail Badner
May 1, 2014, 2:08 AM

Fixed in master, 4.3, and 4.2 branches.

Assignee

Gail Badner

Reporter

Martin Simka

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure