Peekay Active Member Licensed User Longtime User May 24, 2020 #1 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
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 May 24, 2020 #2 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.
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 May 24, 2020 #3 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: May 24, 2020
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
OliverA Expert Licensed User Longtime User May 24, 2020 #4 Peekay said: My code line : Public rdcConnector1 As RDCConnector gives me an error. Click to expand... Where are you having this error? On the server code or on the client code? Peekay said: I cannot see either of the two .jar files in my libraries manager. Click to expand... That is normal for JDBC drivers. If you don’t have them In your Additional Libraries folder, the compile would fail.
Peekay said: My code line : Public rdcConnector1 As RDCConnector gives me an error. Click to expand... Where are you having this error? On the server code or on the client code? Peekay said: I cannot see either of the two .jar files in my libraries manager. Click to expand... That is normal for JDBC drivers. If you don’t have them In your Additional Libraries folder, the compile would fail.
Peekay Active Member Licensed User Longtime User May 25, 2020 #5 OliverA said: Where are you having this error? On the server code or on the client code? Click to expand... On the server side code. it does not compile because of this error.
OliverA said: Where are you having this error? On the server code or on the client code? Click to expand... On the server side code. it does not compile because of this error.
Erel B4X founder Staff member Licensed User Longtime User May 25, 2020 #6 Please start a new thread in B4J forum.