RE: When to overwrite equals() and hashCode()

2005-11-10 Thread Cory Prowse
pend(getId()) .toHashCode(); } } The reason for the "unstoredHashCode" is that we have users of this class that require use of hashCodes to indicate unique objects and this provides an easier number than the stock standard hashCode on the super class (Objec

RE: afterLookUp() gets called before initialisation of other objects.

2005-08-18 Thread Cory Prowse
I'll just chime in here and say that I too have noticed that some of the setters are called after loading from the datastore. I came across this when I implemented an aspect that pointcut all of the setters. The setters related to reference or collection descriptors were sometimes called after th

RE: Foriegn Key field not populated when auto-retrieve="false"

2005-07-14 Thread Cory Prowse
Ah, I goofed in sending through the example class descriptor, the value for auto-retrieve should in fact be false (as mentioned in the email subject heading). It really has been one of those weeks ;) As a result my example steps are wrong as well, sorry about that. So the problem is that after lo

RE: Foriegn Key field not populated when auto-retrieve="false"

2005-07-13 Thread Cory Prowse
ble is now null The access is NOT set to anonymous on the child_id column on parent, so why is it being stored incorrectly? An example of the full class descriptor is: Cory Prowse Analyst Programmer InfoComp Wollongong, Lev

Foriegn Key field not populated when auto-retrieve="false"

2005-07-05 Thread Cory Prowse
r not auto retrieving? We only want the id, not the while object (and proxying the object is not a viable option either). ... Cory Prowse Analyst Programmer InfoComp Wollongong, Level 2, 63 Market Street Phone: +61 (0) 2 4298 9158 email: mailto:[EMAIL PROTECTED] <