2 Replies Latest reply on Oct 4, 2010 2:00 AM by chriscurnow

    Customising Data Services

    chriscurnow

      Hi,

       

      I am using http to get data from a database not included in the standard options for data services. That's fine I have been able to get data.

       

      The problem I am now facing is the database has about 150 tables many with upwards of 100 columns. It would be very nice to be able to write some generic CRUD data services and pass the table name and assign the result to a particular Value Object.

       

      The biggest problem I'm having is data typing. I can use the data service to get a sample return result with all the fields from the database, but I don't really want to have to go through every field returned and manually set it's data type – especially when I (obviously) know the data type on the server.

       

      Any ideas about how to tackle this?

       

      regards

       

      Chris