db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ojb-...@db.apache.org
Subject [DB OJB Wiki] Updated: YourQuestionHere
Date Wed, 06 Oct 2004 08:15:01 GMT
   Date: 2004-10-06T01:15:01
   Editor: MicheleFabbri <fabbrimichele@libero.it>
   Wiki: DB OJB Wiki
   Page: YourQuestionHere
   URL: http://wiki.apache.org/db-ojb/YourQuestionHere

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -29,15 +29,17 @@
 from SU2_UTEGRU even if I specified auto-delete="link", I debugged sql.SqlGeneratorDefaultImpl
but there is
 only a delete on the table of group.
 
+{{{
 ...
 4702  DEBUG [http-8080-Processor23] sql.SqlGeneratorDefaultImpl - SQL:SELECT A0.gru_id,A0.gru_descri
FROM SU2_GRUPPI A0 WHERE A0.gru_id = ?
 8110  DEBUG [http-8080-Processor23] sql.SqlGeneratorDefaultImpl - SQL:DELETE FROM SU2_GRUPPI
WHERE gru_id = ?
 8126  DEBUG [http-8080-Processor23] sql.SqlGeneratorDefaultImpl - SQL:SELECT A0.gru_id,A0.gru_descri
FROM SU2_GRUPPI A0
 10190 DEBUG [http-8080-Processor23] sql.SqlGeneratorDefaultImpl - SQL:SELECT A0.gru_id,A0.gru_descri
FROM SU2_GRUPPI A0
-
+}}}
 
 This is the source code:
 
+{{{
 public static void deleteByTemplate(Object template) 
 {
   PersistenceBroker broker = null;
@@ -52,27 +54,15 @@
     if (broker != null) broker.close();
   }
 }
+}}}
 
 This is the repository_user
 
+{{{
 <class-descriptor class="it.cedaf.portale.persistence.G" table="SU2_GRUPPI">
 	<field-descriptor id="0" name="id" column="gru_id" jdbc-type="VARCHAR" primarykey="true"/>
 	<field-descriptor id="1" name="descrizione" column="gru_descri" jdbc-type="VARCHAR"/>
 
-	<!--
-	<collection-descriptor
-		name="menuConsole"
-		element-class-ref="it.cedaf.portale.persistence.MenuConsole"
-		auto-retrieve="true"
-		auto-update="link"
-		auto-delete="link"
-		indirection-table="SU2_ABILIT"
-	>
-		<fk-pointing-to-this-class column="abc_id_gru"/>
-		<fk-pointing-to-element-class column="abc_id_men"/>
-	</collection-descriptor>		
-	-->
-
 	<collection-descriptor
 		name="utenti"
 		element-class-ref="it.cedaf.portale.persistence.Utente"
@@ -94,9 +84,7 @@
 	<field-descriptor id="4" name="descrizione" column="ute_descri" jdbc-type="VARCHAR"/>
 	<field-descriptor id="5" name="email" column="ute_email" jdbc-type="VARCHAR"/>
 </class-descriptor>
-
-
-
+}}}
 
 
 ----

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message