RE: Slightly off topic - Looking for the author of "Strutting you r stuff with struts"

2005-05-26 Thread Subbiah
Thx eOin regards, Subbiah > -Original Message- > From: eOk [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 26, 2005 5:21 PM > To: ibatis-user-java@incubator.apache.org > Subject: Re: Slightly off topic - Looking for the author of > "Strutting you r stuff with struts" > > As soon I get

Re: Slightly off topic - Looking for the author of "Strutting you r stuff with struts"

2005-05-26 Thread eOk
As soon I get a get in touch with the author I'll see what I can do. Can't type quick enough to visit IRC ;p eOin On 26 May 2005, at 23:19, Subbiah wrote: Hi Eio Can you share the war file for Struts and iBatis - Lesson 4. I was doing a chapter a day and suddenly when I came to the fourth

RE: Slightly off topic - Looking for the author of "Strutting you r stuff with struts"

2005-05-26 Thread Subbiah
Hi Eio Can you share the war file for Struts and iBatis - Lesson 4. I was doing a chapter a day and suddenly when I came to the fourth the site is missing. Just my luck. regards, Subbiah > -Original Message- > From: Vincent [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 26, 2005 1

Re: Handling Null value In Oracle - Everything fine but 1 problem

2005-05-26 Thread Larry Meadors
If it is long, and not Long (little "l" instead of big "L") you will not be able to use nulls - long values cannot be null; only Long values can. Larry On 5/26/05, Jason Hall <[EMAIL PROTECTED]> wrote: > im using java data type long. > > the section with NUMERIC: is commented out - if you notic

RE: Handling Null value In Oracle - Everything fine but 1 problem

2005-05-26 Thread Jason Hall
im using java data type long. the section with NUMERIC: is commented out - if you noticed. -Original Message- From: Paul Barry [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 4:07 PM To: ibatis-user-java@incubator.apache.org Subject: Re: Handling Null value In Oracle - Everything

Re: Handling Null value In Oracle - Everything fine but 1 problem

2005-05-26 Thread Paul Barry
Is id an Integer or an int? Also, the syntax in your example has: #id:NUMERIC:# It should be: #id:NUMERIC# Not sure if that is causing a problem. On 5/26/05, Jason Hall <[EMAIL PROTECTED]> wrote: > > > Hi, > > I've tried every scenario from previous mailing-list, wike etc. > I'm using O

Handling Null value In Oracle - Everything fine but 1 problem

2005-05-26 Thread Jason Hall
Title: Handling Null value In Oracle - Everything fine but 1 problem Hi, I've tried every scenario from previous mailing-list, wike etc. I'm using Oracle 9i (tried Oracle 9i & 10g jdbc thin driver) Everything works, i'm able to insert null data for varchar and ALSO able to insert NUMBER

RE: JPetStore - BaseBean / BeanAction

2005-05-26 Thread Lieven De Keyzer
Allright, I found it. ActionContext().getRequest().getSession().getServletContext() I looked over the getRequest() method. From: "Lieven De Keyzer" <[EMAIL PROTECTED]> Reply-To: ibatis-user-java@incubator.apache.org To: ibatis-user-java@incubator.apache.org Subject: JPetStore - BaseBean / Bean

Re: Error processing Null during Insert statement - Help

2005-05-26 Thread Henry Lu
The data type cast is needed only null values are passed to JDBC driver. Because in the Spring, you got to tell what the driver expect to do if a null value set to input. And Spring tries to use same code for different DB drivers, there is no way to use diffrent data type with null values for a

Re: Error processing Null during Insert statement - Help

2005-05-26 Thread Daniel Henrique Ferreira e Silva
Henry, Yes, they are usually smart enough for casting to the appropriate type. But it's not good to rely on this every time you need to do something like Jason is. Type casts can make harder to figure out some errors. Jason, let me know if using Oracle's driver worked for you. Cheers, Daniel Sil

Re: Error processing Null during Insert statement - Help

2005-05-26 Thread Larry Meadors
JDBC-ODBC is a abomination that should never, ever be used except as an ABSOLUTE LAST RESORT. Use the Oracle drivers instead. Larry On 5/26/05, Jason Hall <[EMAIL PROTECTED]> wrote: > Does JDBC-ODBC driver be the problem on Oracle 9i?

Re: Cache Objects

2005-05-26 Thread netSQL
There are other bloated and slow DAO's that do this. This works for small or simple projects. iBatiis is fast and simple becuase it caches the results of the querry, and thus is more scaleable. If diferent users want same results, it's cached. It may initialy seem to somoneone w/ out experien

Re: Error processing Null during Insert statement - Help

2005-05-26 Thread Henry Lu
You know, ORACLE/SQL Server are smart enough to do the data conversion for most data types. -Henry Jason Hall wrote: This works, but doesn't makes sense why since my column is a NUMBER data type. Does JDBC-ODBC driver be the problem on Oracle 9i? -Original Message- From: Henry Lu [m

RE: Error processing Null during Insert statement - Help

2005-05-26 Thread Jason Hall
This works, but doesn't makes sense why since my column is a NUMBER data type. Does JDBC-ODBC driver be the problem on Oracle 9i? -Original Message- From: Henry Lu [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 1:30 PM To: ibatis-user-java@incubator.apache.org Subject: Re: Error p

RE: Error processing Null during Insert statement - Help

2005-05-26 Thread Jason Hall
Yes I'm using JDBC-ODBC driver. I'm using Oracle 9i. Will Oracle 10g driver work with Oracle 9i? -Original Message- From: Daniel Henrique Ferreira e Silva [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 1:34 PM To: Jason Hall Subject: Re: Error processing Null during Insert stateme

Re: Cache Objects

2005-05-26 Thread Brandon Goodin
Not currently and we don't plan on supporting OID (Object Identity). There is too much baggage that comes along with it. Brandon On 5/26/05, Eloyi <[EMAIL PROTECTED]> wrote: > Hi, > I understand that the cache is over the statement, but is possible to cache > the objects that the queryforList ret

Re: Error processing Null during Insert statement - Help

2005-05-26 Thread Henry Lu
Change NUMBER to varchar will take care the business. -Henry Jason Hall wrote: All the columns in table dummy are nullable in Oracle -Original Message- From: Daniel Henrique Ferreira e Silva [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 1:22 PM To: ibatis-user-java@i

RE: Error processing Null during Insert statement - Help

2005-05-26 Thread Jason Hall
All the columns in table dummy are nullable in Oracle -Original Message- From: Daniel Henrique Ferreira e Silva [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 1:22 PM To: ibatis-user-java@incubator.apache.org Subject: Re: Error processing Null during Insert statement - Help Hi Ja

JPetStore - BaseBean / BeanAction

2005-05-26 Thread Lieven De Keyzer
I'm building my webapplication with struts, using the BaseBean.java concept of JPetStore. In a class that extends the BaseBean class, I can access application, request, session etc. variables by doing: Map applicationMap = ActionContext.getActionContext().getApplicationMap(); Timer tasks = (Tim

Re: Error processing Null during Insert statement - Help

2005-05-26 Thread Daniel Henrique Ferreira e Silva
Hi Jason, Looking at the stack trace you posted, it's clear that the error you're getting comes from your DB. Look at your table Dummy structure. Does it allow the column id to be null? Also, what is your DB? Hope that helped. Cheers, Daniel Silva. On 5/26/05, Jason Hall <[EMAIL PROTECTED]> wr

Error processing Null during Insert statement - Help

2005-05-26 Thread Jason Hall
Title: Error processing Null during Insert statement - Help Hi, I'm trying to force a null in a nullable column and i get an error. Java code: Dummy d = new Dummy(); d.setId(-999); sqlMap.insert("Dummy.insertDummy",d); Sql Map: http://www.ibatis.com/dtd/sql-map-2.dtd">  

Cache Objects

2005-05-26 Thread Eloyi
Hi, I understand that the cache is over the statement, but is possible to cache the objects that the queryforList returns instead the resultsSets of the statement?? Thanks

Re: Slightly off topic - Looking for the author of "Strutting you r stuff with struts"

2005-05-26 Thread Vincent
He is out of town till next week I believe, he muttered something about "crazy in-laws" before he left. The tutorial really is based on the 1.x of iBatis. Feel free to hang out with us on the irc.darkmyst.org IRC server. We have 2 channels of note: #ibatis and #funkycodemonkey #ibatis is a lonel

Re: short cut to

2005-05-26 Thread Daniel Henrique Ferreira e Silva
Hi Aki, I'm not sure about what you're asking, but, if i understood your message i can say that for INSERT statements you don't need result maps as you won't have results when executing an insert statement. Regarding parameter maps, you can use them with your insert statement as you'd use a parame

RE: Slightly off topic - Looking for the author of "Strutting you r stuff with struts"

2005-05-26 Thread Sheehan, Andrew
He frequently views this list, I'm sure he'll write something regarding it. -A -Original Message- From: eOk [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 5:19 AM To: ibatis-user-java@incubator.apache.org Subject: Slightly off topic - Looking for the author of "Strutting your stu

Re: Slightly off topic - Looking for the author of "Strutting your stuff with struts"

2005-05-26 Thread Brandon Goodin
If you would like to chat with him live... you can use irc and visit the #funkycodemonkey irc channel at irc.darkmyst.org. He is a regular (annoyance?) on the channel :D. But, he will not be back around until Monday. He is on a weekend trip to Tennessee Brandon On 5/26/05, eOk <[EMAIL PROTECTED]>

RE: Transactions

2005-05-26 Thread James, Steven
I usually keep my dao very fine grained (they look after a singular table). Ie each method of the dao only does one thing a singular insert, delete, select. my course grain service layer provides the exposed buiness logic which is made up of calls to the different dao required to perform that act

Re: [HELP] I can't not type < sign in my sqlmap xml file

2005-05-26 Thread Huy
Niels Beekman wrote: Hi, Did you try the following: blah This is not documented, but it works fine for me... Niels Hey this is great, thanks Niels. Huy -Original Message- From: Huy [mailto:[EMAIL PROTECTED] Sent: donderdag 26 mei 2005 13:03 To: ibatis-user-java@incubator.apach

Re: Slightly off topic - Looking for the author of "Strutting your stuff with struts"

2005-05-26 Thread eOk
Thanks Eoin Vamsee Kanakala wrote: eOk wrote: Hey, I happened upon iBatis from reading the struts intro titled "Strutting your stuff with struts". We have been using iBatis as a prototype for a new system and I have to show some people show to put struts and iBatis together. I was hoping

short cut to

2005-05-26 Thread Aki Kubota
I have this code... insert into MVL_KEYWORD( KEYWORD_ID, KEYWORD, PART_OF_SPEECH, ICON, DEFINITION

RE: [HELP] I can't not type < sign in my sqlmap xml file

2005-05-26 Thread Niels Beekman
Hi, Did you try the following: blah This is not documented, but it works fine for me... Niels -Original Message- From: Huy [mailto:[EMAIL PROTECTED] Sent: donderdag 26 mei 2005 13:03 To: ibatis-user-java@incubator.apache.org Subject: Re: [HELP] I can't not type < sign in my sqlmap xm

Re: [HELP] I can't not type < sign in my sqlmap xml file

2005-05-26 Thread Huy
Ron Grabowski wrote: Huy, could you give an example additional functionality that another templating engine would provide? Someone (Brandon?) asked a question a few weeks ago about what other dynamic sql tags people would like to see. I don't think anyone ever responded. I couldn't think of any a

Re: Slightly off topic - Looking for the author of "Strutting your stuff with struts"

2005-05-26 Thread Vamsee Kanakala
eOk wrote: Hey, I happened upon iBatis from reading the struts intro titled "Strutting your stuff with struts". We have been using iBatis as a prototype for a new system and I have to show some people show to put struts and iBatis together. I was hoping to point people at the really helpful

Slightly off topic - Looking for the author of "Strutting your stuff with struts"

2005-05-26 Thread eOk
Hey, I happened upon iBatis from reading the struts intro titled "Strutting your stuff with struts". We have been using iBatis as a prototype for a new system and I have to show some people show to put struts and iBatis together. I was hoping to point people at the really helpful info at http