Support fetch="subselect" on Hibernate collections
--------------------------------------------------
Key: XDP-87
URL: http://jira.codehaus.org/browse/XDP-87
Project: XDoclet 2 Plugins
Type: Improvement
Components: hibernate
Environment: Hibernate 3.0.5
Reporter: David Marquam
The value "subselect" should be a valid value for the fetch attribute on
collections such as Set.
To work around this, I modified the file:
org/xdoclet/plugin/hibernate/qtags/parameter/Fetch.java as below:
package org.xdoclet.plugin.hibernate.qtags.parameter;
/**
* @author Anatol Pomozov
*/
public interface Fetch {
/**
* Chooses between outer-join fetching or sequential select fetching.
*
* @qtags.allowed-value join
* @qtags.allowed-value select
* @qtags.allowed-value subselect <-- Added subselect
*/
String getFetch();
}
This seems to allow this for any occurance of the fetch attribute but this may
not be a big deal since XDoclet2 validates it's output against the DTD for the
Hibernate mapping file (nice touch BTW).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest