public void place(Order order) {
   order.place();
   orderRepository.update(order);
 }
 public List<Order> findOrders() {
   return orderRepository.findAll();
 }
 public void updateOrder(Order order) {
   orderRepository.update(order);
 }
 // ... other methods without annotations unchanged since listing 11.x
 public void deleteOrder(Long orderId) {
   orderRepository.delete(orderRepository.find(orderId));
 }
 @Transactional(readOnly = true)
 public Order findOrder(Long orderId) {
   return orderRepository.find(orderId);
 }