Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8621033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:43:30+00:00 2026-06-12T06:43:30+00:00

I am currently developing a Rhomobile application. I have a backend database which holds

  • 0

I am currently developing a Rhomobile application. I have a backend database which holds customer information. I have got from the webserver a csv string (or XML – I am able to parse the XML using REXML) which contains all the customers. Each time I sync the device I am going to reset the customer table on the device and re-insert all data from the backend database. I am not using RhoSync and the device will be using property bag.

Is it possible to use the CSV or XML data to insert into the customers table? If so, how would I go about it?

At the moment the only option I can see that would work would be to manually loop through the CSV/XML and insert into the database manually; this isn’t very elegant.

Any help will be much appreciated, sorry if this is a dumb question; still relatively new to this framework.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:43:32+00:00Added an answer on June 12, 2026 at 6:43 am

    I have come to the conclusion that the only way is to loop through the csv/xml, which with the help of a database transaction this doesn’t take long.

    Using fixed schema also increases the performance a lot as property bag has to do column inserts (so if you have lots of columns – there is lots of inserts per record).

    Also in Rhomobile garbage collection is turned off, so if you are trying to process large data sets your device will quickly run out of memory:

    GC.enable
    

    The above solves this issue

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently developing an application which needs a lot of system and process information,
I'm currently developing a PHP application that's using an Access database as a backend.
Im currently developing an Windows Phone 7.0 Application with C#. I got an Listbox
I'm currently developing a Django site in which users can have multiple 'accounts', so
I'm currently developing server side to Application, in the App I have a lot
Im currently developing a MVC application Framework and I have come for some advise
I'm currently developing a C# desktop application which is a simple virtual keyboard with
I am currently developing a Rails application using a database that was designed before
Im currently developing an application for mobile phones (smart phones). My mind have picked
Im currently developing an application for mobile phones (smart phones). My mind have picked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.