java - Inserting schema Programmatically -


we have enterprise application based on spring-java offers each user(one corporation) own database.so when new user (corp.) registers give location of database (a postgresql) , need make blank database filled our schema , our data.
ques:

i need automate process of inserting schema in database programatically.

how think should it:
create procedure execute commands related inserting schema provided database not sure plausible way.

are such kind of process can perform apis of database connectors? i'm afraid not.

please people share thoughts, in advance

you might want have @ flyaway , liquibase

both of these tools support creating schema scratch (run scripts) or running subset of scripts on existing database move version version b.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -