Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] HistoryPolicy question

There is a history example here:

http://wiki.eclipse.org/EclipseLink/Examples/JPA/History

Are you trying to configure the history policy, or trying to create the
tables?

The default schema generation does not generate the history tables (please
log a bug for this and vote for it).  If you are looking for a way to
automatically generate them you could use a SessionCustomizer, there is also
a class in EclipseLink SVN in testing,
org.eclipse.persistence.tools.history.HistoryFacade that can auto generate
history tables.  Or you can use your own schema scripts.



aledbf wrote:
> 
> Hi, I can't find an example of HistoryPolicy whithout a manual
> TableCreator (from java).
> It's posible to use (configure) HistoryPolicy from a SessionCustomizer?
> Thanks in advance.
> 
> 


-----
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://old.nabble.com/HistoryPolicy-question-tp29446061p29522459.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top