[
https://issues.jboss.org/browse/JBIDE-9481?page=com.atlassian.jira.plugin...
]
Alexey Kazakov commented on JBIDE-9481:
---------------------------------------
*test-warEntityManagerFactory* is not a component name. It's a JNDI name of the
persistence unit for EntityManager. Seam component name which manages those EntityManager
instances is *entityManager* by default:
{code}
<persistence:managed-persistence-context name="entityManager"
auto-create="true"
persistence-unit-jndi-name="java:/test-warEntityManagerFactory"/>
{code}
And it works fine in runtime. At least with Seam 2.2 + AS 5.1.
Did I miss something?
JBDS should filter Seam components name containing dash
-------------------------------------------------------
Key: JBIDE-9481
URL:
https://issues.jboss.org/browse/JBIDE-9481
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam2
Affects Versions: 3.2.0.Final
Reporter: Tomáš Remeš
Assignee: Alexey Kazakov
JBDS should filter Seam components name containing dash. Similarly to seam-gen where the
dash in the name is replaced to underscore character. If i create new Seam Web Project in
JBDS for example with name "test-war" then in components.xml is registered
component test-warEntityManagerFactory, which is not valid Seam Component name.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira