1. Enum's String property used for Annotation stackoverflow.comI would like to reuse safetype enum which I already have to specify argument for @Resource annotation which requires String compile time constant. I have not found any elegant solution how to ... |
2. Returning an Enum from an EJB stackoverflow.comI'm looking to use Enum's to return both Codes and Messages from an EJB. Currently only an integer value Code is returned. As we have more than one client app and ... |
3. Collection of Enum java-forums.orgHi there, I'm currently developing an EJB3 project. I know the basics, so I can resolved "standard" problems on my own, but here I'm stuck. I'd like to use a collection (actually, a Set) of Enum in my entity bean. When using a single Enum, you just have to add the "@Enumeration(EnumType.STRING)" annotation, and it works. With a collection, it's does ... |