cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Feshbach <djfeshb...@gmail.com>
Subject Get ObjectId of To-One Relationship Without Faulting
Date Wed, 06 Mar 2013 17:38:11 GMT
Is there any way to get the ObjectId or raw foreign key of a related object without faulting?
I'd like to implement getArtistObjectId() or getArtistPK() without calling getArtist().getObjectId()
or Cayenne.longPKForObject(getArtist()).

Thanks,

David
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message