--- Josh Helmer <[EMAIL PROTECTED]> wrote:

> 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. 

Another workaround:

http://jira.codehaus.org/browse/QDOX-82
( escape newline by baclslash ) 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 



-------------------------------------------------------
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
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to