Hi Christopher,

 

yes it is possible.

 

Please take a look at the Advance Example (empire-db-example-advanced).

 

In the class SampleAdvApp you will find the method ddlSample(...) that shows 
how to add a column to a table.

But of course you can define and create entire tables or views at runtime in a 
similar manner.

 

Regards

Rainer

 

 

Von: Christopher Richmond [mailto:[email protected]] 
Gesendet: Donnerstag, 30. August 2012 02:12
An: [email protected]
Betreff: Dynamically creating tables

 

I am planning on using Empire with an embedded DB (H2 or HSQL and disk storage, 
not in memory).

 

I need to be able to create/drop/alter tables on the fly via java/api and 
cannot define tables/schemas ahead of time like the static samples.  Is this 
possible?  Examples?


Thanks,

Chris

Reply via email to