Mike Monette

Greenhorn
+ Follow
since Mar 27, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mike Monette

This is a book we all need!  Looking forward to reading.
Maybe I wasn't being clear in my first post. The problem is not generating the relationship in general, but in getting xdoclet to generate it when there is no getXXX method, and wanting to specify access="field" in the hibernate mapping (because there is no getXXX method).

Thanks
Mike Monette
18 years ago
Thanks to both of you for your replies. I'm trying to make the process as automated as possible. These aren't complicated objects, so hand-tuning the XML or XSD is not a big deal for a few, but as our project moves forward, the number of domain objects to run generation for increases.

The XSD's are required for mediation between POJO and Service Data Objects (SDO's). I'm starting with the Java domain objects, and need to generate XSD's for them at build time to feed into a mediation service, which will perform the translation.

If anyone has ideas on a better approach, I'd love to hear them.

Thanks,
Mike Monette
I'm attempting to generate a many-to-one relation in hibernate with access="field". There are no getter/setter methods for this property. When I generate the mapping, my many-to-one does not get included. How do I cause this to be included in the generated mapping?
Thanks, Mike Monette
18 years ago
Hi, I'm looking for a command line tool which can generate an XSD from a Java object. The only restriction is Java 1.4 or below. Does anyone know of such a tool?

Thanks,
-Mike