Thank you very much!
On Dec 29, 2010, at 1:15 PM, Aaron Porter wrote:
> Hi Joaquin,
> Yes, you can use Stripersist outside of a web app but generally you
> don't need to. JPA is very easy to use directly. Stripersist is really
> just glue between JPA and Stripes (and some syntactical sugar).
>
> If you really want to use it, you just need to do something like this:
>
> // You have to do this once in your application before using Stripersist:
> new Stripersist().init(getClass().getResource("/META-INF/persistence.xml"));
>
>
> // Any requests to Stripersist need to happen inside of this block
> Stripersist.requestInit();
> try {
> // Use Stripersist in here
> }
> finally {
> Stripersist.requestComplete();
> }
>
> Aaron
>
> On 12/29/2010 01:45 PM, Joaquin Valdez wrote:
>> Hello!
>>
>> Wondering if its possible to use Stripersist outside of a web application?
>> Meaning it this program would run from a command line.
>>
>> Thanks!
>> Joaquin Valdez
>> [email protected]
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>> to consolidate database storage, standardize their database environment, and,
>> should the need arise, upgrade to a full multi-node Oracle RAC database
>> without downtime or disruption
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
Joaquin Valdez
[email protected]
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users