Never mind, I just did: https://issues.apache.org/cayenne/browse/CAY-1174
Andrus
On Jan 23, 2009, at 9:43 AM, Andrus Adamchik wrote:
+1 on adding this option to the Modeler. Somebody please open a Jira.
Andrus
On Jan 22, 2009, at 10:23 PM, Mike Kienenberger wrote:
I think Martin's issue is
+1 on adding this option to the Modeler. Somebody please open a Jira.
Andrus
On Jan 22, 2009, at 10:23 PM, Mike Kienenberger wrote:
I think Martin's issue is that he has meaningful primary keys, and he
wants to have primary key accessors with meaningful names.
Ie, for an Account table, he mig
I think Martin's issue is that he has meaningful primary keys, and he
wants to have primary key accessors with meaningful names.
Ie, for an Account table, he might want to have "getAccountNumber()"
or for a User table, he might want to have "getUserName()" (assuming
these are the primary key field
What about having all of your entities extend from a common superclass
that defines a getter for the pk?
For instance, for many applications, I use a simple int primary key,
so my entities all extend from a common superclass, with a method ala:
public int getPK() {
return DataObjectUtils.in
Hi,
is there a possibility to create for all objects a getter method on the
primary key fields within the process of reverse engineering ?
I have a legacy database where the primary keys are used in a similar
way as a passport no and as I need it for 100+ tables I wondered if I
could not at