Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

chandrasekar.b03_190734 avatar image
chandrasekar.b03_190734 asked ·

Where can I get a JDBC driver for C* to integrate with JSP page?

Where can I get a jdbc driver for C*? Is that Datastax java driver?

is there anyway l can do like this.

class.forName("<C* JDBC driver> ");
Connection connect = DriverManager.getConnection(connection,DBName,DBPass);
Statement s = connect.createStatement();
ResultSet rs = s.executeQuery("select * from user_login");
RequestDispatcher r;
while(rs.next()){ if(Name.equals(rs.getString(1)) && Pass.equals(rs.getString(2)))
{
    r = request.getRequestDispatcher("/WelcomePage.html");
    r.forward(request, response); out.print("Welcome "+Name); flag=true;
}

does it require any alternate method or any other additional configuration?

And I'm really sorry if this is a silly question. Kindly make a reply in your available time:)

jdbc driver
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

You can download a JDBC driver from the same place where you can download any and all DataStax software -- from the DataStax Downloads page.

Here's the direct link to the ODBC/JDBC drivers tab on the page. Cheers!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks a lot Erick!!

0 Likes 0 · ·