Update of
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18266/modules/hibernate/src/xdoclet/modules/hibernate
Modified Files:
HibernateCfgSubTask.java
Log Message:
XDT-1598: clean up after engine is finished processing
Index: HibernateCfgSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/HibernateCfgSubTask.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** HibernateCfgSubTask.java 3 Apr 2005 10:22:34 -0000 1.10
--- HibernateCfgSubTask.java 16 Apr 2006 13:56:55 -0000 1.11
***************
*** 66,70 ****
private String poolSize;
private String transactionManagerLookup;
! private ArrayList jndiProperties = new ArrayList();
private List otherProperties = new ArrayList();
private String defaultSchema = null;
--- 66,70 ----
private String poolSize;
private String transactionManagerLookup;
! private List jndiProperties = new ArrayList();
private List otherProperties = new ArrayList();
private String defaultSchema = null;
***************
*** 526,529 ****
--- 526,542 ----
/**
+ * Clean up after processing.
+ *
+ * @exception XDocletException Describe the exception
+ */
+ protected void engineFinished() throws XDocletException
+ {
+ super.engineFinished();
+ jndiProperties.clear();
+ otherProperties.clear();
+ otherMappings.clear();
+ }
+
+ /**
* Based on Matt Raible's code for the Hibernate sub-task.
*
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel