On Thu, 25 Mar 2004, David Lloyd wrote:
> I've applied this patch locally on my xdoclet and it seems to work OK.
> It allows <column> under <id>, so you can, for instance, specify an
> index. Also, at the request of one of my coworkers, I added
> CacheProvider for the JBoss service.
>
> Patch is against latest CVS as of this afternoon.
Forgot one file. Additional patch included. Sorry about that
- D
Index: modules/hibernate/src/xdoclet/modules/hibernate/JBossServiceSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/JBossServiceSubTask.java,v
retrieving revision 1.10
diff -u -r1.10 JBossServiceSubTask.java
--- modules/hibernate/src/xdoclet/modules/hibernate/JBossServiceSubTask.java 9 Feb
2004 20:13:38 -0000 1.10
+++ modules/hibernate/src/xdoclet/modules/hibernate/JBossServiceSubTask.java 25 Mar
2004 21:38:24 -0000
@@ -46,6 +46,7 @@
private String _password = null;
private String _userTransactionName = null;
private String _transactionStrategy = null;
+ private String _cacheProvider = null;
private String _depends = null;
private String _transactionManagerStrategy = null;
@@ -76,6 +77,11 @@
return _transactionStrategy;
}
+ public String getCacheProvider()
+ {
+ return _cacheProvider;
+ }
+
public String getDepends()
{
return _depends;
@@ -177,6 +183,17 @@
public void setTransactionStrategy(String transactionStrategy)
{
_transactionStrategy = transactionStrategy;
+ }
+
+ /**
+ * The fully qualified class name of the Hibernate <tt>CacheProvider</tt>
implementation.
+ *
+ * @param cacheProvider
+ * @ant.not-required
+ */
+ public void setCacheProvider(String cacheProvider)
+ {
+ _cacheProvider = cacheProvider;
}
/**