web development helpdesk

objects quality – the visible difference

Twitter

Follow us on Twitter

Recent Comments

  • msanabria: You have to copy logg4j library in the application server libraries
  • Matthew: What if it is the catalina.yyyy-mm-dd.log that we wish to stop? logrotate seems t handle the catalina.out...
  • Namrata: Hey, This solution is worked well but when try to use same at google app engine, I’m not able to do....
  • Jonathan: Thank you, this worked perfectly! I appreciate you posting this.
  • Sanjay Biswal: Good Question Answer.

Tags

apache array arrays ascii BigDecimal BufferedImage byte array calendar Certificate char collections conversion convert date DecimalFormat desktop Document DOM double file format hex http image import int javamail JScrollPane JTable keystore Locale mail native parse POI proxy regexp request sort ssl stream string thread url windows

WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • 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

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

Learn Java

Struggling with your Java assignments?

We have qualified Java developers currently available to provide personal assistance with your studies.

Want to know more?

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?

Australia Only

Cheap Books and Gifts online

Recent answers

  • Generating a random integer
  • Unzip a file using Java
  • Stop JTextField from expanding in BoxLayout
  • How to control volume of audio Clip
  • Evaluate expression