Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7280 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 1 month later...
  • Newbies
Posted

sure thing man

first load the the driver

d = (Driver)Class.forName("com.ddtek.jdbc.sequelink.SequeLinkDriver").newInstance();

you can either do it that way of set the system property and use the driver manager to load the driver

System.setProperty("jdbc.drivers","com.ddtek.jdbc.sequelink.SequeLinkDriver");

en = DriverManager.getDrivers();

while (en.hasMoreElements()) {

d = (Driver)en.nextElement();

sb.append(d.getClass().getName());

}

k, once u have the driver get the connection

Connection con = DriverManager.getConnection("jdbc:sequelink://127.0.0.1:2399","Username","Password");

witht the above url im hosting the database on the same machine as my java app

and the port number is 2339

and now that u have the conection u can execute sql statements smile.gif

a few things that might help u.....

make sure the driver (jar file i forget its name) is in the class path or u will get a class loading exception ....

Make sure the filemaker database is running when you try and connect ....i know i know... but it got me a couple of times

and that should be it

ohh and make sure that JDBC shareing is turned on

kool

well have fun

This topic is 7280 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.