Hi Fred,
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 ?
Yes, you can use the manyToOne constraint.
What is a CreateTable.ViolationAction ?
See here: http://www.postgresql.org/docs/8.1/interactive/sql- createtable.html
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" ?
The name of the foreign key constraint, so that you can easily find it again later and for example remove it.
If referential integrity is violated at runtime, does Rife give me a specialised exception, or do I get the DB's own exception, unmodified ?
DB exceptions, wrapped in the RIFE DatabaseException exception. RIFE doesn't add any additional informations
Is there a way to check for a possible violation of referential integrity before I actually try to execute a DB operation ?
Not that I know of.
And, what do DatabaseSessions give me ?
This is for authentication, it stores the information of active authentication sessions in the database instead of in memory.
Best regards, Geert -- Geert Bevin Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com _______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
