1) Both Order and OrderItem now have an attribute called id with a stereotype
of <<Identifier>> (i.e. <<Identifier>>+id : datatype::Long). However the web
front end does not show the columns for this identifier. Thus it is difficult
to distinguish two orders placed by the same customer say.
2) If I change the type of the id to primitive long, then I get the following
compile errors:
D:highenergy-andromdacoretargetsrccomsapienthighenergycrudCOrderManageableDaoBase.java:87:
cannot find symbol
symbol : method setParameterList(java.lang.String,long[])
location: interface org.hibernate.Query
queryObject.setParameterList("ids", ids);
^
D:highenergy-andromdacoretargetsrccomsapienthighenergycrudOrderItemManageableDaoBase.java:43:
incomparable types: long and <nulltype>
if (order != null)
^
D:highenergy-andromdacoretargetsrccomsapienthighenergycrudOrderItemManageableDaoBase.java:62:
incomparable types: long and <nulltype>
if (order != null)
criteria.createCriteria("order").add(Expression.eq("id", order));
^
D:highenergy-andromdacoretargetsrccomsapienthighenergycrudOrderItemManageableDaoBase.java:111:
incomparable types: long and <nulltype>
if (order != null)
^
D:highenergy-andromdacoretargetsrccomsapienthighenergycrudOrderItemManageableDaoBase.java:127:
cannot find symbol
symbol : method setParameterList(java.lang.String,long[])
location: interface org.hibernate.Query
queryObject.setParameterList("ids", ids);
^
D:highenergy-andromdacoretargetsrccomsapienthighenergycrudOrderItemManageableServiceBase.java:22:
incomparable types: long and <nulltype>
if (order == null)
^
D:highenergy-andromdacoretargetsrccomsapienthighenergycrudOrderItemManageableServiceBase.java:52:
incomparable types: long and <nulltype>
if (order == null)
^
I don't know if it is possible to attach files to these posts, but if you want
I could somehow send you the generated files.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2861#2861
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user