Thomas Dudziak wrote:
> but this seems to be down at the moment. But I guess it will be online
> again in a couple of hours.
Thanks, I'll try it.
Regards,
Thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Thomas Dudziak wrote:
Please update to the 1.2.3 version (both XDoclet & the XDoclet module,
as well as XJavadoc 1.1). You can download them from here:
Thank you, it now works. I already read the version history but
thought, nothing of interest for me was fixed...
Bernd
---
I have implemented the following solution for equals and hashCode, in this
example the object is a "Policy.class".
Can anyone see any problems with this solution?
public boolean equals(final Object obj) {
try {
return equals((Policy) obj);
On 11/10/05, werner <[EMAIL PROTECTED]> wrote:
> Thanks for your answer. The hashCode function is a little mystery to me.
> I use a standard database setup where every table has a primary key
> (auto increment integer). Is it a proper solution to add the hashcode of
> all fields except the primary
On 11/10/05, Bernd Laengerich <[EMAIL PROTECTED]> wrote:
> another problem:
>
> given is an abstract base class A with many implementations A1Impl,
> A2Impl, A3Impl.
> The base class references a second class B.
>
> When running xdoclet, it generates an xml schema file with
> as many foreign key r
Am Donnerstag, den 10.11.2005, 11:41 +0100 schrieb Thomas Dudziak:
> On 11/10/05, werner <[EMAIL PROTECTED]> wrote:
>
> > I'm using OJB 1.0.3 with PB-API and it'S doing a great job. Now I'm
> > looking for some information about the equals() and hashCode() methods:
> > - In which cases should the
Hi,
another problem:
given is an abstract base class A with many implementations A1Impl,
A2Impl, A3Impl.
The base class references a second class B.
When running xdoclet, it generates an xml schema file with
as many foreign key references as there are implementations plus the
one from the ba
On 11/10/05, werner <[EMAIL PROTECTED]> wrote:
> I'm using OJB 1.0.3 with PB-API and it'S doing a great job. Now I'm
> looking for some information about the equals() and hashCode() methods:
> - In which cases should they be overwritten?
In general it is a good idea to overwrite these methods bec
Hi!
I'm using OJB 1.0.3 with PB-API and it'S doing a great job. Now I'm
looking for some information about the equals() and hashCode() methods:
- In which cases should they be overwritten?
- How can hashCode() be implemented? Can I use just the Primary Key for
the hashcode, or does that cause pro