OrderEntity orderEntity = new OrderEntity();
orderEntity.setId("anyOrderId");
OrderItemEntity orderItemEntity = new OrderItemEntity();
orderItemEntity.setId("anyOrderItemId");
orderItemEntity.setVariantId("anyVariantId");
orderItemEntity.setAmount(BigDecimal.ONE);
orderEntity.setItems(toList(orderItemEntity));
Ebean.save(orderEntity);