0

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.

AngocA
  • 7,655
  • 6
  • 39
  • 55
AIngellis
  • 13
  • 2
  • 6

5 Answers5

2

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

finx
  • 1,293
  • 9
  • 9
2

The SQLJ site?

http://www.sqlj.org/

Unless you mean the executable, but I'm not sure what that is:

http://www.oracleutilities.com/OSUtil/sqlj.html

Dave Newton
  • 158,873
  • 26
  • 254
  • 302
1

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

Christian Uhl
  • 362
  • 1
  • 9
0

You can download DB2 Express-C and compile your SQLj classes, generate the java files, and access plans for the database.

AngocA
  • 7,655
  • 6
  • 39
  • 55
-1

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.

d1e
  • 6,372
  • 2
  • 28
  • 41
  • 1
    Do you think it is wise to ignore the given requirements of the client (in this case the professor) if you don't like them? – Christian Uhl Nov 03 '11 at 16:39
  • @ChristianUhl, [Your Customers Do not Mean What They Say](http://programmer.97things.oreilly.com/wiki/index.php/Your_Customers_Do_not_Mean_What_They_Say), usually. – d1e Feb 20 '12 at 10:10