Oh :-( Another way is to read xml and write sql in a file and then restore it in the database. This can be performed with a simple bash/perl/python script. Is another solution. And then, your partner can use models. Good luck
El jue, 14-09-2006 a las 10:38 -0400, Seth Soffer escribió: > I totally agree, but this developer is being stubborn. He's > complaining, "I wanna deal with objects". And he's bitching up a > storm about ActiveRecord. I keep telling him to be flexible, and that > ADO.NET and MS Enterprise library is ideal for importing data and that > XML is data. I just thought that someone here could give me some > intellectual firepower to put this guy in his place. > > I think I'm going to have to take the task from him, and do it myself. :/ > > On 9/14/06, Carlos Ble <[EMAIL PROTECTED]> wrote: > > The import process could be performed with ADO.NET, just INSERT INTO and > > so on. Once the data have been inserted, your developer can use > > ActiveRecord models. > > Greetings > > > > > > El jue, 14-09-2006 a las 09:44 -0400, Seth Soffer escribió: > > > I'm managing a project where a developer is importing data from a huge > > > XML file (300 mb) into a SQL 2005 db. However, the imported records > > > are a subset of the xml. We have active record object which he is > > > using to load the data into and persist into the database. The import > > > is taking a long time. Its wrapped up in one big transaction. > > > > > > I feel that Active Record may not be the way to go with this task, but > > > the developer is resistant to trying another methodology. Any advice? > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > > CastleProject-users mailing list > > > CastleProject-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/castleproject-users > > -- > > Carlos Ble > > Shidix Technologies > > www.shidix.com/carlosble > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > CastleProject-users mailing list > > CastleProject-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/castleproject-users > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > CastleProject-users mailing list > CastleProject-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/castleproject-users -- Carlos Ble Shidix Technologies www.shidix.com/carlosble ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list CastleProject-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/castleproject-users