----- Original Message ----- From: "Matthias Bohlen" <[EMAIL PROTECTED]>
To: "Chad Brandon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, September 15, 2004 1:59 AM
Subject: [Andromda-user] Hibernate cartridge: Why does it (not) generate these files?
Hi Chad,
I am just resuming the maintenance of the Hibernate cartridge. I have created a sample project using andromdapp:generate. It generated a project using Hibernate as persistence mechanism. Pretty cool, although the generated Eclipse project needed some additional libraries - never mind!
Now, when I start "maven -o" inside that sample project, I get the following two files generated (among others):
INFO [AndroMDA:hibernate] Output: 'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateByteBlobType.java'
INFO [AndroMDA:hibernate] Output: 'file:/C:/Programming/andromda/V3-test/hibtest/mda/src/../../hibernate/ejb/target/src/org/andromd
a/persistence/hibernate/HibernateStringClobType.java'
Now, my question is: In the model (contained in mda/src/uml), I cannot find UML classes for these two Java classes. Why does the Hibernate cartridge generate them and how does it know to generate them?
Next question: I inserted two <<Entity>> classes into the model, just for a test. When I start "maven -o", no code is generated for them. Is there anything wrong with package naming? Doesn' the Hibernate by default generate code for all packages?
Which model are you talking about? Yes the hibernate cartridge should pick up any model elements with <<Entity>> stereotypes (unless of course you have the package processing set to false).
Cheers... Matthias
---
Matthias Bohlen "Consulting that helps project teams to succeed..."
Internet: http://www.mbohlen.de/ [EMAIL PROTECTED]
Phone: +49 (170) 772 8545
------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
