Hi Amedeo,
I assume you want to know the PK before commit (as otherwise Cayenne would
handle that for you transparently). In which case you have two options:
1. Map a meaningful PK, and just call a setter on the object with whatever
meaningful value you might have.
2. Use PkGenerator and set t
I am using 4.0.M5, previously this query worked as I expected:
ObjectSelect q = ObjectSelect.query(Product.class)
.where(Product.EXISTENCIAS_CORPORATIVAS.dot(StockCurrentCorporativo.UNITS).gt(0.0))
.and(Product.CODE.like("USBVGA");