}
public void testRowValueConstructorSyntaxInInList() {
Session s = openSession();
s.beginTransaction();
Product product = new Product();
product.setDescription( "My Product" );
product.setNumberAvailable( 10 );
product.setPrice( new BigDecimal( 123 ) );
product.setProductId( "4321" );
s.save( product );
Customer customer = new Customer();
customer.setCustomerId( "123456789" );
customer.setName( "My customer" );
customer.setAddress( "somewhere" );
s.save( customer );
Order order = customer.generateNewOrder( new BigDecimal( 1234 ) );
s.save( order );
LineItem li = order.generateLineItem( product, 5 );
s.save( li );
product = new Product();
product.setDescription( "My Product" );
product.setNumberAvailable( 10 );
product.setPrice( new BigDecimal( 123 ) );
product.setProductId( "1234" );
s.save( product );
li = order.generateLineItem( product, 10 );
s.save( li );
s.flush();