A compiler, which makes a computer carry out a process for generating a
program used for a remote access to a virtual database comprising a first
computer 11 including an application program and a second computer 12
being connected to the first computer 11 by way of a network and
including one or more databases, replaces (1c) a description part
relating to a DML execution process for the virtual database from a
source code 7 of the application program with a description relating to
an RPC process and generates a program for executing the DML execution
process for the native databases based on the RPC process. The use of the
program enables a high performance remote database access while applying
a virtual database function aiming at facilitating a business logic
buildup.