This mail is probably spam.  The original message has been attached
along with this report, so you can recognize or block similar unwanted
mail in future.  See http://spamassassin.org/tag/ for more details.

Content preview:  hi, On Tue, 20 Aug 2002 17:09:23 +0200, "Christoph
  Sturm" <[EMAIL PROTECTED]> said: > ----- Original Message ----- > From:
  <Gavin_King/[EMAIL PROTECTED]> > > > This would be very
  cool. How do you propose to implement it? Diffing two > > "create
  table" statements? Diffing two mapping documents? Diffing against > >
  JDBC metadata? > > I was thinking about diffing against jdbc metadata.
  What I had in mind was > an automatic check of the database metadata
  when hibernate starts up, and > automatic execution of ddf statements
  that add missing columns and tables. [...]

Content analysis details:   (8.10 points, 8 required)
NO_REAL_NAME       (3.0 points)  From: does not include a real name
X_MAILING_LIST     (0.0 points)  Has a X-Mailing-List header
FOR_FREE           (6.0 points)  BODY: No such thing as a free lunch (1)
KNOWN_MAILING_LIST (-0.9 points) Email came from some known mailing list software


--- Begin Message ---
hi,

On Tue, 20 Aug 2002 17:09:23 +0200, "Christoph Sturm" <[EMAIL PROTECTED]>
said:

> ----- Original Message -----
> From: <Gavin_King/[EMAIL PROTECTED]>
>
> > This would be very cool. How do you propose to implement it? Diffing two
> > "create table" statements? Diffing two mapping documents? Diffing against
> > JDBC metadata?
>
> I was thinking about diffing against jdbc metadata. What I had in mind was
> an automatic check of the database metadata when hibernate starts up, and
> automatic execution of ddf statements that add missing columns and tables.

even this poses some problems, eg. when you're trying to add a NOT NULL
column... also, renaming a column would not be recognized... so i think
the closest you can get is a schema comparison, and a default alter
script, which you have to tweak manually. still comes handy though, but
has not much to do with hibernate itself i guess :)

   viktor

--

  [EMAIL PROTECTED]

--
http://fastmail.fm
Quick as a click


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


--- End Message ---

Reply via email to