Message:

   The following issue has been closed.

   Resolver: Paul Galbraith
       Date: Wed, 20 Apr 2005 1:53 PM

Sorry, Jeryl, I think I understand what you're asking, but it would be a fair 
amount of work and I don't see any really practical benefit for it.   I don't 
think people would make use of this because it's too confusing to know where 
your source for changes is.  What if you update your hbm.xml file and forget to 
regenerate your java source?  You'll lose your change next time you change the 
java and regenerate hbm.xml.  (And vice versa.)  You should pick either java 
(my recommendation) or hbm mapping files as your working source and stick to it.
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1324

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1324
    Summary: missing xdoclet tags from java files
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Hibernate Module
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Jeryl M. Cook

    Created: Fri, 1 Apr 2005 8:31 AM
    Updated: Wed, 20 Apr 2005 1:53 PM
Environment: windows xp, 2gigs ram, java 1.4.x, eclipse xdoclet 1.2.2,middlegen 
2.1

Description:
ok, ive been using xdoclet/middlegen/hibernate for a good while now.. here is 
my procedure.

i only use middlegen in the earlier stage from a legacy database. it generates 
the .hbm WITH THE XDoclet tags, which i like...then i use java2hbm that 
generates the nice java files WITH THE Xdoclet tags.. NOW this is where round 
trip stopps and i havnt foudn a solution.   i change an Xdoclet tag, in the 
java class then run java2hbm(using xdoclet hibernate tool), and it DOES NOT 
include the xdoclet metadata tags in the .hbm files! When i run hbm2java again 
on the second generated hbm files , they create the java files WITHOUT the 
metadata tags ... is there a setting i can tell xdoclet to include the metadata 
tags when generating the hbm from java??

middlgen->hbm(with xdoclet tags)->hbmn2java->creates java(with xdoclet tags)

java2hbm(xdoclet plugin)->hbm(without xdoclet tags)-> :(

if possible please send me a response if im doing somthing wrong or this is a 
bug..thanks

Jeryl Cook
http://pharaohofkush.blogspot.com/


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to