Merge pull request #80 from jenmalloy/RHSSO-942-part2

edited warning sentence to be grammatically correct
This commit is contained in:
Jen Malloy 2017-03-29 13:38:18 -04:00 committed by GitHub
commit 965e97656a

View file

@ -79,9 +79,9 @@ public class EjbExampleUserStorageProviderFactory
This example also assumes that you have defined a JPA deployment in the same JAR as the provider. This means a `persistence.xml` This example also assumes that you have defined a JPA deployment in the same JAR as the provider. This means a `persistence.xml`
file as well as any JPA `@Entity` classes. file as well as any JPA `@Entity` classes.
WARNING: When doing JPA any additional datasource you use must be an XA datasource. The {{book.project.name}} datasource WARNING: When using JPA any additional datasource must be an XA datasource. The {{book.project.name}} datasource
is non-xa. If you interact with two or more non-xa datasource in the same transaction, the server returns is not an XA datasource. If you interact with two or more non-XA datasources in the same transaction, the server returns
an error message. Only one non-xa resource is permitted in a single transaction. an error message. Only one non-XA resource is permitted in a single transaction.
See the JBoss/Wildfly manual for more details on deploying an XA datasource. See the JBoss/Wildfly manual for more details on deploying an XA datasource.