LibraryToggle FramesPrintFeedback

You can customize the SQL statements that the JDBC persistence adapter uses to access the database. This is done by adding a statements element to the JDBC persistence adapter configuration. Example 4.5 shows a configuration snippet that specifies that long strings are going to be stored as VARCHAR(128).


The first statements element is a wrapper for one or more nested statements elements. Each nested statements element specifies a single configuration statement. Table 4.3 describes the configurable properties.


The properties listed in Table 4.3 configure the default SQL statements used by the JDBC adapter and work with all of the supported databases.

Comments powered by Disqus