Arun,
You might want to configure the JPA default datasource:
<subsystem xmlns="urn:jboss:domain:jpa:1.1">
<jpa default-datasource="java:jboss/datasources/ExampleDS"
default-extended-persistence-inheritance="DEEP"/>
</subsystem>
Also,
https://github.com/arun-gupta/javaee7-samples/pull/32 can be
hacked around today (I didn't have a chance to update the pull request yet).
Scott
On 10/27/2013 05:44 PM, Arun Gupta wrote:
Hello there ...
Some of you may know me but let me introduce myself. I've joined Red
Hat as Director of Developer Advocacy last week and will be focusing
on JBoss Middleware. Read more about introduction at:
http://blog.arungupta.me/2013/10/farewell-from-oracle/
I would love to engage with you in making the developer experience
seamless for WildFly. I'm using a gmail id for now until my corporate
email is properly configured but feel free to reach out to me if you
have any questions.
Now to the technical part. I've created a bunch of Java EE 7 samples at:
http://github.com/arun-gupta/javaee7-samples
Originally, these samples were built/run on GlassFish and now I'm
trying to run them on WildFly. Some questions while I'm running these
samples ..
- Java EE 7 runtime require a database to be provisioned at runtime.
GlassFish download comes bundled with JavaDB. What is the typical
choice for WildFly developers ?
- How is the default JDBC resource configured for this database ? What
is the actual JDBC resource name ?
- Are any RI from GlassFish are used in WildFly ? I'd like to
understand where each of the JSR implementations in WildFly are coming
from ?
- How is a database associated with Batch RI configured for WildFly ?
- I've seen some samples are not working as expected. These might be
bugs either in sample or in WildFly. Should I file them in the issue
tracker for further discussion or discuss first and then file ?
Thanks
Arun