Re: [Dhis2-devs] dhis14 import

2010-07-24 Thread Bob Jolliffe
;            { >>                table.addRow( i, "some text" ); >>            } >> >>            log.info( "Reading data" ); >>            int count = 0; >>            while ( ( row = table.getNextRow() ) != null ) >>            { >>  

Re: [Dhis2-devs] dhis14 import

2010-07-24 Thread Lars Helge Øverland
ed, Jul 21, 2010 at 3:42 AM, Ime Asangansi > wrote: > >>> > >>> Impressive! > >>> First time seeing that clean functionality! > >>> I see potential there to move data between both systems :) > >>> > >>> Ime > >>&

Re: [Dhis2-devs] dhis14 import

2010-07-24 Thread Jason Pickering
hile ( ( row = table.getNextRow() ) != null ) >            { >                count++; >                log.debug( row ); >                Integer id = (Integer) row.get( "id" ); >                String value = (String) row.get( "value" ); > >                

Re: [Dhis2-devs] dhis14 import

2010-07-23 Thread Bob Jolliffe
ue" ); System.err.println( id + " : " + value ); } log.info( count + " datavalues" ); } catch ( IOException ex ) { log.info("Ouch: "+ex); } } } > > Thanks. > > Im

Re: [Dhis2-devs] dhis14 import

2010-07-23 Thread Ime Asangansi
Hi Bob, Mmmm..interesting. Just to be sure. Were you reading from 1.4 and writing to 2.0? mysql or postgres? Were you writing the other way (to access)? Thanks. Ime --- On Fri, 7/23/10, Bob Jolliffe wrote: > From: Bob Jolliffe > Subject: Re: [Dhis2-devs] dhis14 import > To: &q

Re: [Dhis2-devs] dhis14 import

2010-07-23 Thread Bob Jolliffe
between both systems :) >>> >>> Ime >>> >>> >>> --- On Tue, 7/20/10, Knut Staring wrote: >>> >>> > From: Knut Staring >>> > Subject: Re: [Dhis2-devs] dhis14 import >>> > To: "Bob Jolliffe" >>>

Re: [Dhis2-devs] dhis14 import

2010-07-23 Thread Bob Jolliffe
>> >> Impressive! >> First time seeing that clean functionality! >> I see potential there to move data between both systems :) >> >> Ime >> >> >> --- On Tue, 7/20/10, Knut Staring wrote: >> >> > From: Knut Staring >> > Sub

Re: [Dhis2-devs] dhis14 import

2010-07-22 Thread Lars Helge Øverland
sive! > >> First time seeing that clean functionality! > >> I see potential there to move data between both systems :) > >> > >> Ime > >> > >> > >> --- On Tue, 7/20/10, Knut Staring wrote: > >> > >> > From: Knut St

Re: [Dhis2-devs] dhis14 import

2010-07-22 Thread Bob Jolliffe
>> >> Impressive! >> First time seeing that clean functionality! >> I see potential there to move data between both systems :) >> >> Ime >> >> >> --- On Tue, 7/20/10, Knut Staring wrote: >> >> > From: Knut Staring >> > Su

Re: [Dhis2-devs] dhis14 import

2010-07-22 Thread Lars Helge Øverland
ial there to move data between both systems :) > > Ime > > > --- On Tue, 7/20/10, Knut Staring wrote: > > > From: Knut Staring > > Subject: Re: [Dhis2-devs] dhis14 import > > To: "Bob Jolliffe" > > Cc: "dhis2-devs" > > Date

Re: [Dhis2-devs] dhis14 import

2010-07-20 Thread Ime Asangansi
Impressive! First time seeing that clean functionality! I see potential there to move data between both systems :) Ime --- On Tue, 7/20/10, Knut Staring wrote: > From: Knut Staring > Subject: Re: [Dhis2-devs] dhis14 import > To: "Bob Jolliffe" > Cc: "dhis2-devs

Re: [Dhis2-devs] dhis14 import

2010-07-20 Thread Orvalho Augusto
I am really impressed with that news. Caveman On Tue, Jul 20, 2010 at 3:23 PM, Bob Jolliffe wrote: > Just some throwaway code testing out jackcess for reading dhis14 (and > potentially modulo basico files): > > http://pastebin.com/wMv1SZqq > > I'm pretty impressed. It works well and I suspect

Re: [Dhis2-devs] dhis14 import

2010-07-20 Thread Knut Staring
That sounds really great - it has been problematic to require Windows for this. k On Tue, Jul 20, 2010 at 3:23 PM, Bob Jolliffe wrote: > Just some throwaway code testing out jackcess for reading dhis14 (and > potentially modulo basico files): > > http://pastebin.com/wMv1SZqq > > I'm pretty impre

[Dhis2-devs] dhis14 import

2010-07-20 Thread Bob Jolliffe
Just some throwaway code testing out jackcess for reading dhis14 (and potentially modulo basico files): http://pastebin.com/wMv1SZqq I'm pretty impressed. It works well and I suspect also much faster than accessing via odbc/ibatis or whatever it is. Never mind the nonsense of what this code act