caching question

2009-10-22 Thread Odelya YomTov
Hi! I have a global question about caching. I have in my database around 80 recrods In cacheModel - what do you recommend as the size of the cacheModel? I am using the query almost in every screen. Thanks - To

RE: caching question

2009-10-22 Thread Odelya YomTov
the result you cache not the query. How many different query result would you like to cache -Original Message- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: 22 October 2009 02:29 PM To: user-java@ibatis.apache.org Subject: caching question Hi! I have a global question about caching

RE: caching question

2009-10-22 Thread Odelya YomTov
parameters are different for every screen, ibatis caching is not for you, -Original Message- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: 22 October 2009 03:05 PM To: user-java@ibatis.apache.org Subject: RE: caching question Do you mean that actually it invokes the database when I

RE: Tutorial/Example of struts2 and ibatis

2009-10-06 Thread Odelya YomTov
Maybe a short example of jsp file+ action + the ibatis dao Thanks! -Original Message- From: Andy Law [mailto:andy@roslin.ed.ac.uk] Sent: Tuesday, October 06, 2009 12:24 PM To: user-java@ibatis.apache.org Subject: Re: Tutorial/Example of struts2 and ibatis deligeli wrote: Hi!

RE: Tutorial/Example of struts2 and ibatis

2009-10-06 Thread Odelya YomTov
Hi! I have already built an application with struts1 and Ibatis. But I have built it on JPetStore5 model, and I understood that it's not the best way of how to use the DAO layers. As well, it's my first time to use struts2. (I hope that JPetStore6 will be released soon). Do you recommend to

Tutorial/Example of struts2 and ibatis

2009-10-05 Thread Odelya YomTov
Hi! I am looking for an example/tutorial of struts2 + ibatis I searched google but didn't find anything relevant. Can anyone help? Thanks - To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional

RE: Problem with connecting

2009-09-08 Thread Odelya YomTov
Message- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: 08 September 2009 10:45 AM To: user-java@ibatis.apache.org Subject: Problem with connecting Hi! Once a day I get the following message: javax.servlet.ServletException: Failed to execute queryForObject - id [getUserByNameAndPassword

Ibatis sql question

2009-07-24 Thread Odelya YomTov
Hi! I would like to get a parameter in my sql and by that to decide if to use prepend=OR or prepend=AND isNotEqual prepend=here to write the parameter of the query property=maxprice compareValue=0 price BETWEEN #price# AND

problem with removing item from a paginated list

2009-07-24 Thread Odelya YomTov
Hi! After deleting an item, I thought to delete it from my paginated list like this: yalkutService.deleteProduct(workingItemId); ProductData tmpData; for (int i = 0; i productsList.size(); i++) { tmpData = (ProductData) productsList.get(i); if

RE: problem with removing item from a paginated list

2009-07-24 Thread Odelya YomTov
Hi! I tried your advice, but with no solution to my problem.. I problem is when writing the paginated list to the jsp, not in the JAVA code. Thanks! From: Jon Moores [mailto:jonathan.moo...@gmail.com] Sent: Friday, July 24, 2009 1:59 PM To: user-java@ibatis.apache.org Subject: Re:

JPetStore back office code

2009-07-23 Thread Odelya YomTov
HI! I am using JPetStore as a basis to my virtual shop. Is there a written back office code for the manager to upload new products/pictures/categories etc? (using IBATIS platform) I didn't find one on the internet, but would be happy to get helped about it. Thanks

RE: JPetStore back office code

2009-07-23 Thread Odelya YomTov
. That code is pretty old too. I'd simplify it if I were to rewrite it today. Ditch the DAO layer, etc. On Thu, Jul 23, 2009 at 1:15 PM, Odelya YomTov ode...@jpost.com wrote: HI! I am using JPetStore as a basis to my virtual shop. Is there a written back office code for the manager to upload

size of paginated list

2009-07-22 Thread Odelya YomTov
Hi! I need to know the size of the paginated list (not per page). Because if I do: orderList.getPageSize - I get the amount of records per page, and I need to know in general how many records are there in the database. For example: If my page size is 10, and the query should return 15, it should

RE: size of paginated list

2009-07-22 Thread Odelya YomTov
dynamic Your expression /dynamic Before select. -Original Message- From: Odelya YomTov [mailto:ode...@jpost.com] Sent: Wednesday, July 22, 2009 11:17 PM To: user-java@ibatis.apache.org Subject: size of paginated list Hi! I need to know the size of the paginated list (not per page

struts1,ibatis and JASPER

2009-07-16 Thread Odelya YomTov
Hi! I would like to implement JASPER and my struts1 and IBATIS application I have list of orders and items and I would like to use it . I am new to JASPER. Does anyone know of an example for it with IBATIS? Thanks - To

RE: problem with insert

2009-07-15 Thread Odelya YomTov
One with a m p; and one with -Original Message- From: Larry Meadors [mailto:larry.mead...@gmail.com] Sent: Wednesday, July 15, 2009 4:20 PM To: user-java@ibatis.apache.org Subject: Re: problem with insert It's early but those look identical to me. Larry On 7/15/09, Odelya YomTov

problem with insert

2009-07-14 Thread Odelya YomTov
Hi! I am trying to insert data in Hebrew into the database The table is set to utf-8. But in the log file I see: DEBUG [http-12091-Processor24] - Created connection 27901603. DEBUG [http-12091-Processor24] - {conn-10} Connection DEBUG [http-12091-Processor24] - {pstm-11}

RE: problem with insert

2009-07-14 Thread Odelya YomTov
that you just did not set your log file encoding? Kind of log4j.appender.someappender.Encoding=UTF-8 On Tue, Jul 14, 2009 at 8:40 PM, Odelya YomTov ode...@jpost.com wrote: Hi! I am trying to insert data in Hebrew into the database The table is set to utf-8. But in the log file I see