Hi,

I have an entity that has a simple map from string to string. Like:
<map name="Values" table="AttributeValues">
 <key column="AttributeDefinitionId" />
 <index column="LanguageCode" type="String" />
 <element column="Value" type="String" length="65636" not-null="true" /
>
</map>

I want to lookup a single value from the map. Unfortunatly a query
like this:

select attr.Values['de'] from AttributeDefinition as attr where ...

doesn't seem to work.

Is there any way I can accomplish something similar without loading
the whole collection, by using HQL or the criteria api?

Thanks,
Thomas Krause
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to