Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic Java Enterprise and user ntruchsess

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Databases

How to persist an enumeration using JPA when your database contains characters that are illegal in Java? in JPA it is possible to map String-data to enumerated values. But you are limited to Strings that are legal to be used in enum-types. E.g. using '-' or plain numbers will not work. But you may use a bit of Reflection in your enum to override the defaults.
on Aug 24, 2011 | Permalink | Discuss