Jump to content

Is it possible to generate 'generic' code for data

  • Please log in to reply
1 reply to this topic

#1 Guest_Denis_*

  • Guests

Posted 11 January 2005 - 10:24 AM

Question concerning Tier Developer 4.0
Is it possible to generate 'generic' code for database access (regardless
of database type - Oracle, SqlServer). It would be important not to have to manage this in software coding and because at this time we don't know the choice of the final database.

ok, generating code is easier but it is not useful to have to generate the
same code according to database type (strange that MS did not think about
this initially when defining ADO.NET !!!).

#2 Guest_Paul_*

  • Guests

Posted 11 January 2005 - 10:24 AM

One way you can generate generic code, from TierDeveloper, is to create an identical schema in a Database (like SQL Server or Oracle) and do all your object mapping against it. However, use TierDeveloper Enterprise Edition in which you can generate OLEDB based components, OLEDB is such a technology designed to solve such problems.

Once you've tested everything to work against SQL Server/Oracle database, just change the connection string in OLEDB to point to your target database and hopefully it will work seamlessly.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users