[
https://issues.jboss.org/browse/ARQ-1914?page=com.atlassian.jira.plugin.s...
]
Stefan Miklosovic commented on ARQ-1914:
----------------------------------------
new ByteArrayAsset("<beans>".getBytes())
that is completely wrong, where is your ending tag?
when you want to create emtpy beans.xml, create it like this
.addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml")
Arquillian embedded tests do not support @Convert/@Converter (JPA
2.1)
----------------------------------------------------------------------
Key: ARQ-1914
URL:
https://issues.jboss.org/browse/ARQ-1914
Project: Arquillian
Issue Type: Bug
Components: GlassFish Containers
Affects Versions: 1.1.6.Final
Reporter: Constantin Weißer
The arquillian glassfish embedded container (in the newest version 1.0.0.CR4) does simply
ignore @Convert annotations (JPA 2.1) which leads to errors when running tests that use
the persistence layer.
The error output contains
Internal Exception: Exception [EclipseLink-7155] (Eclipse Persistence Services -
2.2.0.v20110202-r8913)
which would explain, why it does not work. JPA 2.1 features are not implemented in
EclipseLink 2.2.0. Why does arquillian-glassfish-embedded use such an outdated version of
the persistence service?
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)