In Hibernate and Seam how do we use special characters in the PK column?
Issue
-
I have records that the value of primary key can have special characters, like 'ç' or 'á' , ..., If I am in *List.xhtml and after click in 'Edit' link from action column, it causes the following error: (only in the records that primary key has at least one of this special characters)
ERROR [Exceptions] handled and logged exception javax.el.ELException: org.jboss.seam.framework.EntityNotFoundException: entity not found: org.domain.project.entity.SomeEntity#AAá at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:339) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:348) at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:175)
Environment
- JBoss Enterprise Application Platform (EAP) 5
- Seam 2.2
- Oracle 10.1.0.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.