Re: Custom Tag

2005-05-12 Thread Abdullah Kauchali
Brandon Goodin wrote: I see. The question here is whether this is a common database issue and if it should be supported. However, it does not seem to be a common issue and there are ways to work around this. My other thought is why do you have over 250+ IN parameters? My guess: they have a

Re: Custom XML Resultmaps

2005-05-12 Thread Abdullah Kauchali
Hi Ron, That would have been ideal, but we are catering for a Win32 Application that deals with ADO 2.8 not ADO.NET. So we have to produce the ADO-XML Reduced schema. What we need specifically is the Resultset meta-data - column types, sizes etc. Kind regards, Abdullah Ron Grabowski wrote: Do

Re: Custom XML Resultmaps

2005-05-12 Thread Abdullah Kauchali
U, I suppose we can, but that's another server-side processing we have to do then. What I'm looking for is the possibility of producing XML directly from the JDBC Resultset? Does the framework allow for extending them? Kind regards Abdullah Larry Meadors wrote: Could you transform it with

Re: Availability of 2.1.0

2005-05-12 Thread Nathan Maves
Now that we are on the topic. Is this a bug fix release or a feature release? In the case that it is a feature release what can we expect? Nathan On May 12, 2005, at 9:53 PM, Clinton Begin wrote: Karen, A release could be as early as this weekend, but is not guaranteed. I'm sure if it's

Re: [OT] JPetStore - BaseBean / BeanAction

2005-05-12 Thread Clinton Begin
It should be noted that JPetStore also performs multiple "actions" per form.  The difference is that with BeanAction, you must call a different URL for each "action".  (I quote action, as there is obviously only one actual Action class...). Clinton  On 5/12/05, Lieven De Keyzer <[EMAIL PROTECTED]

Re: Availability of 2.1.0

2005-05-12 Thread Clinton Begin
Karen, A release could be as early as this weekend, but is not guaranteed. I'm sure if it's not, that we can at least commit to giving you (and everyone else) a date. Sorry for the lack of clarity here. Cheers, ClintonOn 5/12/05, Karen Koch <[EMAIL PROTECTED]> wrote: Still waiting on any kind

Re: [OT] JPetStore - BaseBean / BeanAction

2005-05-12 Thread Lieven De Keyzer
From: Brandon Goodin <[EMAIL PROTECTED]> Reply-To: Brandon Goodin <[EMAIL PROTECTED]> To: ibatis-user-java@incubator.apache.org Subject: Re: [OT] JPetStore - BaseBean / BeanAction Date: Thu, 12 May 2005 19:01:02 -0600 i'm not sure about your "formAction" semantic. You should name it something mean

Re: [OT] JPetStore - BaseBean / BeanAction

2005-05-12 Thread Brandon Goodin
i'm not sure about your "formAction" semantic. You should name it something meaningful like "removeFoo". The method names should be named after the actions that are taking place. But, yes you would follow the same semantic. You need to realize that JPetstore is NOT standard struts practice. It is a

[OT] JPetStore - BaseBean / BeanAction

2005-05-12 Thread Lieven De Keyzer
I took the lastest JPetStore as a starting point for my application. The problem I have now: I want to have multiple actions in one form. I have a set of objects belonging to a user and this are displayed together with a checkbox for each object. I want the users to be able to check a few boxes

Re: Custom Tag

2005-05-12 Thread Brandon Goodin
I see. The question here is whether this is a common database issue and if it should be supported. However, it does not seem to be a common issue and there are ways to work around this. My other thought is why do you have over 250+ IN parameters? Maybe you need to rethink what you are developin

RE: Custom Tag

