views:

396

answers:

6

Hi all,

I'm updating an old project & my version of xdoclet complains about my Java 1.5 annontations (ArrayList data = ....) when parsing for Hibernate (hibernate3) tags.

So my question is this...

Is there a fix for Xdoclet 1.2.3, or should I look to move to Xdoclet2?

I've already started moving some of the code over, but xdoclet2 doesn't seem to offer the same level of configuration for hibenate, such as excludedtags. I could be wrong on this though.

What do you lot think?

Jeff Porter

A: 

anyone? :-)

jeff porter
+2  A: 

I would definitively lose xdoclet in favor of JPA annotations. You can get about the same functionality from Hibernate using JPA annotations.

bernardn
A: 

Thanks Jodonell!

just reading this...

hibernate - JPA - spring

Do you have any other suggested reading on it?

jeff porter
A: 

so is JPQL the same as JPA?

jeff porter
A: 

JPQL is EJBQL and JPQL is subset of HQL

01
+1  A: 

To answer the original question: I had a similar (the same?) problem, which was caused by the version of xjavadoc distributed with xdoclet 1.2.3.

XJavadoc provided a snapshot release that fixes the compatibility. Replace the jar from the xdoclet-release with the one you can find as an attachment to this JIRA issue (couldn't find a direct URL), and things should be better...

NR