Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

JPA DataSource enum values

$
0
0
Before posting this I grabbed the latest version of 4.1p available via the maven plugin which is yesterdays build. The issue I am seeing is that fetch is returning enum toString() rather than name() for enumerated fields. This appears to be contrary to your documentation, as the documentation states when deriving a value map name() will be the key and toString() the display value. So I would assume that the value returned during a fetch would be name() as that would be the key to determine the appropriate display value?

Viewing all articles
Browse latest Browse all 4756

Trending Articles