Re: .Net vs Java

2005-07-20 Thread Gilles Bayon
The .NET and Java version don't followed the same roadmap as the .NET is younger than Java but .NET team expect to reach the same level of fonctionnality of the Java version. The .NET version as its beginning was based on the first version of iBATIS.Java (which it is the current version at this tim

Mapping SP to Beans in oracle

2005-07-20 Thread Wilberto Montoya
Hi i have two questions about Oracle (yes, i know i'm not the only ;) ), but is posible map an oracle cursor to a class like a java bean only changing the XML file (without typehandler) and is posible map more than one cursor? thank you > > > > >{?= call abc.CLI

Re: .Net vs Java

2005-07-20 Thread Nathan Maves
Do they follow the same road map? Are the following statements true? .NET DataMapper 1.2.1 == Java Data Mapper DataAccess 1.6.1 Beta! == Java DAO If so why not use a standard naming convention? Wow I am really on a rant today :) Nathan On Jul 20, 2005, at 3:49 PM, Larry Meadors wrote: On 7/

Re: .Net vs Java

2005-07-20 Thread Larry Meadors
On 7/20/05, Nathan Maves <[EMAIL PROTECTED]> wrote: > How is the team managing these two projects? Pretty well. ;-) Kidding aside, their are two teams with a tiny bit of overlap..I know Ron and I both use both versions. > Do they use the same code base? Nope, they are totally independent. > Can

.Net vs Java

2005-07-20 Thread Nathan Maves
How is the team managing these two projects? Do they use the same code base? Can we expect the same functionality from both? Nathan

Re: synchronization between DB and ibatis sqlmaps

2005-07-20 Thread Larry Meadors
OK, I am going to mark this day on my calendar in bright orange ink. Wednesday July 25th, 2005: The day Vic and Larry agreed. ;-D Larry On 7/20/05, netsql <[EMAIL PROTECTED]> wrote: > Darek Dober wrote: > > Because of laziness:) > > Writting test cases takes some time. > > > > Most of us feel

Re: synchronization between DB and ibatis sqlmaps

2005-07-20 Thread netsql
Darek Dober wrote: Because of laziness:) Writting test cases takes some time. Most of us feel that unit testing it the lazies thing to do. What is your advice. Is building test cases the best practise and fastest of doing this? Darek YES! Unless you like random debuging. unit test

Re: petstore BeanAction

2005-07-20 Thread Clinton Begin
No way, BeanAction is awesome.  It *IS* plain old struts, with a good design pattern placed in front of it. There's no concern about ThreadLocal.  It's the fastest way to manage concurrent state.  For the most part that comment is there because it's certainly not "production code", but it's as

Automatic dynamic sorting.

2005-07-20 Thread Bing Zou
Hi, I have one question about dynamic sorting: Now for every sql statement that I want to apply dynamic sorting, I have to manually add "$OrderByClause$" at the end of that sql statement, which will be replaced by real "ORDER BY xxx" at runtime. I am wondering whether there is a way to append $Ord

Re: petstore BeanAction

2005-07-20 Thread Nathan Maves
I think the next version of the Pet Store will NOT be using this.  I would shy away from it as it is not generally consider a best practice.  I would stick to plain old struts.  You might look into IoC (Spring).I could be wrong so team please respond.NathanOn Jul 20, 2005, at 9:57 AM, Mark Bennett

petstore BeanAction

2005-07-20 Thread Mark Bennett
My friend noticed this comment in the BeanAction class in the petstore application.  Have any new lessons been learned about this regarding its use?  Anything to worry about?  ThreadLocal issues?    * The BeanAction Struts extension is a work in progress.  While it demonstrates * good patterns for

Re: synchronization between DB and ibatis sqlmaps

2005-07-20 Thread Ed Griebel
You could try httpunit which runs unit tests against your web server, which would implicitly check your database mappings. And it would have the side-effect of testing your web app too. -ed On 7/20/05, Darek Dober <[EMAIL PROTECTED]> wrote: > > Because of laziness:) > Writting test cases takes

Re: synchronization between DB and ibatis sqlmaps

2005-07-20 Thread Darek Dober
Because of laziness:) Writting test cases takes some time.   I'm developing application using Tomcat, and I start to realize, that testing on real application takes to much time, including deploying, logging on, and so on.   At the beginning it seemed to be a good choice, but it isn't. I hav

Re: synchronization between DB and ibatis sqlmaps

2005-07-20 Thread Clinton Begin
Why wouldn't you have test cases to test your statements anyway? Cheers, ClintonOn 7/20/05, Darek Dober <[EMAIL PROTECTED]> wrote: Do you have any solutions for that?Let's assume, that something changed in database, i.e names of tables orcolumns. And you forgot to change it.As far as I know I can

Re: Problem Oscache + Ibatis

2005-07-20 Thread Marco Berri
Hi, no f is the Local Hard disk Drive cache.path=f:\\oscache Larry Meadors wrote: Is F: a network drive? Larry On 7/20/05, Marco Berri <[EMAIL PROTECTED]> wrote: Hi! Thanks for your answer. Application runs using Administrator user and OSCache writes the folder f:\oscache, the sub-folders

Re: switch database (different sql code)

2005-07-20 Thread Ron Kirchheimer
thank you for your input. i made it like you said with de common and the specific files. then i wrote an ant script for copying the files to the right place. important is that in de specific files, the namespace is the same as in the common files, so the result maps have to be defined only once.

synchronization between DB and ibatis sqlmaps

2005-07-20 Thread Darek Dober
Do you have any solutions for that? Let's assume, that something changed in database, i.e names of tables or columns. And you forgot to change it. As far as I know I cannot check if sqlmap command is still valid, unless i execute it. It is difficult to execute and check all of the sqlmaps. Bean p

Re: Problem Oscache + Ibatis

2005-07-20 Thread Larry Meadors
Is F: a network drive? Larry On 7/20/05, Marco Berri <[EMAIL PROTECTED]> wrote: > Hi! > Thanks for your answer. > Application runs using Administrator user and OSCache writes the folder > f:\oscache, the sub-folders Application and group and put files into > them, but it seems that it has some p

Re: Problem Oscache + Ibatis

2005-07-20 Thread Marco Berri
Hi! Thanks for your answer. Application runs using Administrator user and OSCache writes the folder f:\oscache, the sub-folders Application and group and put files into them, but it seems that it has some problems reading these files; application runs in an infinite loop without any message. A