facebook

Generate hbm mapping with xdoclet with reference project

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #257349 Reply

    Ralf Straub
    Member

    Is there a possibility to generate hibernate hbm mapping files with xdoclet cross two (or more) projects?
    I have Project A where the base classes of my objects are defined. There are several XDoclet annotation for the Hibernate Mapping files.
    In Project B, which has Project A as Referenced Project included, I extend this objects with more attributes also with XDoclet annotations.
    Is there a way to get a generated hibernate mapping with the XDoclet informations from both projects? Or have I really to rewrite all methods from the base classes (Project A) only for the XDoclet annotations?

    Thanks

    #257472 Reply

    Riyad Kalla
    Member

    I don’t believe XDoclet will support this cross-project boundry generation (MyEclipse provides a runner for XDoclet, but it’s still the XDoclet libraries underneath doing the generation).

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Generate hbm mapping with xdoclet with reference project

You must be logged in to post in the forum log in