Hi,
I'm using 3.0 (release, binary)
If you create a one-to-many connection between two entities, then in the
generation of DAO on the "one" side it tries to use in the creation function
the parameter as an entity instead of a set or collection... than it comes to
an error. If you are using the 1,0..* connection than it's ok.
Balazs
eg.:
(ignore the directory "many2many"...)
[javac] Compiling 36 source files to D:developandromdamany2manycoretarg
etclasses
D:developandromdamany2manycoretargetsrcorgmany2manyB1DaoBase.java:153:
setA1tob1one(java.util.Set) in org.many2many.B1 cannot be applied to (org.many2m
any.A1)
entity.setA1tob1one(a1tob1one);
^
1 error
BUILD FAILED
anyway it was correct in the 3.0RC1
Thanks!
--
Ganszky, Balázs
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3523#3523
Posting to http://forum.andromda.org/ is preferred over posting to the mailing
list!
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user