[Opensource] Referential Integrity

javamail at ubbi.com.br javamail at ubbi.com.br
Thu Mar 13 06:15:30 PST 2003


Hello all,

how do I set up referential integrity?

I read the javadocs for DBObject and found the following method:

protected void checkRef (
      String foreignKeyNames,
      DBObject refObject,
      String errorMessage )
      throws DBException

It means that refObject is a reference to the related DBObject. How can I use this method if I don't have a reference, but just a String that represents the related class ( "com.mycompany.app.dbobj.SomeThing" )  ?

Thks

Quer internet Grátis com qualidade e muito mais serviços? Escolha o Caminho Mais Curto! Ubbi free! baixe agora o discador - http://free.ubbi.com.br/




More information about the Opensource mailing list