When used against MySQL 5.0.13 and JDBC 3.1.11, I get a null pointer when trying to use that EOUtitlites method. Does anybody know how to get this operating. The docs say the stored procedures are supported from version 3.1 and up for the JDBC driver??
Here's the code I'm using:
NSDictionary args = new NSDictionary(vendor.vendcode(),"L"); reportItems = EOUtilities.rawRowsForStoredProcedureNamed(myEC,"storeDetail",args);
Here's part of the stack trace I get: STACK TRACE: [2005-11-08 10:15:45 EST] <Thread-3> java.lang.NullPointerException at com.webobjects.eoaccess.EOUtilities.rawRowsForStoredProcedureNamed(EOUtilities.java:624) at LongProcess.performAction(LongProcess.java:152) at com.webobjects.woextensions.WOLongResponsePage.run(WOLongResponsePage.java:155) at java.lang.Thread.run(Thread.java:552) |