Re: sql tag

2005-12-02 Thread Vincent NICOLAS
TNO a écrit : Hello when they are two sql tags with the same id, the last read is the one ! but may be a warning will be usefull to say that id already exists... ;-) Some editors as XML Buddy (plugin for Eclipse) warn you in such a case. However, it would be more interesting to be warn at

Re: sql tag

2005-12-02 Thread TNO
Vincent NICOLAS a écrit : TNO a écrit : Hello when they are two sql tags with the same id, the last read is the one ! but may be a warning will be usefull to say that id already exists... ;-) Some editors as XML Buddy (plugin for Eclipse) warn you in such a case. However, it would be

Re: how can i get attribute from inbed object?

2005-12-02 Thread David Moss
Thanks for the replys, I think that the problem is probably because the projection object in my IFeatureSet implementation has not been initialised, although I would expect a NullPointerException to be thrown rather than BadSqlGrammarException. The SqlMap is valid so iBATIS doesn't throw an

Re: sql tag

2005-12-02 Thread Larry Meadors
Add a JIRA issue, and we'll get that changed. I agree with you: That should blow up in a very visible way. Larry On 12/1/05, TNO [EMAIL PROTECTED] wrote: Hello when they are two sql tags with the same id, the last read is the one ! but may be a warning will be usefull to say that id

Re: Output parameter problems in Sybase stored procedure

2005-12-02 Thread David Whipple
I am still not able to find anything for this. Could it be that there is trouble with the Sybase drivers? Thanks, Dave David

Re: Output parameter problems in Sybase stored procedure

2005-12-02 Thread Larry Meadors
That is a possibility. Have you tried this with just JDBC? Larry On 12/2/05, David Whipple [EMAIL PROTECTED] wrote: I am still not able to find anything for this. Could it be that there is trouble with the Sybase drivers? Thanks, Dave David Whipple/[EMAIL

fetch out of sequence

2005-12-02 Thread Juan Cañadas
Hi I'm trying to get a list of values from an oracle stored procedure I've been updated ibates to support oracle's cursor (http://opensource2.atlassian.com/confluence/oss/display/IBATIS/Oracle+REF+CURSOR+Solutions) but when i run the program it raises the error:

Re: sql tag

2005-12-02 Thread TNO
Done... Larry Meadors a crit: Add a JIRA issue, and we'll get that changed. I agree with you: That should blow up in a very visible way. Larry On 12/1/05, TNO [EMAIL PROTECTED] wrote: Hello when they are two sql tags with the same id, the last read is the one ! but may be a

Re: Output parameter problems in Sybase stored procedure

2005-12-02 Thread David Whipple
Yes, and it does work as expected. Dave Larry Meadors [EMAIL PROTECTED] org

Re: [Fwd: How to pass a parameter to collection property?]

2005-12-02 Thread Jeff Butler
Here's how to do it with a map: Map map = new HashMap(); map.put(parameterY, parameterY); map.put(parameterX, parameterX); List results = sqlMap.queryForList(getProductsByCatId, map); select id="getProductsByCatId" parameterClass="java.util.Map" resultMap="get-product-result"select * from

iBatis, Spring and postgres stored procedure

2005-12-02 Thread Lunohodov
I stuck into a problem and after a few resultless hours I would like to aks for your help. I searched for a similar problem(the forum as also fired some googles) but could not find anything so I am starting a new thread... I have a PostgreSQL database with several stored procedures for fetching,