Find Jobs
Hire Freelancers

Application to Persist Large XML Data Files into an MSSQL Database (Repost)

$30-250 USD

Folyamatban
Kiadva ekkor: majdnem 6 évvel ezelőtt

$30-250 USD

Teljesítéskor fizetve
I have a number of very large XML documents, and I'd like to have a script made in Java that will read data within the XML document, and persist it into a database with configurable batch sizes. The specific structure of the XML documents may very, but they all have the same basic parent/child structure. For example, we might have: <Parent> <Group_Child> <Child_1>Data<Child_1> <Child_2>Data<Child_2> </Group_Child> <Child_1>Data<Child_1> <Child_2>Data<Child_2> </Group_Child> </Parent> or <Parent> <Group_Child> <Child_3>Data<Child_3> <Child_4>Data<Child_4> </Group_Child> <Child_3>Data<Child_3> <Child_4>Data<Child_4> </Group_Child> </Parent> As you can see above, the first file has two columns, Child_1 and Child_2, while the second file has Child3 and Child4. The application will work as follows in each above case: 1. Parse the XML document to get the list of ALL record element names. Just as with above, we need to review within the entire document to get a cumulative, distinct list of any and all column names; 2. Create a table with the desired structure (e.g. in the above case, tables would be created with the two columns indicated; and 3. Persist all data from the XML documents into the table created. The application should accept three parameters, the first is the filename to be read, the second is batch size, and the third is target table name. For example, if my app name is PersistRMXML, and I want a batch size of 10,000, and the tablename I want to create is SomeTableName, then the command would be: java -jar PersistRMXML [login to view URL] 10000 SomeTableName Upon execution, the application will first read the input file to determine any and all possible column names (each file can contain over one million records, and so the file should not be loaded all into memory at once). STaX can be used to accomplish this. Once this is done, the new table will be created on the target database with the desired structure. The application should contain an [login to view URL] file where the target MSSQL database connection string should be configured. Once the target table is created, the application should read records in batch sizes specified above, and insert read records into memory. Once the desired number of records has been parsed from the XML document, and stored in memory, the application should then persist the data into the new table using the BulkCopy operation of MSSQL. More on Bulk Copy can be found here: [login to view URL] As a final step, the application should validate that the number of records inserted into the target table is the same record count as the number of records persisted. If not, the application should print an error to the log files indicating 'Record Persistence Incomplete - XML record count 11000 - Table record count 50' The application should use a logger, like log4j for logging, and should log all details to the log file. the application should be compiled using the Java 8 platform, and preferable will be distributed as a far jar.
Projektazonosító: 17210801

A projektről

8 ajánlat
Távolról teljesíthető projekt
Aktiválva: 6 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
8 szabadúszó adott átlagosan $180 USD összegű árajánlatot erre a munkára
Felhasználó avatár
Hi sir. I'm very interesting your proposal. I can do it.(xml->mssql). How about working with me? Let me know the result. Regards.
$155 USD 3 napon belül
5,0 (86 értékelés)
7,8
7,8
Felhasználó avatár
Hi There, I have read and understand the requirement to insert the XML data in MSSQL using JAVA. I will make it a perfect job. I have 14 years industry experience working on Java platform. Please let me know. Regards, Shatrughna
$350 USD 5 napon belül
4,9 (43 értékelés)
6,4
6,4
Felhasználó avatár
hi I am really interested in your project I have full experience of java programming for sql db and xml management I could parse your xml file and insert into mssql tables as you want I could satisfy you Everything will be done well if you work with me Thank you
$155 USD 3 napon belül
5,0 (45 értékelés)
6,1
6,1
Felhasználó avatár
I have experience with Java and DB. Java : JPA, EJB, Hibernate, Spring Boot, Spring MVC, internationalization, DI, SOAP, RESTful, XML, JSON. DB: Oracle (admin, PL/SQL, stored procedure, function), MySQL (admin, sql, stored procedure) Linux admin: RedHat CentOS.
$111 USD 2 napon belül
5,0 (2 értékelés)
2,0
2,0

Az ügyfélről

UNITED STATES zászlója
SCOTTSDALE, United States
5,0
129
Fizetési mód hitelesítve
Tagság kezdete: júl. 10, 2006

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.