Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:39
luis alcantar is currently offline luis alcantarFriend
Messages: 3
Registered: May 2019
Junior Member
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: Sat Apr 27 00:05:32 GMT 2024

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

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

Back to the top