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

    Support for derived properties?

    Jan Bares Newbie

      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