Hi,

I want to have a domain object that references another class that is:

1.  Not known to Sculptor.
2.  Does not need to be persisted.
3.  Inside a jar.

I know I can put this reference in the hand-coded subclass, but I'd like to
map other properties to it (I will extend the DSL) and generate its
getter/setter.  How do I create this reference in model.design?  I tried:

com.foo.common.UserInformation userInfo

Which passes validation and even generates correctly in the Base class with
an import statement (very cool!), but it throws this exception during
generation:

ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component
generator of type org.openarchitectureware.xpand2.Generator: 
        EvaluationException : java.util.MissingResourceException: Property not
found: db.mysql.type.com.foo.common.UserInformation

How do I tell Sculptor to not persist this class?  I tried "!persistent" for
the reference, but it doesn't work.

Thanks!
--Polly
-- 
View this message in context: 
http://www.nabble.com/-Sculptor--Reference-class-in-jar-tp18119720s17564p18119720.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to