Convert to Brazilian Cities Class

Asked

Viewed 22 times

1

Gentlemen, I have two combos in one form, the first of which is loaded with the Brazilian states, via routine database. It is passed the acronym of the state chosen for a routine in my control, which calls a routine in my persistence class, with the parameter. The routine works (I see it in step-by-step), but when loading the combo, it generates the following exception: "Validation error: the value is necessary". I don’t know how to make the class convert. Below follows excerpt from the code:

  • 2

    In what language? Code missing..

  • Fabio, I’m using the Java language. with JSF, Primefaces 5.0, the database is Oracle 11g.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.