[baseten-users] Missing relationships

Tuukka Norri tuukka.norri at karppinen.fi
Fri May 1 21:46:46 EEST 2009


Hi!

Erik Aderstedt kirjoitti 30.4.2009 kello 16.39:
> I've have a model with three entities and 2 one-to-many  
> relationships between them. After importing this model using BaseTen  
> Assistant and running Introspection I find that no relationships are  
> available. Debugging using Introspection.m I find that  all of the  
> entities report
>
> [entity hasCapability: kBXEntityCapabilityRelationships] == YES

Some things that come to mind:
– Have you marked the entities enabled in BaseTen Assistant? (Although  
you probably have since the entities have the relationship capability)
– Did you quit the assistant after enabling the entities? It recreates  
some tables at that point.
– Are you using BaseTen 1.6.2, SVN trunk or some other version?

Also, if you'd like, you can send me your data model and I'll see that  
this isn't caused by a bug in BaseTen. There is an issue with certain  
foreign key names (http://basetenframework.org/ticket/180) but it  
should only affect SVN trunk.
-- 
Best regards,
Tuukka Norri
MK&C



More information about the baseten-users mailing list