Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » create/extend custom annotation(create custom annotation for mapping enumerations)
create/extend custom annotation [message #1807058] Tue, 21 May 2019 16:39
Eclipse UserFriend
is it possible to create or extend a JPA annotation for mapping Enums.
for example, @Enumerated is missing a couple of features, it only allows mapping the Enum index or string(getName).

I would like to extend or create a new annotation to accept two more parameters Field and type to be able to return any field inside a specific Enum. Or give the options to start at index 1 instead of 0.

PL: java
thanks
Previous Topic:NoPersistenceProvider Found if app is Starting Without -clean Parameter
Next Topic:Some questions about JAXB bindings.
Goto Forum:
  


Current Time: Sun Aug 31 03:24:28 EDT 2025

Powered by FUDForum. Page generated in 0.02850 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top