CodeSmith Community
Your Code. Your Way. Faster!

Does .netTiers support other Databases?

Latest post 04-11-2008 11:44 AM by mgmacedo. 2 replies.
  • 04-07-2008 10:55 AM

    • mgmacedo
    • Not Ranked
    • Joined on 04-07-2008
    • Posts 2
    • Points 40

    Does .netTiers support other Databases?

    Hello there!

    Could you please, tell me if Oracle and DB2 are supported?

    If yes, where can I find info about it?

    Thanks,

    Filed under: ,
    • Post Points: 35
  • 04-11-2008 8:12 AM In reply to

    • cms
    • Top 500 Contributor
    • Joined on 04-11-2008
    • Posts 9
    • Points 255

    Re: Does .netTiers support other Databases?

    Reply |Contact |Answer

    DISCLAIMER: I have not used the generic client to access either Oracle or DB2, so I'm speaking in hypothetical here.

    .NetTiers uses a provider model in the data tier.  There are two flavors of providers that come out-of-the-box.  SQL Server and "Generic".  You can perform your Oracle and DB2 using the generic providers but will not have tight integration with any DBMS-specific features.

    You could also take a copy of the templates for an existing provider and tweak them to suit your actual database.  This would probably be trivial.  Particularly for Oracle when you'll have a native support from .NET (if you use DB2, you might choose to use a third-party .NET provider like DataDirect).

    -C

    Filed under: , ,
    • Post Points: 35
  • 04-11-2008 11:44 AM In reply to

    • mgmacedo
    • Not Ranked
    • Joined on 04-07-2008
    • Posts 2
    • Points 40

    Re: Does .netTiers support other Databases?

    We tried to use nHibernate but it does not work with DB2 so, your info was very helpful.

    Thanks for the information.
    Marcio

    On Fri, Apr 11, 2008 at 9:13 AM, cms <bounce-cms@codesmithsupport.com> wrote:

    DISCLAIMER: I have not used the generic client to access either Oracle or DB2, so I'm speaking in hypothetical here.

    .NetTiers uses a provider model in the data tier.  There are two flavors of providers that come out-of-the-box.  SQL Server and "Generic".  You can perform your Oracle and DB2 using the generic providers but will not have tight integration with any DBMS-specific features.

    You could also take a copy of the templates for an existing provider and tweak them to suit your actual database.  This would probably be trivial.  Particularly for Oracle when you'll have a native support from .NET (if you use DB2, you might choose to use a third-party .NET provider like DataDirect).

    -C





    • Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems