Java – How to connect to database in java without jdbc and other frameworks?

javajdbc

Is there any other way to connect to the database other than making a jdbc connection or using frameworks which internally use jdbc.

Best Answer

Sure, it's possible. But not likely.

You'd have to understand the protocol that the database vendor expected completely.

You'd have to write your own client to converse with the vendor's listener on the server side.

It can be done, but I doubt that you or I would be up to it.

The big question is: why?