My question was about the Criteria API. (The example is simplified. I do need dynamic criteria.)

Am 10.02.2014 18:27, schrieb Bruno Leonardo Gonçalves:
The nested properties are not woking?

http://deltaspike.apache.org/data.html#nested-properties


Regards,
Bruno


2014-02-10 13:04 GMT-02:00 Harald Wellmann <[email protected]>:

Does the criteria API of DeltaSpike data support path expressions for
Embeddables?

I would like to express the equivalent of

   select c from Customer c where c.address.city = ?1

where

@Entity
class Customer {

    @Embedded
    Address address;
}

@Embeddable
class Address {

     String city;

}

Best regards,
Harald



Reply via email to