Re: JNDI - Weblogic - SqlMApConfig

2007-06-14 Thread Mike Fagan
Ok There is also one thing I overlooked in your web.xml add the following entry to expose the resource to your application: JDBC Connection jdbc/DataSourceTest javax.sql.DataSource Container Mike Fagan wrote: This is a JNDI lookup error please verify you are passing the same name

Re: JNDI - Weblogic - SqlMApConfig

2007-06-14 Thread Mike Fagan
This is a JNDI lookup error please verify you are passing the same name as appears in the JNDI column for this data source on your JDBC Data Sources admin page. It should be that simple [EMAIL PROTECTED] wrote: It won’t work; i get in my stacktrace the following message. Would someone please

Re: JNDI - Weblogic - SqlMApConfig

2007-06-13 Thread Mike Fagan
Try, or whatever the JNDI name is for DataSourceTest in the JDBC Data Sources Admin Screen. Regards, MF Davy Pulinckx wrote: Hi, Cane anyone explain me how you configured *weblogic* and *sqlmapconfig*. I use weblogic, I have a datasource and a connectionpool b

Re: Error calling procedure simultaneously

2006-05-22 Thread Mike Fagan
Is it possible that your procedure fails if called simultaneously? My guess is an error occured in the proc and failed to return a value. I would verify in sqlplus your pl/sql is reentrant. Regards, Mike Fagan - Original Message - From: Hendry [mailto:[EMAIL PROTECTED] Sent: 5/18/2006

Re: Next steps on REFCURSOR support?

2006-05-09 Thread Mike Fagan
Clinton, I am comfortable with the implementation and will provide any help you need (testing etc.) Regards, Mike Fagan Clinton Begin wrote: If you're all comfortable with the solution as it is in the Wiki, I may be able to implement it. I have a list of things after TSSJS that I

Re: Next steps on REFCURSOR support?

2006-05-08 Thread Mike Fagan
e since I use it everywhere. I have requested to have it added in the past but did not get any feedback from committers on how to make this happen. Regards, Mike Fagan

Re: calling stored functions

2006-02-01 Thread Mike Fagan
r from the postgres JDBC driver. Regards, Mike Fagan March, Andres wrote: I have been looking for a way to do this for postgres.  Is this feature only available for the Oracle RefCursor type or can it be used with other databases?   From: Mike Fagan [mailto:[EMAIL

Re: calling stored functions

2006-02-01 Thread Mike Fagan
Ted, This is standard callable statement JDBC syntax for a procedure/function. The "?" are assigned the parameter from the parameterMap in the order declared. Your sample might also work but I have never tried it :-[ . Regards, Mike Fagan Ted Schrader wrote: Hi Mike, I&

Adding Oracle Ref Cursor support to Baseline

2006-02-01 Thread Mike Fagan
Hi, What is the process to get additional features into the IBATIS baseline? In particular the oracle ref cursor solution that I have outlined in http://opensource2.atlassian.com/confluence/oss/display/IBATIS/Oracle+REF+CURSOR+Solutions Regards, Mike Fagan

Re: calling stored functions

2006-02-01 Thread Mike Fagan
Here is a sample that will take the refcursor and map it automatically to your resultMap - No TypeHandler required.                                 { ? = call myRefCursorFunction(? ) }   Regards, Mike Fagan bob robertson wrote:   Just read http://opensource2

Re: Ref Cursor Support in iBatis

2006-01-20 Thread Mike Fagan
Yusuf, The SQL package is bundled with the testsrc.zp in the attachments. Regards, Mike Fagan Yusuf wrote: Hello, I was wondering about the support for ref cursors in ibatis, and i stumbled upon this in the ibatis wiki page (http://opensource2.atlassian.com/confluence/oss/display/IBATIS

Re: fetch out of sequence

2005-12-07 Thread Mike Fagan
I am unaware of any planned native support of PL/SQL tables. Your best bet for handling PL/SQL tables or object types is to create a implement a custom TypeHandlerCallback. Regards, Mike Fagan Juan Cañadas wrote: It works fine!!! Thanks!!! :-) Another question... Oracle PL/SQL tables

Re: fetch out of sequence

2005-12-05 Thread Mike Fagan
Juan, Sorry I missed the change for namespaces. If you download the source from the wiki it should work fine for you. (I even tested with your sample code) Regards, Mike Fagan Juan Cañadas wrote: ok, thanks... i have been replaced older ibatis jars now, i get this error

Re: fetch out of sequence

2005-12-02 Thread Mike Fagan
Juan, The source code has been updated to fix this error. You can download patch code at: http://opensource2.atlassian.com/confluence/oss/pages/viewpageattachments.action?pageId=561 Regards, Mike Fagan Juan Cañadas wrote: Hi I'm trying to get a list of values from an oracle s

Re: fetch out of sequence

2005-12-02 Thread Mike Fagan
Juan, I have seen this behavior once when the cursor did not return any rows. There must be a check I am missing, I will try to replicate the problem to get you a solution. Regards, Mike Fagan Juan Cañadas wrote: Hi I'm trying to get a list of values from an oracle stored proc

Re: java.sql.BatchUpdateException: ORA-01000: maximum open cursors exceeded

2005-11-28 Thread Mike Fagan
t the parameter OPEN_CURSORS. I bet this is set to a number less than 1000. If your DBA is not willing to update this value, then you will have to adjust your batch inserts not to exceed this value. Regards, Mike Fagan

Re: FW: returning value from stored procedure

2005-11-16 Thread Mike Fagan
Kevin, since your "id" parameter is in/out I would pass in an inital value, also I think your JDBC type for that parameter wants to be "NUMERIC" not "NUMBER" Regards, Mike Fagan Broderick, Kevin wrote: Hi, Apologies, errors in previous mail.

Re: Looking for sample code for processing result set returned as Ref Cursor (Oracle)

2005-11-02 Thread Mike Fagan
ments. http://opensource2.atlassian.com/confluence/oss/display/IBATIS/Oracle+REF+CURSOR+Solutions is another option. Regards, Mike Fagan

Re: Performance issue with CustomTypeHandler

2005-10-19 Thread Mike Fagan
. Regards, Mike Fagan Rao, Satish wrote: Message Hi Mike   We are using Oracle 9i and I am using ojdbc14.jar. But my classpath also has classes12.jar. I removed classes12.jar, but that did not make any difference. What Oracle version and driver are you using?   Also I am using

Re: Performance issue with CustomTypeHandler

2005-10-19 Thread Mike Fagan
k it is looping thru thousands of records again?   Thanks, Satish     -Original Message- From: Mike Fagan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 18, 2005 4:40 PM To: user-java@ibatis.apache.org Subject: Re: Performance issue with CustomTypeHand

Re: Performance issue with CustomTypeHandler

2005-10-18 Thread Mike Fagan
Satish, I am also using oracle ref cursors and do not see the delay you are experiencing. Has something possibly changed in your database and the delay you see is really in the pl/sql? Regards, Mike Fagan Rao, Satish wrote: Message Is anyone facing a similar issue. Please

Re: problem retrieving xml results from oracle xmldb

2005-09-01 Thread Mike Fagan
When returning a oracle XMLType to ibatis use the getClobVal()/getStringVal()  function and it work fine. That is why your extractValue works because it returns varchar2. so try SELECT extract(value(x),'/employee').getClobVal() xml FROM employees Mike Fagan Uma S Mudu