Since xdoclet1 seems to be all but dead (too bad) I have been playing around 
with xdoclet2.    One of the problems that I am running into is handling 
hibernate queries.

In xdoc1 I have code like:

/**
 * @hibernate.class
 *              ...
 *
 * @hibernate.query
 *              name = "some_long_query"
 *              query = "from SomeClass c where 
 *                              c.someParam1 = :some_value and
 *                              c.someParam2 = :some_value2 and
 *                              c.someParam3 = :some_value3"
 */

When I use this same code with xdoc2 it blows up.  I believe the problem is 
that xdoc2 can't handle multiline values like xdoc1 could.  Is there a 
work-around for this?   Our coding standard requires lines no longer than 80 
characters.  Besides, it makes the code a whole hell of a lot easier to read 
if you can split the query string up sanely. 

Thanks, 
Josh


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to