The invention discloses a method for operating a
database table based on backward generation of a
database table structure. The method comprises the following steps of creating an
Oracle database table in a database editor, and establishing a database table
structure mapping relationship; querying, reading and judging the information of the
Oracle database table; reversely extracting a managementtable from the
Oracle database table, and respectively storing the query contents into a manager database table; cyclically querying the information stored in the manager database table, extracting and storing into a defined dynamic module, organizing data in the dynamic module into
Java codes, and generating two DAO files, two TO files, a FROM file and a VO file; by calling the files, increasing,deleting, modifying and querying the database table. The method has the advantages that the operation codes are standard and uniform, the operation and subsequent maintenance of the database are convenient, the
workload of a developer is reduced, the quick editing of the database is realized, and the like; the higher application value and popularization value are realized in the technical field of the databases.