-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: SchemaUpdate strange behaviour
PostPosted: Sun Feb 29, 2004 4:30 pm 
Newbie

Joined: Sun Feb 29, 2004 4:18 pm
Posts: 7
Hi,

I've been using the anttask SchemaUpdate for a while now with pleasure untill today. I added some new classes and extra fields to existing hibernate classes so I needed to run the task again to update my database.

But nothing happens when running the tasks. Not even a stacktrace, nothing! And the hibernate config files where updated and are included in the fileset for the task. Also the -debug trace didn't reveal anything special.

I'm at a total loss, anybody has an idea what could be wrong?

I use hibernate 2.1.1 and MySql 4.0.10 with jdbc driver 3.0.10

I appreciate any hint.

Regards,
Wouter


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 16, 2004 4:17 pm 
Beginner
Beginner

Joined: Thu Sep 11, 2003 12:53 pm
Posts: 23
Had the same problem. My solution (maybe you found it by now) is to add the undocumented attribute:

Code:
text="false"


to the ant task.

See this JIRA issue.

http://opensource.atlassian.com/project ... wse/HB-726

WILL


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 16, 2004 4:20 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Closing the issue, this is documented:

http://www.hibernate.org/hib_docs/refer ... guide-s1-3

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 11, 2004 12:09 pm 
Beginner
Beginner

Joined: Thu Sep 11, 2003 12:53 pm
Posts: 23
No it's not. Check again.

WILL


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.