App server multiDB
Posted: Mon 18 Jan 2021 11:33
HI,
I use last version of Delphi, last version of uniDAC and last version of the EntityDAC.
I need to create a REST server API that work in Oracle or PostgreSQL.
What are the specifications with EntityDAC in order to create a single application (net of the management of the UniDAC connection and related drivers).
Given that the names of the tables will be identical (the two DBs have the same structure but I can managed this with the name of the entities) what can change are the name of the sequences.
I normally use the "Code-Mapped Entity" model. How can I manage the correct model in relation to the type of DB to which I connect? Should I upload the Model.Mapping.xml at run-time?
Thank you very much and best regards
I use last version of Delphi, last version of uniDAC and last version of the EntityDAC.
I need to create a REST server API that work in Oracle or PostgreSQL.
What are the specifications with EntityDAC in order to create a single application (net of the management of the UniDAC connection and related drivers).
Given that the names of the tables will be identical (the two DBs have the same structure but I can managed this with the name of the entities) what can change are the name of the sequences.
I normally use the "Code-Mapped Entity" model. How can I manage the correct model in relation to the type of DB to which I connect? Should I upload the Model.Mapping.xml at run-time?
Thank you very much and best regards