• Jeremy Leiser 6
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 3
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies
I'm trying to implement the Apex Connector Framework, but when I try to create DataSource.Connection and DataSource.Provider classes, I get the following error when compiling:

"Type is not visible: DataSource.Connection"

This is the entirety of my sample DataSource.Connection class:
global class DBConnection extends DataSource.Connection {
	global DBConnection(DataSource.ConnectionParams connectionParams) {}
}

Does anyone know why I'm getting this error?  Thanks in advance for any help you can provide.

-Jeremy
 
I'm trying to implement the Apex Connector Framework to hook up to an external database.  However, I'm getting the following error: "Type is not visible: DataSource.Connection."

Here is my code:
 
global class ChoozleDBConnection extends DataSource.Connection {
	global ChoozleDBConnection(DataSource.ConnectionParams connectionParams) {}
}

Thank you for any help you can provide!
I'm trying to implement the Apex Connector Framework to hook up to an external database.  However, I'm getting the following error: "Type is not visible: DataSource.Connection."

Here is my code:
 
global class ChoozleDBConnection extends DataSource.Connection {
	global ChoozleDBConnection(DataSource.ConnectionParams connectionParams) {}
}

Thank you for any help you can provide!