Example: Common Operations
Example 1
Before completing the following example, you need to create a stored procedure.
This example illustrates how to develop applications based on the GaussDB(DWS) JDBC interface.
Example 2: High Client Memory Usage
In this example, setFetchSize adjusts the memory usage of the client by using the database cursor to obtain server data in batches. It may increase network interaction and damage some performance.
The cursor is valid within a transaction. Therefore, you need to disable the autocommit function.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.