go-ozzo / ozzo-dbx

A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities.
MIT License
636 stars 91 forks source link

Transaction successful if FOREIGN KEY constraint failed #66

Closed kolkov closed 6 years ago

kolkov commented 6 years ago

Hi! If FOREIGN KEY constraint failed transaction commited as succeful. :( Whats wrong?

qiangxue commented 6 years ago

Do you have more details about the problem? A piece of code snippet reproducing the problem?

kolkov commented 6 years ago

Thank you! The problem was solved. My interceptor was not working correctly.