Reputation: 23
I've been charged with writing a DB manipulator with java for a project.
My professor gives us material that says to use the sqlj library (Oracle I'm assuming?), but nobody explains where it comes from or how do download it.
I've been looking for hours now.
Upvotes: 1
Views: 2918
Reputation: 1463
The jars you're looking for are in Oracle Database Client. You can download it here: http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html
Upvotes: 2
Reputation: 7693
You can download DB2 Express-C and compile your SQLj classes, generate the java files, and access plans for the database.
Upvotes: 0
Reputation: 372
SQLJ is not a library, it is a language extension - this means you'll have to use a preprocessor to compile your java code to .sqlj files, which can then be executed. It's not as simple as including a library.
this might get you started - you will need an Oracle environment on your machine though, I'm not sure if it's freely available
Upvotes: 1
Reputation: 160191
The SQLJ site?
Unless you mean the executable, but I'm not sure what that is:
http://www.oracleutilities.com/OSUtil/sqlj.html
Upvotes: 2
Reputation: 6442
Usually when you look for libraries, try typing: library-name maven repository, that will usually give you the right library, if not - that means "The library is kinda unusable and there are lots of better tools".
P.S.: Don't listen to your professor, just do it using standard JDBC or JPA.
Upvotes: -1