Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Using a HexString as Id

You can add your own custom sequence generator in EclipseLink through
creating your own Sequence (org.eclipse.persistence.sequencing) subclass and
adding it to your Session's DatabaseLogin using a SessionCustomizer.

You could also assign your id using a prePersist event, or directly from
your application.

Alexander Malic-2 wrote:
> hello
> With Hibernate I was able to use a 32 character Hex-String as Id for my
> Entities. (
> ),
> How can this be done with Eclipse-Link?
> regards and thanks in advance,
> alexander malic

--- James Sutherland
 EclipseLink ,
Wiki: EclipseLink , TopLink 
Forums: TopLink , EclipseLink 
Book: Java Persistence 
View this message in context:
Sent from the EclipseLink - Users mailing list archive at

Back to the top