How to extract data from an already existing database with genexus? - genexus

I am trying to create a model on genexus that gets data from a determined table from a server to create a File.
I have tried doing it while creating a new knowledge base but I didn't know how I can get the data I need or how I can connect the existing tables to my knowledge base.

See this 2 links from GeneXus documentation:
https://wiki.genexus.com/commwiki/servlet/wiki?2414,Reverse%20Engineering%20Process
https://wiki.genexus.com/commwiki/servlet/wiki?6627,Database+Reverse+Engineering+Wizard,
Best Regards.

Related

Existing data model getting replaced while uploading a new rpd file?

when I upload a new RPD file in obiee12c existing data model getting replaced, if I wanna see the datamodel for multiple applications how can I do it
An RPD upload does just that. It uploads an RPD. You work with multiple applications by having all those applications inside one RPD. Whether one source or 50 makes no difference at all to the RPD.

How to create new oracle database with same structure as another database but without data?

I wanted to create a database with the same structure as another database but without restoring data.
Is good idea use Database Configuration Assistant.
Use dbca (Templates )
Create a template for existing database.
Create a database from template

Use of ODBC and Relational connections in Informatica

I noticed that in the mapping level we are creating the ODBC connection and in the Workflow level we are creating the Relational connection. What are those 2 connections needed for?
Question is crystal clear.
When you create the mapping you are describing what you want the data to do and shouldn't be restricted by whether the data model exists yet or not.
In order to do this you need to know the structure of your source and target but you don't need to actually connect to them. Having a dummy csv to get you going in mapping designer and while the dba builds the tables in the database is enough.
In the designer you may connect to existing structure to create Source or Target transformations. But you just create the structure, the definition - it's not connected to the mapping anymore.
In the workflow designer you choose a connection that should process data strutured in a way described by the Source or Target definition. It's the connection that will be used to access the data.

How do I add >100 new rows to a SQLite DB in the documents directory without overwriting?

I have a SQLite table that I'm using for my iPad app. It currently has about 500 items, but I need to add about 200+ more. The thing is, the app is already deployed and has users, and it's an editable database in the documents directory, so it's not like I can just overwrite it. How can I add these new rows easily without destroying the table that I already have? It would be nice to import a txt somehow without having to do this manually. (For the record I am not using Core Data.)
Throwing out some ideas:
Can you not deploy a new database file in your update, and programatically detect if there is an existing db. If so, add the new data to the database and if not create a new db programatically, and add all your data to it.
You could store the setup data in an xml file perhaps?
ALTERNATELY, could your update have a second database? You don't overwrite your original db and you add a v1.1 db file? You could then merge the v1.1 data into the original db?

How to Maintain a Common data over windowsphones?

I am creating an offline app,which have a table of data(SQL)..And that data must be in all the phone using my app...The Application must update this table whenever the phone gets connected to Internet.The Users can insert,update but cant delete their data in the table.
I want this table to be in a common place and store the table to Isolated Storage for offline usage .In my search I found that we can do this through OData with SQLAzure in cloud..I do want to know is there any other way of doing it?
You can use sql-ce dabatabase from mango which is stored in IsolatedStorage.
Here is good article.
For online updating I always use custom webservices running on my server, which is not that hard to develop.

Resources