I haven't used foreign keys previously, but I'd like to now.

Brings many questions, some of them quite probably rather stupid ...


 If I want to use the method GenericQueryManager.install(),
is is possible to specify foreign key constraints using 
calls to addConstraint (new ConstrainedProperty(..)), or 
do I need to create tables manually using CreateTable ? 

What is a CreateTable.ViolationAction ?

The method CreateTable.foreignKey(..) has eight different 
signatures.  The argument "localParameter" obviously names 
the column in "this" table, so what is the meaning of the 
argument "name" ?


If referential integrity is violated at runtime, does Rife
give me a specialised exception, or do I get the DB's own 
exception, unmodified ? 

Is there a way to check for a possible violation of referential 
 integrity before I actually try to execute a DB operation ? 


And, what do DatabaseSessions give me ? 



thanks...!

fred

--
F.Baube                * "The world's a mess,
Georgetown/MSFS/1988   *  it's in my kiss."
fbaube#saunalahti.fi   *  -- X, "Beyond and Back"
 gsm  +358 41 536 8192 * 
 wmd   60°11'10.8"N 24°57'36.9"E
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to