RE: iBATIS + Geronimo [signed]

2005-11-29 Thread Michael Laccetti [c]
Yep, I'm testing it in the web container, using Struts.  The initial iBATIS configuration is loaded via a Struts plugin, which is why I know it is broken.  :)  I checked another sample (http://db.apache.org/derby/integrate/JPetStoreGeronimo.html), only those evil evil folks used a simple conn

Oracle VARRAY support

2005-11-29 Thread Road Mountain
Hello, Does anybody know iBATIS support for oracle VARRAY? Where can I find more information? Thanks. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com

Output parameter problems in Sybase stored procedure

2005-11-29 Thread David Whipple
I am having trouble getting an output parameter to work in calling a Sybase stored procedure. The stored procedure is definied as: CREATE proc pWEBComm1UnbatchedCount @iDebugMode int, @szParticipant char( 4), @szAgentchar( 4), @nOperator numeric(1

Re: iBATIS + Geronimo [signed]

2005-11-29 Thread Jeff Butler
Hmmm I'm about out of ideas   1. Not to insult your intelligence, but you are testing this in some kind of servlet or JSP or other web method - right?  This would not work outside of Geronimo's web container unless you set up the context factory and provider URL manually.   2. Since you di

Re: Password Encryption in configuration file

2005-11-29 Thread Clinton Begin
That all sounds fine.. Cheers, ClintonOn 11/29/05, Rafiq, Adnan <[EMAIL PROTECTED]> wrote: I am using a simple jdbc transaction manager (type="JDBC" datasource type="SIMPLE") in the sqlmaps xml file. What I would like to do is to set the password property to an encrypted password (e.g. using my o

Password Encryption in configuration file

2005-11-29 Thread Rafiq, Adnan
I am using a simple jdbc transaction manager (type="JDBC" datasource type="SIMPLE") in the sqlmaps xml file. What I would like to do is to set the password property to an encrypted password (e.g. using my own encryption algorithm. In the past, when working with JTA transaction managers I have e

Re: How to define xml of queryForObject and queryForList?

2005-11-29 Thread Larry Meadors
Please read the docs, then post questions. Larry On 11/29/05, pc leung <[EMAIL PROTECTED]> wrote: > How to define xml of queryForObject and queryForList? > > UserProfileSqlMapDao.java: > ... > public UserProfile getUserProfile(String usernm) { > return (UserProfile)super.

How to define xml of queryForObject and queryForList?

2005-11-29 Thread pc leung
How to define xml of queryForObject and queryForList? UserProfileSqlMapDao.java: ... public UserProfile getUserProfile(String usernm) { return (UserProfile)super.queryForObject("getUserProfile", usernm); } public List getUserProfileList(String user

Re: return the successfulness of updating?

2005-11-29 Thread Larry Meadors
On 11/29/05, pc leung <[EMAIL PROTECTED]> wrote: > I have looked into the JPetStore of iBatis example. > After inserting, updating and deleting, > there are no indication of successfulness. Sure there is. > Is it able to return the rows affected? > Should be done this way. It returns the inserte

return the successfulness of updating?

2005-11-29 Thread pc leung
I have looked into the JPetStore of iBatis example. After inserting, updating and deleting, there are no indication of successfulness. Is it able to return the rows affected? Should be done this way. If no exception, implies okay?