Hello,

I have the following classes in a unidirectional 1-1 relationship to each
other:

class A {

   B b;

   // ... more fields

}

class B {

  String k;

  // ... more fields
}

I want k to be the primary key for class B as well as for class A.
How do I accomplish this task? I've been told I need to implement
a PK class but don't understand why I would need one.

Given I cannot find much information on the BigTable implementation
I don't even know how to think about the problem (I understand RDBMS
and think of each class as having its own table, although this may be
wrong).

Thank you for your kind help,

John Goche

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to