SimpleDataSourceFactory
A factory for creating DataSource instances from simplified configurations. Allows easy setup for tests and examples.
Properties
Link copied to clipboard
Link copied to clipboard
The default Jackson 2 ObjectMapper used for serializing and deserializing JSON payloads. Pre-configured with the JavaTime module and DataSource serialization extensions.
Link copied to clipboard
Link copied to clipboard
The default Jackson 3 Jackson3ObjectMapper, pre-configured with the DataSource serialization extensions. Requires Jackson 3 on the runtime classpath.
Functions
Link copied to clipboard
fun createDataSource(simpleConfig: SimpleDataSourceConfig, jsonHandler: JsonHandler<*> = defaultJackson2JsonHandler): DataSource
Creates a data source based on the given simple configuration.
Link copied to clipboard
Link copied to clipboard