- persistence setup --provider HIBERNATE --database ORACLE --databaseName XE --userName practice_db --password secret
- comment out <property name="hibernate.hbm2ddl.auto" value="create"/> in /TestRoo/src/main/resources/META-INF/persistence.xml
- flex setup
- entity --class ~.domain.Toy --identifierField id --identifierColumn ID --table Toy
- field string DESCRIPTION --notNull
- field string MANUFACTER
- field number version --type java.lang.Integer
- flex remoting all --package ~.service
The workaround is:
shutdown roo at this point, and manually create Toy.as.
Well, still not work, first, wipe all the existing data, second, could not add new entry from GUI.