Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
Anonymous
Not applicable

Fabric Notebooks communication to on-premise SQL with jdbc driver

Hello,

 

We have a scenario that we need to access on-premise data on SLQ server from microsoft fabric using notebooks with jdbc driver. Is that scenario supported because as i have seen on-premise gateway does not support jdbc.

 

Thanks in advance

Yannis

2 REPLIES 2
franklloydtehew
New Member

Based on my readings Fabric Notebooks do not support data gateways (On Premise or VNet). Though I would love to see this being supported. A few months ago, a Fabric Notebook connection to Azure Resources using private links were also not supported - but now it is. Hopefully this is comming soon. 

Anonymous
Not applicable

Hi @Anonymous ,

 

Using notebooks from Microsoft Fabric to connect to local SQL Server via the JDBC driver is a bit tricky. The local gateway does not support JDBC.


But try connecting to SQL Server using pyodbc, which may be an alternative. See below for a similar solution:

Solved: JDBC connection to Fabric Lakehouse SQL endpoint u... - Microsoft Fabric Community

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.