DbAdapterFactory (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.configuration.runtime, interface: DbAdapterFactory

# Interface DbAdapterFactory

All Known Implementing Classes:
  `DefaultDbAdapterFactory`

public interface DbAdapterFactory

Since:
  3.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DbAdapter`
  `createAdapter(DataNodeDescriptor nodeDescriptor, DataSource dataSource)`
  Returns an instance of DbAdapter if the factory detects that it knows how to handle the database.

- ## Method Details

  - ### createAdapter

    DbAdapter createAdapter(DataNodeDescriptor nodeDescriptor, DataSource dataSource)
    Returns an instance of DbAdapter if the factory detects that it knows how to handle the database.