Dudoj is a Java-based data persistence framework, but it is completely different from other persistent frameworks, and she has brought many exciting functions to system development.
Write SQL script capability using Java Dudoj to provide you with the ability to write SQL scripts using Java. At present, most of our application data is stored in a relational database, using SQL statements in applications to operate data is our most common way. The conventional way is to embed the SQL statement in the code when encoding. The side effects brought about by this way are obvious. Using Dudoj as a persistent layer for enterprise applications, the program operation is a Java object. On the one hand, you can effectively isolate your application with the database. On the other hand, check the object in the compile period, whether the object property reference is correct, not An error can be checked when you want to run like JDO. Although it is not an important function, it is possible to improve our coding efficiency (the same Code Insight feature with the IDE can quickly find the object properties). The SQL function supports Dudoj has implemented common string functions, mathematical functions, date functions, and more functions will be implemented later. Using functions in Dudoj, you don't have to worry about the differences in different database platform functions, Dudoj provides you with a unified function interface, which will automatically generate correct mappings for different database platforms. The powerful query function With Dudoj's capabilities and the ability to write SQL scripts using Java, you can use the Dudoj Framework to define a complex query in your application. Using DUDOJ You can define a static query (definition in the design period as a class), you can also generate a query (dynamic query) at runtime, or even define queries in the mapping file to implement any complex SQL query features. Smooth database transplant Do you have experienced your application from a database platform to another database platform? Whether to make your code for different database platform SQL implementation? I believe that many people have experienced these painful moments. Now, there is a Dudoj data persistent framework, you don't have to worry about these cumbersome things. Using Dudoj as your application's persistence layer, you can transfer your application to any of Dudoj to support any of the database platforms supported by Dudoj, without any changes to the program code. Due to the time relationship, there are also a wide variety of database platforms, there are some Dudoj's currently not supported database platforms, but Dudoj provides flexible extension mechanisms, on the basis of Dudoj, you can write extension modules for your database, and these modules It is not related to the application, you can reuse these modules between your different applications. Multi-database connection support Dudoj supports multiple database platforms, but also supports multi-database platform coordinates work. In Dudoj, by setting the configuration file, allow multiple database platforms to work simultaneously in the Dudoj framework, the number of database platforms is not limited. Dudoj even allows you to establish a data relationship between multiple database platforms, and Dudoj automatically handles data acquisition and updates of different database connections when performing objects, increasing, and deleting changes. The simple and easy-to-use API Dudoj frame provides a unified interface for the SQL function. Unity of different databases, you only need to understand the function definitions provided by the Dudoj framework, do not need to understand the difference in different databases, extreme Big simplified your development work. Dudoj also simplifies some of the issues encountered in application development, such as segmentation queries, traditional in different database platforms you need to do different code to adapt to optimal queries made on different database platforms, use Dudoj, you only need to use the Limit function, you don't need to worry about the efficiency of the query on different database platforms, Dudoj will automatically generate efficient, correct query code for different database platforms. The Custom Object (UDT) persistence capability Dudoj Frame provides user-defined object persistence.