Hi, folks, tonight, I succeeded to deploy the animal-quiz sample in JBoss and MySQL. Click on http://team.andromda.org:8080/AnimalQuiz/ and you will see the sample run. It shows you how an app generated by bpm4struts looks like and how easy it is to get it going.
Doing the deployment, I ran into a portability issue across databases: In the Hypersonic version of the sample, I had modeled "DecisionItem.rootItem: boolean" and a query for the <<FinderMethod>> as "from di in class org.andromda.samples.animalquiz.decisiontree.DecisionItem where di.rootItem = true". Then, I changed the database to MySQL where boolean maps to TINYINT. Hibernate translated the query (too) literally and MySQL complained: no such column: 'true'. I changed the type from 'boolean' to 'int', and the query to '...where di.rootItem = 1' and everything worked OK. Now, the sample app guesses all sorts of animals and fills the database nicely. Have fun! Matthias --- Matthias Bohlen "Consulting that helps project teams to succeed..." http://www.mbohlen.de/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
