web development helpdesk

objects quality – the visible difference

Categories

  • application server (14)
  • css (2)
  • gwt (5)
  • html (7)
  • iphone (5)
  • java (343)
    • jdbc (11)
    • swing (52)
  • javascript (4)
    • jquery (2)
  • jsp (9)
  • linux (7)
  • mac (3)
  • php (2)
  • spring (6)
  • tools (9)
  • wordpress (2)
  • xml (13)

Archives

  • February 2012
  • July 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • Home
How do I make my git repository available to export to others? What do I need to import for assertEquals() method in JUnit 4?
Nov 28

I am using JPA with Hibernate and want it to update my schema automatically whenever I change my mapping configuration

application server, java Add comments

Add the following to persistence.xml:

<property name="hibernate.hbm2ddl.auto" value="update"/>

written by objects \\ tags: ddl, hibernate, jpa, mapping, schema


Leave a Reply

You must be logged in to post a comment.

Thanks to N.Design Studio, MangoOrange™ and Web Hosting

Also see

  1. How to map an array using hibernate?
  2. How to specify log4j configuration in spring application?
  3. How to specify a static constant in my Spring configuration?

Recent answers

  • Use of FactoryBean’s with Spring JavaConfig
  • Generating a random integer
  • Unzip a file using Java
  • Stop JTextField from expanding in BoxLayout
  • How to control volume of audio Clip