How can I use relative paths with sqlgen files?

The simplest way to populate your database with test data.

Moderators: David Atkinson, Anu Deshpande, Lionel

How can I use relative paths with sqlgen files?

Postby aaron » Mon Sep 27, 2010 10:30 pm

I'm using a .csv file for data generation as well as a .sql file for a postscript. Both are right next to my main .sqlgen file, but I can't make any assumptions about where my .sqlgen file lives.

SQL Data generator seems to want to use absolute paths when I reference these files, which won't work for me. When I manually change it to a relative path, SQL Data generator looks for the file relative to the applications install folder. How can I make my paths relative to wherever the sqlgen file is?
aaron
 
Posts: 1
Joined: Mon Sep 27, 2010 10:10 pm

Postby Linda Hawksworth » Thu Sep 30, 2010 8:20 am

Unfortunately, I think you have found a bug in SQL Data Generator. I have logged it in our tracking system with reference SDG-913. I have assigned it to the development team and await a response.
Linda Hawksworth
 
Posts: 192
Joined: Mon Jun 25, 2007 11:32 am

Postby tvg » Wed Oct 10, 2012 12:29 pm

Has this issue been resolved? I'm also having trouble with the absolute paths here and was hoping, that there is a way or workaround to use relative paths for those files.
tvg
 
Posts: 1
Joined: Wed Oct 10, 2012 12:16 pm


Return to SQL Data Generator 1

Who is online

Users browsing this forum: No registered users and 0 guests