Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dali-dev] failing tests

I have some failing tests, but I don't think they are the result of my changes....

All the failing tests are EclipseLink 1.1 tests. It looks like they fail with a NPE in the
WTP Translators because we have a 1.0 XmlEntity resource object when we should
have a
1.1 XmlEntity resource object (i.e. a 1.1 Translator is trying to translate a 1.0
object).

I wouldn't swear to it, but it looks like this is what happens:

- the bogus 1.0 XmlEntity is built in OrmEclipseLinkEntityProvider.buildResourceMapping()

- this is called because EclipseLin1_1MappingFileDefinition.buildOrmTypeMappingProviders()
    returns the
OrmEclipseLinkEntityProvider singleton in its list

I'm guessing we need an EclipseLink 1.1 EntityProvider (and EmbeddableProvider and
MappedSuperclassProvider?), and it (they?) should be listed in the EclipseLink 1.1
MappingFileDefinition's mapping providers.

Does this make sense to anyone?
Brian


Back to the top