Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8499

Provide support for Seam 3 transactions

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.3.0.M1
    • 3.2.0.Final
    • cdi, seam2
    • None

      Currently, when I import existing maven project with Seam Transactions, the editor complains about incorrect tag in beans.xml file. The transactions implementation is currently in the seam-persistence module (http://sfwk.org/Seam3/PersistenceModule). I imported a project from Remoting module which uses this transaction management (by including the persistence's jars. It's the Validation example (https://github.com/seam/remoting/tree/master/examples/validation).

      After importing these project into Eclipse it complains about the following lines in the beans.xml:

      <p:SeSynchronizations>
      <s:modifies/>
      </p:SeSynchronizations>

      The error message is simply something like "Invalid content was found starting with element 'p:SeSynchronizations' ... "

      The whole beans.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="urn:java:org.jboss.seam.persistence.transaction"
      xmlns:s="urn:java:ee"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
      http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">

      <p:SeSynchronizations>
      <s:modifies/>
      </p:SeSynchronizations>

      <interceptors>
      <class>org.jboss.seam.persistence.transaction.TransactionInterceptor</class>
      </interceptors>

      </beans>

      Note that there was a discussion about moving the transaction management into another module. Ask module lead about this.

        1. beans.xml_Editor.png
          128 kB
          Viacheslav Kabanovich

            scabanovich Viacheslav Kabanovich (Inactive)
            mgencur Martin Gencur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: