Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 Compatable Database ?

 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an scnairo where we need to develop an application on some freeware database like,MYSQL or Postgres and then migrate it to DB2.
Now I need help in knowing which database will be more compatible with DB2,I mean to ask with respect to functions supported.
also I have heard abt some limitations in sub queries by MSQL.

And lastly dose DB2 have any kind of tool which helps in migration for both database?

Waiting for experts Comments

Cheers
-Praful
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34384
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Praful,
I'm moving this to JDBC since it is about db2, not Oracle.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34384
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Praful,
The goal should be to use standard SQL. Then you can use any database without changing/converting the queries. MySql and Postgres support standard SQL. Just try to avoid using any of their proprietary functions.
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy Jeanne,

Thanx a bunch for your reply.

Cheers
-Praful
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
agreed with Jeanne about using the standard SQL or ANSI syntax.

but i am also thinking about container managed persistance. what you people say? if using persistance layer, we bother less about the database below.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic