# Frameworks and ORMs

Validate an ORM connection, query path and schema migrations separately before using it with ParticleDB.

Source: https://particledb.ai/connectivity/orm-compatibility/

A working SQL driver connection is the starting point, not a complete ORM compatibility guarantee.

## Validate the full workflow

Test each of these with the framework and server versions you will deploy:

1. Connection initialization and metadata queries.
2. Reading and writing a model with bound parameters.
3. Returned identifiers, nulls, timestamps and decimals.
4. Transactions, rollback and error mapping.
5. Schema creation, introspection and migration locks.

## Schema management

If a framework's schema tool requires unsupported catalog queries or locking, manage the schema through verified SQL migrations. Do not claim that the framework is fully supported based only on a successful `SELECT`.

## Connection settings

Use your framework's supported SQL driver and the configured SQL client address. Keep credentials in the deployment environment. See [language clients](/sdks/overview/) and [addresses](/installation/ports/).

## Troubleshoot

Capture the first failing query and error code. Reduce it to a small SQL reproduction before changing compatibility settings. Use [troubleshooting](/guides/troubleshooting/) and [limits](/reference/limits/).
