DDL export option?

8 views
Skip to first unread message

timowest

unread,
Feb 11, 2012, 3:46:05 AM2/11/12
to Circumflex Public Q&A
Is there an option of schema export without execution in the maven
plugin?

Boris Okunskiy

unread,
Feb 11, 2012, 3:54:10 AM2/11/12
to circumfl...@googlegroups.com
Greetings Timo,

Each table (and any `SchemaObject` subclass) has `sqlCreate` and `sqlDrop` methods, which render SQL using application configured dialect. 

Moreover, take a look at DDLUnit (http://circumflex.ru/api/2.1/circumflex-orm/src/main/scala/ddl.scala.html), specifically at `createObjects` and `dropObjects`. 

Best regards,
Boris Okunskiy
Reply all
Reply to author
Forward
0 new messages