JAVA-BASED METHOD FOR GENERATING DATABASE SEQUENCE
The present invention relates to a java-based method for generating a database sequence. The method comprises: first, constructing, in a database, a sequence data table for storing sequence information; secondly, constructing a sequence utility class to be used as a base class of java-class access,...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present invention relates to a java-based method for generating a database sequence. The method comprises: first, constructing, in a database, a sequence data table for storing sequence information; secondly, constructing a sequence utility class to be used as a base class of java-class access, to facilitate access of applications by means of the sequence utility class, and acquiring initial information of the sequence data table; and finally, constructing a sequence carrier class for storing specific sequence information. By means of the present invention, an application system shares one method to generate a sequence when using different databases, and coding workloads caused by heterogeneity of the different databases are reduced.
La présente invention concerne un procédé basé sur java destiné à générer une séquence de base de données. Le procédé comprend les étapes consistant : premièrement, à construire, dans une base de données, une table de données de séquence destinée à stocker des informations de |
---|