1 Reply Latest reply on May 24, 2005 5:21 AM by epbernard

    Support for derived properties?

    herkules

      In Hibernate I can use very useful readonly "derived" properties:

      <property name="totalPrice"
       formula="( SELECT SUM (li.quantity*p.price) FROM LineItem li, Product p
       WHERE li.productId = p.productId
       AND li.customerId = customerId
       AND li.orderNumber = orderNumber )"/>
      


      Does EJB 3.0 support them too?

      Thanks, Jan