Maven 1.x Hibernate Plugin

Aggregate mappings and schema-export from multiple base dirs

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    2

Description

1. Added aggregate-mappings goal. When executed the goal will aggregate
mappings from separate mapping files into one single mapping file.

2. Modified schema-export goal, so that you can specify multiple base
directories. Basically my generated classes sit in a separate tree from
my hbm.xml mapping files. With unpatched version I was forced to put
mapping files into the same dir as my generated classes. So I modified
SchemaExportBean a bit to accommodate multiple base directories.

  1. diff.patch
    01/Jul/04 3:28 PM
    22 kB
    Alex Shnyderman
  2. patch.diff
    01/Jul/04 2:12 PM
    11 kB
    Alex Shnyderman

Activity

Hide
Alex Shnyderman added a comment -

patch that does those two things described

Show
Alex Shnyderman added a comment - patch that does those two things described
Hide
Alex Shnyderman added a comment -

the previous patch was not including new files

Show
Alex Shnyderman added a comment - the previous patch was not including new files
Hide
David Eric Pugh added a comment -

Move to be fixed in 1.2

Show
David Eric Pugh added a comment - Move to be fixed in 1.2
Hide
David Eric Pugh added a comment -

Alex, I have applied your changes. A couple of edits I had to make, so can you verify the changes:
1) I only applied the first patch.. As far as I could tell the second patch was a subset of the first? In the future, make sure your patches are all seperate, or clearly identify which ones are invalide.
2) Changed all the System.out's to use a LOG object. Check out the verboseness.. some of the LOG.info maybe be LOG.debug.
3) Typos.. Had a couple hiberante's and aggragants floating about! I type hiberante all the time as well!

Thanks for the contribution!

Show
David Eric Pugh added a comment - Alex, I have applied your changes. A couple of edits I had to make, so can you verify the changes: 1) I only applied the first patch.. As far as I could tell the second patch was a subset of the first? In the future, make sure your patches are all seperate, or clearly identify which ones are invalide. 2) Changed all the System.out's to use a LOG object. Check out the verboseness.. some of the LOG.info maybe be LOG.debug. 3) Typos.. Had a couple hiberante's and aggragants floating about! I type hiberante all the time as well! Thanks for the contribution!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: