Providing custom location for Jubula H2 Database [message #1720237] |
Fri, 15 January 2016 13:49 |
Irfan Khaliq Messages: 20 Registered: August 2014 |
Junior Member |
|
|
By default Jubula uses H2 database at ~/.jubula/database/embedded location. How can we choose a different location for the database.
I know we can do it from ITE preferences. But I am more interested in command line case. How can we provide a custom location of database to dbtool and testexec tools? I want to keep more than one H2 databases on SAME machine and choose the required whenever needed.
Is this possible to achieve that?
Thanks.
Irfan
[Updated on: Fri, 15 January 2016 15:11] Report message to a moderator
|
|
|
|
|
|
Re: Providing custom location for Jubula H2 Database [message #1720396 is a reply to message #1720363] |
Mon, 18 January 2016 11:38 |
Alexandra Schladebeck Messages: 1613 Registered: July 2009 |
Senior Member |
|
|
Hello,
Yes, the dburl parameter is available in the dbtool as well:
http://help.eclipse.org/mars/topic/org.eclipse.jubula.client.ua.help/content/html/userManual/tasks/useDBToolClient/parameters-for-the-dbtool.html?cp=44_2_25_2
We don't recommend using the H2 database for productive use, as it simply doesn't scale. We test with Oracle, and there are users that use MySQL / Postgres.
As for having two databases - what are your reasons for doing this? We use two databases, for example, to be able to "push" productive tests once they are complete (i.e. so we're not working in the productive database instance). If that's your aim, then it should be fine, however, I've never tried out the situation using H2 databases.
Best regards,
Alex
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03143 seconds