-->
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.  [ 1 post ] 
Author Message
 Post subject: Création automatique des schémas dans une DB HSQL
PostPosted: Mon Apr 07, 2008 2:38 am 
Newbie

Joined: Fri Apr 04, 2008 6:55 am
Posts: 3
Location: Belgium
Bonjour,

Je suis entrain de travailler sur des tests unitaires pour mon projet.
Je voudrais pouvoir travailler avec HSQL, afin de ne pas avoir à créer une DB en local pour faire mes tests (c'est plus facile car il y a plusieurs développeurs et ça éviterait une configuration supplémentaire).

Mon problème est que lorsque je lance mon test, mon context est initialisé, la DB est créée, mais pas les schémas correspondant à mes tables. La conséquence est que mon test plante car il essaie de créer les tables de mes entities alors que les schémas n'existent pas.

Est-ce que quelqu'un sait comment résoudre ça ?

Merci


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

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.