Re: Issues with Ibatis Configuration File

2009-12-10 Thread Soks86
; > Same issue. > >> >> Anyone have any idea why this might be ocuring? I'm alright for now >> without >> aliases but as I get farther and farther into iBATIS I fear that I will >> need >> them to stay sane. >> >> Just to be clear this is iBATIS 3 - B

Re: Issues with Ibatis Configuration File

2009-12-09 Thread Larry Meadors
for now without > aliases but as I get farther and farther into iBATIS I fear that I will need > them to stay sane. > > Just to be clear this is iBATIS 3 - Beta 5 and should be the latest file > from repository.sonatype.org. >

Re: Issues with Ibatis Configuration File

2009-12-09 Thread Guy Rouillier
Soks86 wrote: Hi, I have created the following configuration file for my Ibatis SqlSessionFactoryBuilder. http://ibatis.apache.org/dtd/ibatis-3-config.dtd";>

Issues with Ibatis Configuration File

2009-12-09 Thread Soks86
hat I will need them to stay sane. Just to be clear this is iBATIS 3 - Beta 5 and should be the latest file from repository.sonatype.org. Thanks in advance for any help! Michael Chrostowski -- View this message in context: http://old.nabble.com/Issues-with-Ibatis-Configuration-File-tp26718012p2

Re: iBATIS 2.3.4 issues closing connections

2009-11-20 Thread Jeff Hibbs
Hi Fernando - I started having problems when we moved from Sun 1 App Server to Glassfish - apparently the Glassfish connection pool operates a little differently then the Sun 1 connection pool and doesn't properly close connections/threads (at least with DB2/iBATIS). It appears that DB2 sees s

Re: iBATIS 2.3.4 issues closing connections

2009-11-19 Thread Fernando Rengifo
Hi Jeff, Thank you very much for your time answering this question. Mine looks as follows: Any ideas? So, if I enable the commitRequired="true" do I have to use startTransaction(), commitTransaction() and endTransaction() at any single SQL? Thank you again. -Fernando Rengif

Re: iBATIS 2.3.4 issues closing connections

2009-11-19 Thread Jeff Hibbs
Fernando - I'm no expert, but I had a similar problem using DB2. When we moved from Sun App servers to Glassfish I started having "open Threads"...Not sure if this is the same as what you're experiencing, but all I had to do was change my sqlMapConfig file to add the commitRequired="true" pa

iBATIS 2.3.4 issues closing connections

2009-11-19 Thread Fernando Rengifo
Hi all, Thank you for your time to read this question. I really (really) appreciate your help on this. I have developed an application using iBATIS (what a great framework!). The project started on Feb 2009, and since Oct 2009 is under my client's server. We use JNDI to a DB2 iSeries Toolbox Dat

Re: <= issues

2009-08-27 Thread HelpMePlz
M/DD/') > > > > please help me it is urgent requirement for me > > Thanks > I got solution we have to add like this > > > -- View this message in context: http://www.nabble.com/%3C%3D-issues-tp25167270p25167503.html Sent from the

RE: <= issues

