Skip to content

@prisma/adapter-mssql (Prisma 7) is unusable #28994

@arthur-ver

Description

@arthur-ver

Bug description

Hi,

since Prisma 7 and the switch to @prisma/adapter-mssql I get TransactionError: Can't rollback transaction. There is a request in progress on almost every query, making it unusable in the current state. I had to rollback to version 6.19.1 without the Rust-free adapter.

Might be related:
#28812 #27990

Severity

🚨 Critical: Data loss, app crash, security issue

Reproduction

Expected vs. Actual Behavior

expected: upgrade to Prisma 7 should not break production code
actual: currently unusable

Frequency

Consistently reproducible

Does this occur in development or production?

Both development and production

Is this a regression?

Workaround

Downgrading to Prisma 6.19.1 fixes it

Prisma Schema & Queries

// Add relevant schema.prisma snippet
// Add relevant Prisma Client query

Prisma Config

// Add your `prisma.config.ts`

Logs & Debug Info

// Debug logs here

Environment & Setup

  • OS: Windows
  • Database: MSSQL
  • Node.js version: v22

Prisma Version

6.19.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions