How to connect entity to existing database

i already have an existing database with already filled tables,, is there a way to connect existing database with filled table to entities in domain model ??? especially entities that generalized from system like system.user,, the problem is that if i create persist table it will create new table and i need it to connect to already existing table since the database is used by many programs
1 answers



I have 2 solutions for connect to external database.

  1. Database Replication module
  2. Database Connector module

For the Database Replication module use synchronize master table e.g. Country, City, Street and etc.

For the Database Connector module use query statement for transaction data.


How ever, you must create Entity on your app.