2009-08-27 Thread meindert
Use < for the < symbol (or put around the query The < is seen as start of xml tag -Original Message- From: HelpMePlz [mailto:supriyanaidupell...@gmail.com] Sent: 27 August 2009 10:57 AM To: user-java@ibatis.apache.org Subject: <= issues hi to all i want one help in my

RE: <= issues

2009-08-27 Thread meindert
Use < for the < symbol (or put around the query The < is seen as start of xml tag -Original Message- From: HelpMePlz [mailto:supriyanaidupell...@gmail.com] Sent: 27 August 2009 10:57 AM To: user-java@ibatis.apache.org Subject: <= issues hi to all i want one help in my

<= issues

2009-08-27 Thread HelpMePlz
ent for me Thanks -- View this message in context: http://www.nabble.com/%3C%3D-issues-tp25167270p25167270.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-java-unsubscr...@i

IBATIS and OSGI performance issues

2008-12-01 Thread dereje abay
I tried to integrate IBATIS-2.3.4 with OSGI framework. But the performance of my application becomes so slow when it loads the ibatis configuration file. It is taking significant time to load and parse the configuration file (almost 4 minutes). After it loads the configuration, it is also taking ti

Re: GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-03 Thread Reuben Firmin
riginal Nachricht --- > >>> Absender: Clinton Begin > >>> Datum: 03.09.2008 16:20 > >>>> > >>>> The second problem is a limitation that we cannot do anything about, > >>>> which makes the rest of the conversation somewhat F

Re: GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-03 Thread Clinton Begin
The first problem does sound like a bug, but strangely I have unit >>>> tests confirming that this works. I'll try writing a few more to see >>>> if I can reproduce the problem. It very well might be the combination >>>> of keys being used in the groupBy attr

Re: GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-03 Thread Kai Grabfelder
ave any feedback on this? Thanks Reuben -- Forwarded message -- From: Reuben Firmin <[EMAIL PROTECTED]> Date: Tue, Sep 2, 2008 at 11:26 AM Subject: GroupBy issues (multiple child lists, Postgres limit/offset) To: user-java@ibatis.apache.org We are trying to resolve some N+1 query

Re: GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-03 Thread Clinton Begin
t;>> >>> Anybody have any feedback on this? >>> >>> Thanks >>> Reuben >>> >>> -- Forwarded message -- >>> From: Reuben Firmin <[EMAIL PROTECTED]> >>> Date: Tue, Sep 2, 2008 at 11:26 AM >&g

Re: GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-03 Thread Kai Grabfelder
check it out to see. Clinton On Wed, Sep 3, 2008 at 7:32 AM, Reuben Firmin <[EMAIL PROTECTED]> wrote: Anybody have any feedback on this? Thanks Reuben -- Forwarded message -- From: Reuben Firmin <[EMAIL PROTECTED]> Date: Tue, Sep 2, 2008 at 11:26 AM Subject: GroupBy i

Re: GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-03 Thread Clinton Begin
> -- Forwarded message -- > From: Reuben Firmin <[EMAIL PROTECTED]> > Date: Tue, Sep 2, 2008 at 11:26 AM > Subject: GroupBy issues (multiple child lists, Postgres limit/offset) > To: user-java@ibatis.apache.org > > > We are trying to resolve some N+1 qu

Fwd: GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-03 Thread Reuben Firmin
Anybody have any feedback on this? Thanks Reuben -- Forwarded message -- From: Reuben Firmin <[EMAIL PROTECTED]> Date: Tue, Sep 2, 2008 at 11:26 AM Subject: GroupBy issues (multiple child lists, Postgres limit/offset) To: user-java@ibatis.apache.org We are trying to r

GroupBy issues (multiple child lists, Postgres limit/offset)

2008-09-02 Thread Reuben Firmin
We are trying to resolve some N+1 query situations in our application, and are finding a couple of features of our appliation that seem to limit our ability to use the "groupBy" solution. I'm wondering if there are aspects of the issues we aren't seeing. The problems are these

Re: Locale issues?

2007-03-28 Thread andrew . kitchen
Ted, Cheers for your comment. I would have told everyone earlier still should I not have contracted a cold.. Best regards, Andrew Quoting Ted Schrader <[EMAIL PROTECTED]>: > A gold star for Andrew for taking the time to tell us how things were > resolved. > > Ted > > On 28/03/07, [EMAIL P

Re: Locale issues?

2007-03-28 Thread Ted Schrader
A gold star for Andrew for taking the time to tell us how things were resolved. Ted On 28/03/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, If the JavaBean spec specifies that only one setter method can be defined per attribute, therefore no overloading, then yes I am breaking it. Well I

Re: Locale issues?

2007-03-28 Thread andrew . kitchen
Hi, If the JavaBean spec specifies that only one setter method can be defined per attribute, therefore no overloading, then yes I am breaking it. Well I was - I am not now as I have altered the code but I have just slapped myself on the wrist for the initial error ;-) The JVMs are different too.

Re: Locale issues?

2007-03-28 Thread Graeme J Sweeney
On Tue, 27 Mar 2007, [EMAIL PROTECTED] wrote: The issue was actually to do with there being two setter methods on my object - both with the same name but taking parameters of different types - one 'Date' and one 'String'. My local environment was using the correct setter method. The service prov

Re: Locale issues?

2007-03-27 Thread andrew . kitchen
All, Further to the series of emails I sent to the list earlier last week - I am happy to report that the issue has been resolved. You may recall there was an issue parsing a date when setting the value of an attribute on one of my objects. It worked fine on my local environment and not on my serv

RE: Lazy loading issues

2007-03-26 Thread Wouter Roose
Ok Thanks for the feedback Our first implementation based on this solution seems to work Wouter _ Van: MCCORMICK, Paul [mailto:[EMAIL PROTECTED] Verzonden: maandag 19 maart 2007 3:02 Aan: user-java@ibatis.apache.org Onderwerp: RE: Lazy loading issues I'll give you

RE: Lazy loading issues

2007-03-18 Thread MCCORMICK, Paul
lto:[EMAIL PROTECTED] Sent: Friday, 16 March 2007 6:13 PM To: user-java@ibatis.apache.org Subject: RE: Lazy loading issues Anybody? Van: Wouter Roose [mailto:[EMAIL PROTECTED] Verzonden: maandag 12 maart 2007 8:49 Aan: user-java@ibatis.apache.org Onderwerp: L

Interview at Inventum (was: Lazy loading issues)

2007-03-16 Thread Padam J Singh
Hello, Your resume has been shortlisted for interview at Inventum Technologies Pvt Ltd. (http://www.inventum.cc). In order to start the interview process, you need to fill-up an online form to schedule the interview. The form is available at: http://www.inventum.cc/application/job_engg_mar20

RE: Lazy loading issues

2007-03-16 Thread Wouter Roose
Anybody? _ Van: Wouter Roose [mailto:[EMAIL PROTECTED] Verzonden: maandag 12 maart 2007 8:49 Aan: user-java@ibatis.apache.org Onderwerp: Lazy loading issues Hello Concerning <http://opensource.atlassian.com/confluence/oss/display/IBATIS/Lazy+loading+ issues>

Lazy loading issues

2007-03-11 Thread Wouter Roose
Hello Concerning <http://opensource.atlassian.com/confluence/oss/display/IBATIS/Lazy+loading+ issues> http://opensource.atlassian.com/confluence/oss/display/IBATIS/Lazy+loading+i ssues I encountered the second problem. Could somebody be so kind to add some coding examples

Re: Rollback Issues

2006-11-11 Thread soussou97
sh Dutta Roy wrote on 6/15/2006, 11:09 AM: >> > > > > >> > > > > Hi All >> > > > > Has anyone successfully tested rollback with DAOManager >> > > > > implementation. >> > > > > >> > > > > I am unable to get

Re: Issues on converting Old Dao to Ibatis sql-map

2006-11-06 Thread Larry Meadors
Use a Map, and please read the developer's guide. http://ibatis.apache.org/javadownloads.html Larry On 11/6/06, Makunda Thapa <[EMAIL PROTECTED]> wrote: Hi, I all, I have been involved to convert old daos to sql mapper xml. One of the problem I having is.My old daos uses same field in more t

Issues on converting Old Dao to Ibatis sql-map

2006-11-06 Thread Makunda Thapa
Hi, I all, I have been involved to convert old daos to sql mapper xml. One of the problem I having is.My old daos uses same field in more than one params. I have to keep adding these fields in to my VO to pass in to the sql mappers. For example Object[] params

Re: Rollback Issues

2006-06-16 Thread Jeff Butler
commitRequired isn't in the documentation (yet).  It is mentioned in a WIKI entry here:   http://opensource.atlassian.com/confluence/oss/display/IBATIS/Environment+Specific+Information   But it is mentioned as something WebSphere specific which is misleading.  I'll try to get something in the PDF d

Re: Rollback Issues

2006-06-16 Thread Tony Qian
Jeff, I didn't see commitRequired attribute is mentioned in the iBATIS document. If I set commitRequired="true" , does it have any effect on daoManager? btw, is it possible to add following code to java bean object generated by Abator so that we can easily log java bean in debug log file etc.

Re: Rollback Issues

2006-06-15 Thread Jeff Butler
Tony - this is something iBATIS is doing to try to help you (Ha Ha).  By default iBATIS will not commit after a queryForObject or queryForList - even if you explictely call the commitTransaction() method.  The solution is to add the attribute commitRequired="true" to the transactionManager element

Re: Rollback Issues

2006-06-15 Thread Debasish Dutta Roy
OK. What happens is this SP fails. So the idea is a request is created and inserted, take the request id and call the SP to generate a number. If the SP fails, the insert of the request should also rollback. Now the SP fails and REQUEST is not rolled back. Now, part of the request insert are two ca

Re: Rollback Issues

2006-06-15 Thread Tony Qian
Jeff, Since you mentioned stored procedure and transaction, I have encountered a strange situation when using MySQL stored procedure. In my stored procedure, I do some update to the records in a table then select all those rows get updated. In my Dao, I call QueryForList to retrieve the record

Re: Rollback Issues

2006-06-15 Thread Jeff Butler
I remember what was unusual...   You need to make sure that the stored procedure is not doing a commit (obvious).  What is not so obvious is that you also need to make sure that there are no DDL statements in the stored procedure.  Oracle implictly commits after every DDL statement.   Jeff Butler 

Re: Rollback Issues

2006-06-15 Thread Jeff Butler
The plot thickens...   I seem to remember that there is something unusual with Oracle stored procedures and transactions.  Sounds to me like the stored procedure call is causing a commit somehow.  You could try some other combination of statements without a SP call just to check.  I'm not an Oracle

Re: Rollback Issues

2006-06-15 Thread Debasish Dutta Roy
OK. Here are the answers1. First one is an insert & second one is a stored proc call. The first one populates the REQUEST table and the second one gets a number based on the request id.2. Dao1 and DAO2 catches SQLException and throws DAOException (my exception, not iBATIS DAOException).     This DA

Re: Rollback Issues

2006-06-15 Thread Jeff Butler
I think we need a little more information.  I assume that the code you've prsented is a mocked up example - and everything looks right in your mock up.   Questions:   1. What is the method secondTask() doing?  Hopefully no transaction stuff (like another start transaction or a commit). 2. What Exce

Re: Rollback Issues

2006-06-15 Thread Debasish Dutta Roy
offcourse it will be helpful if you could share what you did correctly, and if you could find something wrong in my approach. I am using Oracle 9i.On 6/15/06, Tony Qian <[EMAIL PROTECTED]> wrote: Yes. It worked for me (MySQL). Tony Debasish Dutta Roy wrote on 6/15/2006, 11:09 AM: Hi Al

Re: Rollback Issues

2006-06-15 Thread Tony Qian
Yes. It worked for me (MySQL). Tony Debasish Dutta Roy wrote on 6/15/2006, 11:09 AM: Hi All Has anyone successfully tested rollback with DAOManager implementation. I am unable to get it working. I have a business delegate who does like this: DAO1 dao1 = daoManager.getDAO(DAO1.cl

Rollback Issues

2006-06-15 Thread Debasish Dutta Roy
Hi AllHas anyone successfully tested rollback with DAOManager implementation.I am unable to get it working. I have a business delegate who does like this:DAO1 dao1 = daoManager.getDAO(DAO1.class);DAO2 dao2 = daoManager.getDAO(DAO2.class);try {   daoManager.startTransaction();  dao1.firstTa

Sequence table design issues with iBatis

2006-05-04 Thread David Broderick
I am new to iBatis so my apologies if this information is in the mailing list or documentation somewhere that I missed (or did not understand). I am using iBatis 2.1.7.597, MySQL 4.1.2, MySql-Connector 3.1.12. My problem is that I have a GlobalSequence table (since MySql 4.1.12 does not supp

Re: issues with Mozilla and taglib uri

2006-04-03 Thread Ben Munat
Yes, not to be rude or anything but do you know what ibatis does? It's a database mapping layer. Now, depending on how exceptions are handled in a application, I could see a ServletException wrapping a database exception but that would still have nothing to do with cross-browser i

Re: issues with Mozilla and taglib uri

2006-04-03 Thread Mike Wilson
Thanks Larry!Larry Meadors <[EMAIL PROTECTED]> wrote: This is like your neighbor's car breaking down because your aunt'stoaster is unplugged.I do not see any conceivable way that this could be iBATIS related.Start here -> http://tinyurl.com/mst7mLarryOn 4/3/06, Mike Wilson <[EMAIL PROTECTED]>wrote

Re: issues with Mozilla and taglib uri

2006-04-03 Thread Larry Meadors
This is like your neighbor's car breaking down because your aunt's toaster is unplugged. I do not see any conceivable way that this could be iBATIS related. Start here -> http://tinyurl.com/mst7m Larry On 4/3/06, Mike Wilson <[EMAIL PROTECTED]> wrote: > > Hello, > > We have an iBATIS app runni

issues with Mozilla and taglib uri

2006-04-03 Thread Mike Wilson
Hello,   We have an iBATIS app running fine in IE, but when we try to use Firefox we get the following error:   javax.servlet.ServletException: Define tag cannot set a null value   We've narrowed it down to the taglib uri not being processed by Firefox or Safari/IE on a MAC as well.   If a

Re: Insert/update issues

2006-03-24 Thread Jeff Butler
erted.  Go to OEVALID to view/insert valid counties. Chris Mathrusse[EMAIL PROTECTED] Sybase, IncOne Sybase DriveDublin, CA 94568(925) 236-5553 "Jeff Butler" <[EMAIL PROTECTED]> 03/24/2006 09:47 AM Please respond touser-java@ibatis.apache.org To user-java@ibatis.

Re: Insert/update issues

2006-03-24 Thread Christopher . Mathrusse
Butler" <[EMAIL PROTECTED]> 03/24/2006 09:47 AM Please respond to user-java@ibatis.apache.org To user-java@ibatis.apache.org cc Subject Re: Insert/update issues iBATIS does not support multiple result sets.  There are several open JIRA issues related to stored procedure

Re: Insert/update issues

2006-03-24 Thread Jeff Butler
iBATIS does not support multiple result sets.  There are several open JIRA issues related to stored procedures, and some talk about changing this.  But it's a big job.   If you can't change the way Sybase works in this cse (i.e. raising an actual error rather than sending another result

Insert/update issues

2006-03-24 Thread Christopher . Mathrusse
I'm working with Sybase ASE 12 using JConnect 6.0 JDBC driver. The problem that I am having is when I perform an insert or an update into a table that has a trigger, and the trigger calls RaiseError, the error does not get converted into an SQLException.  It appears that this information will be s