I want to create a project with one database but I want to have some tables with data and duplicated that to another/more schemas so I will have in every schema different and separated data according to something (ex. Location).

I am using Ebean with play and java and I created the tables models but I want the sql query will work with the right schema according to a session’s value.

So the question is how can I change while runtime the Ebean schema so the query will work properly.

    Your Answer


    By posting your answer, you agree to the privacy policy and terms of service.

    Browse other questions tagged or ask your own question.