Martin Smith wrote:
> 
> I have found problem cause:
> It happens when you have two entities and one has attribute with type of
> the other entity
> 
>  http://www.nabble.com/file/p11096900/problem.png 
> 
> hibernate supports that kind of situation, but generator seems to not
> support it. 
> 
> 

That is very strange. I modeled your example and get no error message.
Even if I modify or correct your model (Class1 is no Entity on your picture)
I get no error.
For me, there is an toOne mapping in Class1 to Class2 generated.

I model with Topcased and MagicDraw 12.1.

Is this really the problem cause?

Regards
Darius
-- 
View this message in context: 
http://www.nabble.com/ERROR---Nullevaluation%21-tf3907722s17564.html#a11098777
Sent from the Fornax-Platform mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to