Thanks Andreas but I'm using EJBs for persistence and session beans, and
using tapestry for the web layer.
So my stateless session beans are

@EJB
private SomeObjectFacadeLocal objectService ;

in the tapestry classes.

Like http://jumpstart.doublenegative.com.au/jumpstart/examples/state/atejb

Not using tapestry-jpa or tapestry-hibernate

I'm really only testing what I can do with something like
http://stackoverflow.com/questions/16379605/how-to-work-with-javax-persistence-sql-load-script-source

To load up a default user for a tapestry-security on deployment.  My
insert.sql has something like
insert if not exist into user (`username`,`pass`) values
('blahchris','urawesome');



Good to know anyways :)

Chris




On Fri, Dec 20, 2013 at 7:22 PM, Andreas Ernst <a...@ae-online.de> wrote:

> Hi,
>
> Am 20.12.13 03:11, schrieb Chris Mylonas:
>
>  Hi All,
>>
>> Just a heads up.
>>
>> I've just tested deploying an EAR with glassfish 4 because I thought I'd
>> try a JPA-2.1 sql inject on load setting available through the
>> persistence.xml that would be handy for my current dev project.
>>
>
> JPA 2.1 is not working, you must use version 1.
>
> https://issues.apache.org/jira/browse/TAP5-2206
>
> --
> ae | Andreas Ernst | IT Spektrum
> Postfach 5, 65612 Beselich
> Schupbacher Str. 32, 65614 Beselich, Germany
> Tel: +49-6484-91002 Fax: +49-6484-91003
> a...@ae-online.de | www.ae-online.de
> www.tachyon-online.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to