Hi,
Issue XDT-150 "Add support for the <database-type> element in
weblogic-cmp-rdbms-jar.xml" is marked as closed in JIRA, but does not seem
to work.
IMHO, the problem is that the weblogic subtask does not accept the
databasetype parameter. I attached a patch for this issue. Can somebody add
this to CVS?
Regards,
Ive
PS: This is my first patch, so please let me know if something is wrong.
Index: WebLogicSubTask.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb/WebLogicSubTask.java,v
retrieving revision 1.13
diff -u -r1.13 WebLogicSubTask.java
--- WebLogicSubTask.java 15 Nov 2002 19:56:02 -0000 1.13
+++ WebLogicSubTask.java 11 Mar 2003 11:56:56 -0000
@@ -72,6 +72,7 @@
private String dataSource = "";
private String poolName = "";
+ private String databaseType = "";
private boolean createTables = false;
private String persistence = DEFAULT_PERSISTENCE;
@@ -93,6 +94,11 @@
return poolName;
}
+ public String getDatabaseType()
+ {
+ return databaseType;
+ }
+
/**
* Gets the Version attribute of the WebLogicSubTask object
*
@@ -136,6 +142,17 @@
public void setDatasource(String dataSource)
{
this.dataSource = dataSource;
+ }
+
+ /**
+ * Sets the databaseType property of the WebLogicSubTask object. This value is
used to set the database-type tag in
+ * weblogic-cmp-rdbms-jar.xml
+ *
+ * @param s The databaseType
+ */
+ public void setDatabaseType(String s)
+ {
+ databaseType = s;
}
/**