db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "sqlAuth4Dblook" by Hiranya Jayathilaka
Date Sat, 23 May 2009 13:25:58 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by Hiranya Jayathilaka:
http://wiki.apache.org/db-derby/sqlAuth4Dblook

------------------------------------------------------------------------------
   2. Look up the SYSSCHEMAS table and find the authorization ID associated with schemaID
  
  
  == Dependency Graph Construction Algorithm ==
- TBD
+ 
+ for each  persistent object O in the database
+ do:
+    V <-- find vertex for O from graph
+    if (V == null)
+       V <-- create new vertex for O
+       Add V to the graph
+    end if
+    S <-- find set of providers for O
+    for each persistent object T in S
+    do:
+      W <-- find vertex for T from graph
+      if (W == null)
+        W <-- create new vertex for T
+        Add W to the graph
+      end if
+      Create edge from W to V
+    end
+ end  
  
  == Role Dependency Graph Construction Algorithm ==
  TBD

Mime
View raw message