We use c3p0 with hibernate and spring on MS SQL Server 2005. All was right with default hibernate pool datasource, but since we tried c3p0 we can't use windows authentification (empty user and password).
Running in Tomcat, the JVM crashes :
# An unexpected error has been detected by Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100016c9, pid=3768, tid=1848
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode windows-x86)
# Problematic frame:
# C [ntlmauth.dll+0x16c9]
Here is my c3p0 hibernate config :