install jpa -provider HIBERNATE -database HYPERSONIC_PERSISTENT
add dependency -groupId javax.annotation -artifactId jsr250-api -version 1.0
new persistent class jpa -name ~.key.Prefix -testAutomatically
new persistent class jpa -name ~.key.Postfix -testAutomatically
new persistent class jpa -name ~.key.ProductGroup -testAutomatically
add field string -class ~.key.Prefix -fieldName code -notNull -sizeMax 3
add field string -class ~.key.Postfix -fieldName code -notNull -sizeMax 3
add field string -class ~.key.ProductGroup -fieldName index -notNull -sizeMin 4 -sizeMax 4
add field reference jpa -class ~.key.Prefix -fieldName productGroup -type ~.key.ProductGroup
add field reference jpa -class ~.key.Postfix -fieldName productGroup -type ~.key.ProductGroup
new integration test
new controller automatic -name ~.web.PrefixController -formBackingObject ~.key.Prefix
new controller automatic -name ~.web.PostfixController -formBackingObject ~.key.Postfix
new controller automatic -name ~.web.ProductGroupController -formBackingObject ~.key.ProductGroup
new selenium test -controller ~.web.PrefixController
new selenium test -controller ~.web.PostfixController
new selenium test -controller ~.web.ProductGroupController