add <drop>true</drop> to the <componentProperties> of the
hibernate3-maven-plugin

R.

On 3/2/07, Stine, Matt <[EMAIL PROTECTED]> wrote:




I remember in the past (1.9.x) that when I made changes to my model classes,
ant script would update my DB schema. It seems that the equivalent 2.0
operation, "mvn compile hibernate3:hbm2ddl" does not do this. If the table
already exists it just moves on to the next one. Am I doing something wrong?
Is there a way to do a "clean" on your DB so that the updates get picked up?
Or do I have to drop the schema from MySQL every time?



Thanks.



_____________________________________

Matt Stine

Senior Software Engineer

Hartwell Center for Bioinformatics and Biotechnology

St. Jude Children's Research Hospital

332 N. Lauderdale St.

Memphis, TN 38105

Voice: 901.495.4602

Fax: 901.495.5108

Pgr: 901.495.3578 #1314

[EMAIL PROTECTED]

http://www.hartwellcenter.org



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to