Hello Achim,
ahueg wrote:
>
> How can I load and process a partial model only?
>
Currently it is not possible to process the whole cartridge on a sub-model.
Maybe you can use the preprocess to delete all classes don't used for the
generation.
Also you can build up your entity containing uml submodel in a seperate
workflow wrapping the hibernate cartridge.
Another solution for your problem could be a separate expression for
performing the checks
<emfAllChildrenSlot value="(${hibernate.modelToCheck.uml2})" />
The property 'hibernate.modelToCheck.uml2' is set by default to the same
value like 'hibernate.model.uml2' but you can also write extensions
providing sub-models.
Eg.: <emfAllChildrenSlot
value="extensions::MyExtension::selectPersistenceSubModel(${hibernate.modelslot.uml2})"
/>
If this will help you, I could build in this differentiation in the next
release.
The next release will come out this week(-end).
Regards
Darius
--
View this message in context:
http://www.nabble.com/-Hibernate--How-to-restrict-checks-and-generation-to-part-of-model-tp22179388s17564p22188504.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer