Java Question RDCConnector

Status
Not open for further replies.

Peekay

Active Member
Licensed User
Longtime User
I have followed the tutorial on JRDC2 of Erel and others and I have downloaded mssql-jdbc-8.2.2.jre8.jar and jtds-1.3.1.jar into my AdditionalLibraries folder.
I am now trying to run a B4J project just to test out the remote connection and datahandling.
I have this in my code just before Process Globals:

#AdditionalJar: mssql-jdbc-8.2.2.jre8.jar
#AdditionalJar: jtds-1.3.1


My code line :
Public rdcConnector1 As RDCConnector
gives me an error. I cannot see either of the two .jar files in my libraries manager.

Any tip as to where the error might be?

Thanks
PK
 

OliverA

Expert
Licensed User
Longtime User
Are you modifiying the JRDC2 source? You should only need to add the proper database driver (don't use the JTDS one) to the code via the #AdditionalJar directives. Where are you using Public rdcConnector1 As RDCConnector ? It is not needed in the client program.
 

Peekay

Active Member
Licensed User
Longtime User
OliverA,
This is the server program as I can gather which may only be in B4J, so there are only libraries staring with a j as I can gather.
This same code line in my B4A client program is fine although I do not know from which library it derives.
I got this code line from a tutorial by Bladimir. Here is the link:
Bladimir tutorial
 
Last edited:

OliverA

Expert
Licensed User
Longtime User
My code line :
Public rdcConnector1 As RDCConnector
gives me an error.
Where are you having this error? On the server code or on the client code?
I cannot see either of the two .jar files in my libraries manager.
That is normal for JDBC drivers. If you don’t have them In your Additional Libraries folder, the compile would fail.
 
Status
Not open for further replies.
Top