Schema scripting - file per object - dependency order

2 views
Skip to first unread message

jerne...@gmail.com

unread,
May 10, 2009, 5:58:42 PM5/10/09
to DB Solo
Hi,

I've been evaluation db solo and it almost fits my needs. I need to
produce ddl file per object. But I also need a "master" file, which
calls all files in the right dependency order.

Is that possible with db solo?

DB Solo

unread,
May 10, 2009, 6:44:19 PM5/10/09
to DB-...@googlegroups.com
That's not currently possible. You have two choices a) one file with
all the objects in the dependency order or b) multiple files with no
specified order.
You could maybe generate both, then try to create the master file from
the single file using 'grep' and trying to match the pattern in the
header section for each object.

Marko

jerne...@gmail.com

unread,
May 11, 2009, 4:24:10 AM5/11/09
to DB Solo
One file for all the objects is ok (I could extract schema twice -
once for versioning and once for actual scripting), but it seems
dependencies are not handeled right for my schema. For example, a
trigger is generated before the table (and of course trigger creation
fails).
The database is oracle 11g. I have selected to keep the right
dependency order. Am I missing something?

Thanks

On 11 maj, 00:44, DB Solo <mhant...@gmail.com> wrote:
> That's not currently possible. You have two choices a) one file with
> all the objects in the dependency order or b) multiple files with no
> specified order.
> You could maybe generate both, then try to create the master file from
> the single file using 'grep' and trying to match the pattern in the
> header section for each object.
>
> Marko
>

Marko Hantula

unread,
May 11, 2009, 6:10:53 AM5/11/09
to DB-...@googlegroups.com
Could you send an example that would demonstrate the problem?

Marko

DB Solo - The SQL Query Tool
www.dbsolo.com

DB Solo

unread,
May 11, 2009, 10:31:45 PM5/11/09
to DB-...@googlegroups.com
Actually there was a problem with the dependency sorting, which should
hopefully be fixed now. Please download the latest from
dbsolo.com/preview and let me know how it works.

Marko
Reply all
Reply to author
Forward
0 new messages