foreign keys constraints do not work in RealSQLdatabase ?
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Sun Nov 13 04:58:57 CST 2011
On 11/13/11 3:02 AM, "Paxdo Presse" <paxdo at mac.com> wrote:
Hi Oliver,
Thank you for report of this.
To fix our example, it needs correct 2 lines of code
Constructor of tblAdmin must have first line as
Super.Constructor( "tblAdmin" )
By analogy constructor of tblAffiliation should be
Super.Constructor( "tblAffiliation" )
Instead of just name = "xxxxx"
REALbasic have changed something in own engine, so we need call parent class
now. This is important for Class_way. Please check all constructors of your
tables in this way
I have check other 3 examples in folder Class_way, and they are correct.
> Hello,
>
> I test valentina, but I have a problem in creating binarylink.
>
> I noticed the same problem there in your demonstration, in this file :
>
> /examples/classes_way/binaryLink
>
> When creating the instance of binarylink, the application exits at this line :
>
> mLink11 = new VBinaryLink( "linkAffiliationAdmin", tblAdmin, tblAffiliation,
> EVLinkType.kOne, EVLinkType.kOne )
>
> Do you know why please?
>
> I created my test application with Realstudio 2011 Release 4 FC1 (Web
> application).
>
> I created classes for valentina. In object "session", I initialize valentina
> and I instantiate my database tables, fields, links. But he refuses to
> instantiate the binarylink, just like in your demonstration "binarylink".
>
> if I remove the creation of binarylinks, everything is going well.
>
> Thank you,
>
> olivier
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list