<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : SQL-Server to Oracle</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : SQL-Server to Oracle</description>
  <pubDate>Sat, 11 Apr 2026 06:48:28 -700</pubDate>
  <lastBuildDate>Thu, 12 Jul 2007 15:56:50 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=215</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>SQL-Server to Oracle : Yes. You are essentially correct....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=474#474</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 215<br /><strong>Posted:</strong> 12-Jul-2007 at 3:56pm<br /><br /><SPAN ="875042722-21032007">Yes.&nbsp; You are essentially correct.&nbsp; You do not have to open source code and regenerate the model for Oracle.&nbsp; However, there is one additional piece of code that you would need to add.&nbsp; That is a DataSourceMappingInterceptor.&nbsp; The DataSourceMappingInterceptor is used to handle the inevitable differences between an Oracle Database and a SQL Server Database.&nbsp; For example, the table owner names might be different, or you may want convert some table names to upper case.&nbsp; This is some of the code that you might need for an Oracle DataSourceMappingInterceptor.</SPAN> <DIV>&nbsp;</DIV><DIV><DIV dir=ltr><FONT size=3><FONT face="Courier New" color=#000000>foreach (DataColumnMapping columnMapping in info.TableMapping.ColumnMappings) {</FONT></FONT></DIV><DIV dir=ltr><FONT face="Courier New" color=#000000 size=3>columnMapping.SourceColumn = columnMapping.SourceColumn.ToUpper();</FONT></DIV><DIV dir=ltr><FONT face="Courier New" color=#000000 size=3>}</FONT></DIV><DIV dir=ltr><FONT face="Courier New" color=#000000 size=3>info.ConcurrencyColumnName = info.ConcurrencyColumnName.ToUpper();</FONT></DIV><DIV dir=ltr><FONT size=3><FONT face="Courier New" color=#000000>if (info.ColumnInsertMap.ContainsKey("RowVersion")) {</FONT></FONT></DIV><DIV dir=ltr><FONT size=3><FONT face="Courier New" color=#000000>info.ColumnInsertMap&#091;"RowVersion"&#093; = info.ColumnInsertMap&#091;"RowVersion"&#093;.ToUpper();</FONT></FONT></DIV><DIV dir=ltr><FONT face="Courier New" color=#000000 size=3>}</FONT></DIV><DIV dir=ltr><FONT size=3><FONT face="Courier New" color=#000000>if (info.ColumnUpdateMap.ContainsKey("RowVersion")) {</FONT></FONT></DIV><DIV dir=ltr><FONT size=3><FONT face="Courier New" color=#000000>info.ColumnUpdateMap&#091;"RowVersion"&#093; = info.ColumnUpdateMap&#091;"RowVersion"&#093;.ToUpper();</FONT></FONT></DIV><FONT size=2><DIV dir=ltr><FONT color=#000000>}</FONT></DIV><DIV dir=ltr align=left></FONT><FONT face="Times New Roman" color=#000000 size=3>&nbsp;</FONT></DIV><DIV><SPAN =875042722-21032007></SPAN><FONT face=Arial size=2>O<SPAN =875042722-21032007>nce you've written one DataSourceMappingInterceptor for one application, there is a good chance that you can reuse it for other applications.</SPAN></FONT></DIV><DIV><FONT face=Arial size=2><SPAN =875042722-21032007></SPAN></FONT>&nbsp;</DIV><DIV><FONT face=Arial size=2><SPAN =875042722-21032007>Please read the attached document on Data Transforms.</SPAN></FONT></DIV><DIV><FONT face=Arial size=2><SPAN =875042722-21032007></SPAN></FONT>&nbsp;</DIV><P>&nbsp;</P></DIV><span style="font-size:10px"><br /><br />Edited by IdeaBlade - 12-Jul-2007 at 3:57pm</span>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 15:56:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=474#474</guid>
  </item> 
  <item>
   <title>SQL-Server to Oracle :  Thanks for quick reply. If I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=473#473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 215<br /><strong>Posted:</strong> 12-Jul-2007 at 3:56pm<br /><br /><DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN =843010603-20032007><DIV><SPAN =450280419-20032007><FONT face=Arial color=#0000ff size=2>Thanks for quick reply. If I correctly understood you then suppose</FONT></SPAN></DIV><DIV><SPAN =450280419-20032007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV><SPAN =450280419-20032007><FONT face=Arial color=#0000ff size=2>I have a SQL Server database, say myDB, that I used with IdeaBlade object mapper to generate my business model classes. The application was developed and runs fine.</FONT></SPAN></DIV><DIV><SPAN =450280419-20032007><FONT face=Arial color=#0000ff size=2>Now I want this application to run against oracle version of myDB. Do I just have to&nbsp;add/update extensions in IdeaBlade.ibconfig and the object model that was actually developed using SQL Server version will still work fine. OR do I have to open the source code and regenerate the model for oracle.</FONT></SPAN></DIV><DIV><SPAN =450280419-20032007><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><DIV><SPAN =450280419-20032007><FONT face=Arial color=#0000ff size=2>I am very novice in IdeaBlade so need some extra help to figure out these basic requirements.</FONT></SPAN></DIV></SPAN></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 15:56:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=473#473</guid>
  </item> 
  <item>
   <title>SQL-Server to Oracle : It&amp;#039;s possible to write a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=472#472</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 215<br /><strong>Posted:</strong> 12-Jul-2007 at 3:55pm<br /><br /><SPAN =843010603-20032007><FONT face=Arial color=#0000ff size=2>It's possible to write a single application that will run on either SQL Server or Oracle depending on the connection string,&nbsp; There are acually a number of ways to do this, but I would do this through a Datasource Extension.&nbsp; One extension would be for SQL Server.&nbsp; A second extension would be for Oracle.&nbsp; We actually have a very large number of our unit tests that run the same application on different kinds of databases.&nbsp;Refer to the Developer's Guide for more details.</FONT></SPAN>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 15:55:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=472#472</guid>
  </item> 
  <item>
   <title>SQL-Server to Oracle : I am not sure if this is the right...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=471#471</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 215<br /><strong>Posted:</strong> 12-Jul-2007 at 3:54pm<br /><br /><P><FONT face=Arial size=2>I am not sure if this is the right place to ask these type of evaluation related questions but I am going to *ping* anyway. Please redirect me to appropriate channel if this not the right place.</FONT></P><P><FONT face=Arial size=2>Currently I am in process of evaluating IdeaBlade/DevForce as a potential application framework. I had been through most of training material and concepts manual but could not find a definitive answer to following question.</FONT></P><P><FONT face=Arial size=2>"In DevForce is it possible to hot-swap (or cold-swap with minimal reconfiguration) a datastore from, say, SQL-Server to Oracle provided they have same database schema? Is persistence manager smart enough to detect this change and generate SQL commands accordingly?"</FONT></P>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 15:54:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=215&amp;PID=471#471</guid>
  </item> 
 </channel>
</rss>