Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] Configuring Cache for Objects in Persistence.xml

Tony,

I also had a tough time finding the information in the UserGuide. The TopLink extensions guide explains how to do this and but you will need to change the property names from "toplink" to "eclipselink".

http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#CACGFGJE

You can configure defaults as well as class specific values by replacing <ENTITY> with the name of your entity class.

Doug

-----Original Message-----
From: eclipselink-users-bounces@xxxxxxxxxxx
[mailto:eclipselink-users-bounces@xxxxxxxxxxx]On Behalf Of Vespa,
Anthony J
Sent: Friday, December 14, 2007 4:38 PM
To: EclipseLink User Discussions
Subject: [eclipselink-users] Configuring Cache for Objects in
Persistence.xml


Hello,

I've currently set up my objects using the various @cache notation
settings.  Is it possible to centralize these settings for each object
into one .xml file. Like my persistence.xml?  I looked through the docs
and can't quite find how to do it (except for global settings)

Thanks for any help!

-Tony
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users



Back to the top