Re: Modeler Reverse Engineered Entities Don't Match

2012-11-01 Thread Garth Keesler
That explains it. This is my first experience with an ORM so I've a lot to learn but it appears that FK objects related to a particular object I select will also be available automagically much as in J2EE which I've played with a bit as well. Neat. No need to respond since I'll dig this out of

Re: Modeler Reverse Engineered Entities Don't Match

2012-10-31 Thread Andrus Adamchik
PK and FK columns are intentionally not mapped as ObjAttributes. An FK is redundant (you already have a mapped relationship for that), and PK is presumed to be of no consequence in the object model, so it is hidden inside ObjectId of each persistent object. For meaningful PKs, you can create Obj

Modeler Reverse Engineered Entities Don't Match

2012-10-30 Thread Garth Keesler
Very new at Cayenne. Trying to extract the DBEntities and OBJEntities from a PG database as shown in the tutorial. All tables in the selected schema are extracted but the resultant DB and OBJ entities don't match each other WRT the number of attributes. I'm still looking for a pattern but it se