Could somebody help to find a problem in the following example (see attached ER + class diagrams):
The generated Java code with POJO + Smart association handling does not compile due to the following error:
./CompileAll.sh
Special_customerDAO.java:106: cannot find symbol
symbol : method setORM_Customer(Customer)
location: class Special_customer
special_customer.setORM_Customer(customer);
Setting: DBVA4.0, Mac OS, Built: sp2_20070612
PS: One more thing. If I understand it correctly, for things to be copied properly, in the generated CompileAll.sh file the line
----------------> cp -r “$SOURCEPATH/ormmapping/” “$CLASSES”
should read either
----------------> cp -r “$SOURCEPATH/ormmapping/” “$CLASSES/ormmapping/”
or
----------------> cp -r “$SOURCEPATH/ormmapping” “$CLASSES”
To reproduce the problem you simply should have got the SP2 3.0 version up and running Not so hard, isn’t it?
Anyway, you are right, the 3.1 version has this bug fixed.
For all you guys in the forum (doing the job of the VP people here is a diff output comparing the code emitted by the 3.0 version to the code emitted by the 3.1 version. One can see that the proper call is being generated in the 3.1 version.