Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: hibernate.hbm2ddl.auto consult and doubts

  1. #21
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    Quote Originally Posted by dejanp View Post
    Yes, and I don't believe in XP.



    Ok, agreed.
    I do not believe in XP as well, but it works. Sometime. And anyway this or that flavor of agile development is usually a best possible choice (with some exceptions). Myself have used these agile approaches many years before the term was coined. Somewhen from early 80-s. And it works.

  2. #22
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    Write the new/update old files, generate scripts to update database schema with hbm2ddl.update by redirecting output to the file (it is described in the Hibernate reference, 20.1.5, 20.1.6),
    http://www.hibernate.org/hib_docs/v3...lsetguide-s1-6

    just really wondered
    why a few information about of this important topic
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  3. #23
    Join Date
    Jul 2007
    Posts
    101

    Default

    There are a lot of free tools for MySQL. Do a search for MySQL data modeler

    Here are some:

    http://www.modelright.com/download/modelright2setup.msi

    http://www.casestudio.com/enu/

  4. #24
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    Quote Originally Posted by dr_pompeii View Post
    http://www.hibernate.org/hib_docs/v3...lsetguide-s1-6

    just really wondered
    why a few information about of this important topic
    Because this topic is not such important, the Hibernate authors can not imagine even in nightmare that somebody will try it in production

    More seriously, Reference is just reference, strictly technical document with probably few examples. For all other things - books, articles, etc. And "Java Persistence with Hibernate" is a must for anybody who plan serious development with Hibernate.

    And one more - the whole philosophy of Hibernate - we provide you with log of options, it is your responsibility to decide which suit you, weigh advantages and risks yourself. BTW, probably you have noticed that Hibernate forums (unlike Spring ones) are not so much supportive.

    Regards,
    Oleksandr

  5. #25
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    al0
    the Hibernate authors can not imagine even in nightmare that somebody will try it in production
    i would be agree, but what happens with a last requeriment od last time?
    is it possible this situation right?

    And "Java Persistence with Hibernate" is a must for anybody who plan serious development with Hibernate.
    i prefer the first edition, Hibernate in Action

    Code:
    BTW, probably you have noticed that Hibernate forums (unlike Spring ones) are not so much supportive.
    thats right, and i hate its system of credits

    regards friend
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  6. #26
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    Quote Originally Posted by dr_pompeii View Post
    al0

    i would be agree, but what happens with a last requeriment od last time?
    is it possible this situation right?
    This is quite typical situation but nobody add such change directly to production. So you use this option but not for direct database update, but for script generation. apply this script in development and or test environment, test results and only then apply tested script to production. But we have already discussed this before

    i prefer the first edition, Hibernate in Action
    Great book and not so fat as new edition, but Hibernate 2.0 based. Many things have changed. And some things are really better explained in new version.

    Regards,
    Oleksandr

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •