-->
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.  [ 5 posts ] 
Author Message
 Post subject: sl hibernate.hbm2ddl.auto for jboss-service.xml
PostPosted: Mon Jan 12, 2004 11:41 am 
Beginner
Beginner

Joined: Thu Nov 20, 2003 12:29 pm
Posts: 39
Hello,
one question.

For auto-create tables you could use hibernate.hbm2ddl.auto within the
hibernate.cfg.xml.
Is it planned to use such a feature in the jboss-service.xml, so the mbean could handle this?

Or do i have to use the shema-export?

Greetings


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 12, 2004 1:34 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
The hibernate.hbm2ddl.auto property is currently not available for the MBean. It is however trivial to add, you should be able to patch the source without problems. If you do, submit a Patch.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 12, 2004 7:04 pm 
Beginner
Beginner

Joined: Thu Nov 20, 2003 12:29 pm
Posts: 39
I've added it.
But i found no information about the patch format and how to submit the patch.
Do i have to create a new feature issue and than attach the files???


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 12, 2004 7:08 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Create an issue with JIRA, and attatch the patch. The patch should be in unified diff format, generated by the "diff -u" command. (Try cygwin for a command line diff if you are on windows)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2004 8:16 am 
Beginner
Beginner

Joined: Thu Nov 20, 2003 12:29 pm
Posts: 39
Done.
Thanks for your adwisces!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.