2005-05-12 Thread Ming Xue
The Oralce in list limition is 250, otherwise the sql can not be parsed, For example: select * from abc where a in ('a', 'b', 'c', ...) if there are more than 250 values in the in list, the sql needs to be rewritten as: select * from abc where a in ('a', 'b', 'c'...) or a in ('x', 'y', 'z'..

Re: Custom Tag

2005-05-12 Thread Brandon Goodin
That is not a clear example. I'm not sure what the problem is that you are presenting. What tag would you write to accomplish a solution to the problem you are presenting? If you are referring to the population of an IN statement then you could use . Brandon On 5/12/05, Ming Xue <[EMAIL PROTECTE

RE: Custom Tag

2005-05-12 Thread Ming Xue
For example,   for Oracle in list limitation while using   select * from abc where a in ('a', 'b', 'c', ...)   We need to use a Custom tag for this.   Thanks   -Original Message-From: Larry Meadors [mailto:[EMAIL PROTECTED]Sent: Thursday, May 12, 2005 5:21 PMTo: ibatis-use

Re: Custom Tag

2005-05-12 Thread Brandon Goodin
The functionality does not currently exist. It would be difficult to implement that functionality in the current iBatis version. It might be a featuer we'd consider for the next major release of ibatis. What kind of functionality are you wanting to implement that iBatis does not deal with? Also, h

Re: Custom Tag

2005-05-12 Thread Larry Meadors
A couple? Check again. That is an interesting idea though. Larry PS: Please do not reply to other posts with new topics.On 5/12/05, Ming Xue <[EMAIL PROTECTED]> wrote: Hi   I am very much amazed by Ibatis's ability to generate dynamic sql, which is blank in Hibernate.  There are a co

Re: Availability of 2.1.0

2005-05-12 Thread Brandon Goodin
i'll put an email out about 2.1.0 on the Dev list. We don't have a release date specified at this point. Brandon On 5/12/05, Karen Koch <[EMAIL PROTECTED]> wrote: > Still waiting on any kind of response on this one. Even if the response is > "we > can't give you any real answer", that would be

Fwd: Availability of 2.1.0

2005-05-12 Thread Karen Koch
Still waiting on any kind of response on this one. Even if the response is "we can't give you any real answer", that would be helpful. Also, just to verify, do I understand correctly that the fix for IBATIS-79 in Jira will not be available until version 2.1.0 (presumably not released yet) is rele

Custom Tag

2005-05-12 Thread Ming Xue
Title: RE: Oracle OC4J and signon Hi   I am very much amazed by Ibatis's ability to generate dynamic sql, which is blank in Hibernate.  There are a couple predefined tags provided by default,  But,  does the framework support  Custom Tags? if so, how can I attched them to the FrameWork?  

Re: Re[2]: simple question

2005-05-12 Thread Brandon Goodin
It looks like your dynamic tags are not being processed. Do you have anything surrouned with a CDATA tag? Brandon On 5/12/05, Sergey Livanov <[EMAIL PROTECTED]> wrote: > Thank you a lot, Brandon. > BG> it should be okay to use dynamic. What version of iBatis are you using? > 2.0.8 > > When I rem

Re: Oracle OC4J and signon

2005-05-12 Thread Brice Ruth
Glad it works ... sorry, I just figured OC4J was another Oracle DB thingie :) On 5/12/05, Trussell David N <[EMAIL PROTECTED]> wrote: > > > Bingo! I commented out the tag and it all works > nicely. > > I made the assumption that most developers would know what OC4J in the > subject meant: Or

RE: Oracle OC4J and signon

2005-05-12 Thread Trussell David N
Title: RE: Oracle OC4J and signon Bingo! I commented out the tag and it all works nicely. I made the assumption that most developers would know what OC4J in the subject meant: Oracle Container for Java. It's based on Orion. My apologies. Thank you for all your patience and help, Brice! Now

Re[2]: simple question

2005-05-12 Thread Sergey Livanov
Thank you a lot, Brandon. BG> it should be okay to use dynamic. What version of iBatis are you using? 2.0.8 When I remove it does'not work too. I'd like to ask you to see to Log4j java PreparedStatement:. The parameters are correct, but construction has been kept, and this SQL operator would

issues upgrading from 1.31 to 2.09B

2005-05-12 Thread Andy Thompson
I'm working on refactoring an existing application. The environment being deployed on is weblogic 8.1 and I'd like to use weblogic to control datasources. I managed to get the jars updated (still using the compat jar). I also got the script to upgrade the sql-map.xml and sql-map-config.xml files

Re: Oracle OC4J and signon

2005-05-12 Thread Brice Ruth
can you find web.xml? there should be a tag in there ... that ties particular pages to a security restriction. I wasn't aware that this was running in Oracle's App server as well. If you mentioned that earlier, I apologize. I've never used Oracle's App server ... so my help may be limited in thi

RE: Oracle OC4J and signon

2005-05-12 Thread Trussell David N
Title: RE: Oracle OC4J and signon I can't find a context.xml. As far as I can see, a realm would be configured in jazn-data.xml and there are no entries in that file. I get one of these entries in my global-applications.log for each time the pop-up window is presented (meaning when I click "S

Re: simple question

2005-05-12 Thread Brandon Goodin
it should be okay to use dynamic. What version of iBatis are you using? Brandon On 5/12/05, Pedro Emanuel Castro Faria Salgado <[EMAIL PROTECTED]> wrote: > On 12/05/2005 15:39, "Sergey Livanov" <[EMAIL PROTECTED]> wrote: > > > > > Could you, please, help me find an error, > > very simple stateme

Re: Custom XML Resultmaps

2005-05-12 Thread Ron Grabowski
Do you want to have IBatis generate an xml file that can be loaded by a DataSet's ReadXml method? Here's an example for the non-.Net people of one way of saving a DataSet to XML: DataSet ds = new DataSet("People"); DataTable dt = new DataTable("Person"); dt.Columns.Add("Name", typeof(string));

Re: Oracle OC4J and signon

2005-05-12 Thread Brice Ruth
Hmmm ... well, take a look at where the realm is configured. It would have to be in context.xml as well as be referenced in web.xml ... On 5/12/05, Trussell David N <[EMAIL PROTECTED]> wrote: > > > Yeah, j2ee/j2ee and ACID/ACID. But it doesn't accept either of those two. > > -Original Mes

RE: Oracle OC4J and signon

2005-05-12 Thread Trussell David N
Title: RE: Oracle OC4J and signon Yeah, j2ee/j2ee and ACID/ACID. But it doesn't accept either of those two. -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 12, 2005 9:09 AM To: ibatis-user-java@incubator.apache.org Subject: Re: Oracle OC4J and sign

Re: simple question

2005-05-12 Thread Pedro Emanuel Castro Faria Salgado
On 12/05/2005 15:39, "Sergey Livanov" <[EMAIL PROTECTED]> wrote: > > Could you, please, help me find an error, > very simple statement, but not work.. > > > > select d.payorder > from fin.payorders d >where d.partner = #partner# Take off the ? Below a working example that I have:

Re: Oracle OC4J and signon

2005-05-12 Thread Brice Ruth
Aha! This is basic realm authentication. I believe if you read the docs for jPetstore, there's a default admin or guest user account you can use to get in ... at least, I remember that from when I setup jPetstore once upone a time! Brice On 5/12/05, Trussell David N <[EMAIL PROTECTED]> wrote: >

Re: Custom XML Resultmaps

2005-05-12 Thread Larry Meadors
Could you transform it with XSLT? Larry On 5/12/05, Abdullah Kauchali <[EMAIL PROTECTED]> wrote: Is it possible to extend the current XML Resultmap format to a newcustom one?  Don't ask!, but were are investigating the possibility ofreturning XML in Microsoft's ADO format.Any general advice on thi

simple question

2005-05-12 Thread Sergey Livanov
Could you, please, help me find an error, very simple statement, but not work.. select d.payorder from fin.payorders d where d.partner = #partner# d.owner = #owner# without dynamic all works, Log4J text. 2005-05-12 16:26:52,718

Custom XML Resultmaps

2005-05-12 Thread Abdullah Kauchali
Is it possible to extend the current XML Resultmap format to a new custom one? Don't ask!, but were are investigating the possibility of returning XML in Microsoft's ADO format. Any general advice on this would be greatly appreciated, Kind regards Abdullah

RE: Oracle OC4J and signon

2005-05-12 Thread Daniel H. F. e Silva
Hi David, What is this window? A MS Windows window? A basic realm window? Have you checked if your webserver has any kind of realm configured? Hope that helps. Cheers, Daniel Silva. --- Trussell David N <[EMAIL PROTECTED]> wrote: > It's the same database.properties file that's under Tomcat