Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] how to generate history table under the history policy

On Lun 25 Oct 2010 01:46:12 Joe(Zhou Xiangtao) escribió:
> Hi everyone,
> 
> 
> 
> What I need is automatically generate history table, there is no obvious
> method to achieve this.
Eclipselink doesn't have any method to automatic created the history table.
You need to manually create every table using some Session customizer.
> 
> 
> 
> About the JPA history, you can find it here:
> http://wiki.eclipse.org/EclipseLink/Examples/JPA/History
> 
> 
> 
> And about table generation, there is an old mail described it, but it's not
> clear, anyone can give a further description or demo code?
> 
> 
> 
> http://dev.eclipse.org/mhonarc/lists/eclipselink-users/msg05160.html
> 
> 
> 
> regards,
> 
> Joe


Back to the top