I'm learning
JDBC from Donald Bales '
Java Programming with Oracle JDBC'.
I can compile his source (page 90) but when I attempt to load the class file into Oracle 8.1.6 using :
>loadjava -v -t system/manager@jelly:1521
rcl HelloWorld.class
I receive the following response :
initialization complete
loading : HelloWorld
creating : HelloWorld
Error while retrieving errors for HelloWorld
ORA-00904 : invalid column name.
There is nothing wrong with Mr Bale's code - I get the same error with :
public class HelloWorld {
public static
String quote() { return "Hello World" ; }
}
I have no difficulty running the examples in later chapters of his book (
Statement , PreparedStatement , CallableStatement)
Thank you in advance.