Teuku,
I have 2 solutions for connect to external database.
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.
Peer.