Migration Issues from Informix to Oracle (datetime format)
Hello, i am performing a Migration from Informix to Oracle, drive by Migration Workbench, i have an error migrating data from datetime and date fields. I suppose its related by datetime and date format, cause the error tells "Incorrect day or month" when i am migrating data from informix. Targets Oracle database date format is DD/MM/YYYY and source`s Informix database date format like MM/DD/YYYY. Is there any way, in OMW, to specify the mask of datetime or date format to convert date strings from informix to oracle format? Or have i got migrate offline and modify control file to do that with sql*loader?
How can i do that?
Example, especify to_date('....', 'MM/DD/YYYY H24:MI:SS') format for migrating informix datetime fields to Oracle.
The problem i have is, several tables witch contains date and datetime fields, at the same table in informix, by migrating drive by omwb to oracle, the date format i receive from informix at reading is DD/MM/YYYY and datetime format receiving is HH24:MI:SS. Migrating date and datetime types from informix to date, both types to date in oracle, i get an error while matching DD = HH24, MM = MI and YYYY = SS where nls_date_format is DD/MM/YYYY and, the same error matching HH24 = DD, MI = MM and SS = YYYY when nls_date_format is HH24:MI:SS.
If i set nls_date_format as "DD/MM/YYYY HH24:MI:SS" i get the same error, cause reading data from informix results in data format "DD/MM/YYYY" for date fields and "HH24:MI:SS" for datetime fields.
I have more than 200 tables in informix with this problem to migrate to oracle, i can solve by migrating offline, modifying datacontrol file to casting to_date format, but over 200 tables, 200 datacontrol files... is there any way for solving that by online migration in omwb?
Similar Messages
-
Migrating Data from Informix to oracle
Is it advisable to migrate the whole schema from Informix database to Oracle 10g or migrate each table using sqlldr. If the data model is not exactly same then can we export data from informix and import the dump file in Oracle 10g.
You can use Generic Connectivity. It is a free feature of the database available on Windows, HP, AIX and Solaris and Linux (v10g).
There is also the transparent gateway for Informix however it is not certified with Informix 7.2. It is certified with 7.3 and higher. -
Migration from Informix to Oracle
Hi,
Could anybody share the case studies/plan/docs related to migrating data from Informix to Oracle.Hello,
The Oracle® Migration Workbench Reference Guide for Informix Dynamic Server Migrations is avalaible at
http://download.oracle.com/docs/html/B16022_01/toc.htm
Also, you will find a lot of informations on the Informaix migration technet page at
http://www.oracle.com/technetwork/database/migration/informix-085032.html
Even if a lot of samples are Microsoft SQL Server based, they also apply on an Informix migration as well.
Hope it will help
Regards,
Jean-Patrick -
Migration issue sqlserver 2008 to oracle 11g
migration data from sqlserver to oracle at at thjat time i got issue, please give me a solution.
error: migration actions have failes,check the migration reports for details;capture enterprise capture capture faild.refer to migrlog table inthe repository for details.Please send more details like what method is being used to perform this migration?
-
Migration Error from Access to Oracle through SQL Developer.
Hi,
Actually I am trying to migrate data from MS Access 2002 to Oracle 9i database through the SQL Developer. But Whenever I go to Capture Database from Access it will show me an error.... Invalid procedure Call and then it shows an error message... >>>>>>
ShowSplashScreen("_OracleSplashScreen",3)
after that i wont be able to do this task anymore..... So please help me get out of it... How Cam I Maigrate data from Access to Oracle 9i...
Is any other tool i use or you can help me for this tool to migrate date...
Please tell me..
If yu can send me a mail then mail me on [email protected]
regards,
VishalHi Vishal,
I have responded to your related thread on the Migration Workbench forum - Migration Error from Access to Oracle through SQL Developer.
Regards,
Hilary -
Migrating database from PostgreSql to Oracle 10g
Hi
can anybody help me by providing steps to migrating database from PostgreSql to Oracle 10g. its very urgent requirement. so please let me know if anyone know about this setps.
thanks in advance.
jayesh
cignex technology pvt ltdNPD wrote:
Hi Guys,
Can one migrate database from sql2005 to Oracle.
Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Migrating database from sql2005 to Oracle 9i
Hi Guys,
Can one migrate database from sql2005 to Oracle.
Thanx.NPD wrote:
Hi Guys,
Can one migrate database from sql2005 to Oracle.
Thanx.You can use [Oracle Migration Tool |http://www.oracle.com/technology/tech/migration/workbench/index.html]
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Migrating from Informix to Oracle 11g
Hi,
I have downloaded the Migration workbench, and the plug-ins Inofrmix7.jar from http://www.oracle.com/technetwork/topics/index-095746.html. Kindly could you please tell me from where i can download the ifxjdbc.jar. Are these files same with different name.
RegardsHello,
What you need is the Informix Dynamic Server JDBC Driver, version 1.4 JAR file, ifxjdbc.jar.
This driver is shipped with the Informix Dynamic Server software. I am not sure you can download it freely.
Regards,
Jean-Patrick -
Migrating data from Informix 7.2 to Oracle RDBMS
I've got several applications running on an Informix 7.2 database and I need to migrate this data to an Oracle 8.1.7.4 database. Is there a gateway product available to aid with getting this data migrated. We tried Oracle Migration Workbench but Informix 7.2 is not supported. Any help with getting this done is appreciated. I don't want to keep these apps on Informix!!!
You can use Generic Connectivity. It is a free feature of the database available on Windows, HP, AIX and Solaris and Linux (v10g).
There is also the transparent gateway for Informix however it is not certified with Informix 7.2. It is certified with 7.3 and higher. -
Hi,
I am migrating my ejb application from weblogic to oracle 9i application server.What changes are needed to be made in code and what configuration changes are required.
In my application i use a couple of session beans wherin a session bean calls the method of the other session bean which acceses the database.I am using a jdbc thin driver for the database connection. is it possible for a session bean to call a method of another session bean which access the database??This concept works well in weblogic where the current application is running.
The problem is that while migrating the application to the orion server, it gives an OrionCMTException ...
memory leak..etc.
Could any one clarify.
Thanks in advance!!!Hi Avi and Harrison,
Cease Fire avi!!!!.First of all let me clear the issue of posting the same problem twice.Well, when i mentioned the problem the first time , i found the title session bean deployment was not right and few people would look into it as it was a common problem so i thought it would be appropriate if i mentioned the title correctly , so i posted the query again with the change in title.
Now coming to the answer for ur questions.
The platform used is MS Windows NT.
The (OC4J) version is 1.0.2.2.1.
I am not using JDeveloper.
The database is oracle 8i and i am using the thin driver.
The beans to be deployed are stateless session beans.
The client involved is a web client i.e a jsp application.
The first session bean is as follows.
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Vector;
import java.sql.Timestamp;
import java.rmi.RemoteException;
import java.util.Date;
import javax.ejb.*;
import javax.naming.*;
import initcontext;
import PrintMessage;
import JB_B2B_ERROR_PARSER;
* @stereotype SessionBean
* @homeInterface DB_UTILITYHome
* @remoteInterface DB_UTILITYRemote
public class DB_UTILITY implements SessionBean
private SessionContext context;
private ResultSet rs = null;
private Statement stmt = null;
private Connection con = null;
private PrintMessage print = null;
public DB_UTILITY()
rs = null;
stmt = null;
con = null;
print = new PrintMessage();
public Connection getConnection()throws RemoteException
InitialContext initctx = null;
Connection con = null;
try
initctx = initcontext.getContext();
javax.sql.DataSource ds =
(javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
con = ds.getConnection();
//(javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
catch(NamingException namingexception)
print.printUserMessage("DB_UTILITY", (new
Date()).toString(), "", namingexception);
throw new
EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("AppError",
"Epool-10001", "DB_UTILITY.getConnection"));
catch(SQLException sqlexception)
print.printUserMessage("DB_UTILITY", (new
Date()).toString(), "", sqlexception);
throw new
epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
JB_B2B_ERROR_PARSER.getSQLCode(sqlexception),
"DB_UTILITY.getConnection"));
catch(Exception exception)
print.printUserMessage("DB_UTILITY", (new
Date()).toString(), "", exception);
throw new
epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("EpoolError",
"Epool10005", "DB_UTILITY.getConnection"));
return con;
public String getDate()throws RemoteException
String Date=null;
try
con=getConnection();
stmt=con.createStatement();
rs=stmt.executeQuery("SELECT
TO_CHAR(SYSDATE,'YYYY-MM-DD HH:MI:SS') FROM DUAL");
while(rs.next())
Date=rs.getString(1);
stmt.close();
con.close();
catch(SQLException sqlexception)
print.printUserMessage("DB_UTILITY", (new
Date()).toString(), "", sqlexception);
throw new
EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
JB_B2B_ERROR_PARSER.getSQLCode(sqlexception), "DB_UTILITY.getDate"));
catch(Exception exception)
print.printUserMessage("DB_UTILITY", (new
Date()).toString(), "", exception);
throw new
EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("epoolError",
"Epool10005", "DB_UTILITY.getDate"));
finally
try
if(con != null && !con.isClosed())
con.close();
catch(Exception exception2)
stmt = null;
con = null;
return Date;
public void setSessionContext(SessionContext context)
this.context = context;
public void ejbActivate()
public void ejbPassivate()
public void ejbCreate()
public void ejbRemove()
Also the xml files are as follows.
web.xml
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems,
Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<!-- A friendly name for this web application, this name can be used in visual development environments, for instance -->
<display-name>AddressBook Web Application</display-name>
<!-- A human-readable description of this web application -->
<description>Web module that contains an HTML welcome page, and 4 JSP's.</description>
<!-- The file(s) to show when no file is specified, i.e. only the directory is specified. -->
<welcome-file-list>
<welcome-file>B2B_COUNTRY_CODE.jsp</welcome-file>
</welcome-file-list>
<ejb-ref>
<ejb-ref-name>SB_B2B_COUNTRY_CODEHome</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>SB_B2B_COUNTRY_CODEHome</home
<remote>SB_B2B_COUNTRY_CODERemote</remote>
</ejb-ref></web-app>
Application.xml
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
<application>
<display-name>Country Code</display-name>
<module>
<ejb>epool_CountryCode-ejb.jar</ejb>
</module>
<module>
<web>
<web-uri>epool_CountryCode-web.war</web-uri>
<context-root>/epool_CountryCode-web</context-root>
</web>
</module>
</application>
ejb-jar.xml:
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
<ejb-jar>
<description>epool_CountryCode</description>
<enterprise-beans>
<session>
<display-name>CountryCode Session
Bean</display-name>
<ejb-name>SB_B2B_COUNTRY_CODERemote</ejb-name>
<home>SB_B2B_COUNTRY_CODEHome</home>
<remote>SB_B2B_COUNTRY_CODERemote</remote>
<ejb-class>SB_B2B_COUNTRY_CODE</ejb-class>
<session-type>Stateless</session-type>
<ejb-ref>
<description>EJB Epool DButility</description>
<ejb-ref-name>DB_UTILITYRemote</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>DB_UTILITYHome</home>
<remote>DB_UTILITYRemote</remote>
</ejb-ref>
<ejb-ref>
<description>EJB Entity Bean</description>
<ejb-ref-name>EB_B2B_COUNTRY_CODERemote</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>EB_B2B_COUNTRY_CODEHome</home>
<remote>EB_B2B_COUNTRY_CODERemote</remote>
</ejb-ref>
</session>
<session>
<display-name>DbUtility Session Bean</display-name>
<ejb-name>DB_UTILITYRemote</ejb-name>
<home>DB_UTILITYHome</home>
<remote>DB_UTILITYRemote</remote>
<ejb-class>DB_UTILITY</ejb-class>
<session-type>Stateless</session-type>
</session>
<entity>
<ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
<home>EB_B2B_COUNTRY_CODEHome</home>
<remote>EB_B2B_COUNTRY_CODERemote</remote>
<ejb-class>EB_B2B_COUNTRY_CODE</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>EB_B2B_COUNTRY_CODEPK</prim-key-class>
<reentrant>False</reentrant>
<cmp-field>
<field-name>country_code_desc</field-name>
</cmp-field>
<cmp-field>
<field-name>phone_format_flag</field-name>
</cmp-field>
<cmp-field>
<field-name>country_code</field-name>
</cmp-field>
<cmp-field>
<field-name>active_date</field-name>
</cmp-field>
<cmp-field>
<field-name>date_created</field-name>
</cmp-field>
<cmp-field>
<field-name>active_flag</field-name>
</cmp-field>
<cmp-field>
<field-name>country_phone_code</field-name>
</cmp-field>
<cmp-field>
<field-name>country_tax_percent</field-name>
</cmp-field>
<cmp-field>
<field-name>sort_order</field-name>
</cmp-field>
<cmp-field>
<field-name>date_modified</field-name>
</cmp-field>
<cmp-field>
<field-name>user_created</field-name>
</cmp-field>
<cmp-field>
<field-name>user_modified</field-name>
</cmp-field>
<resource-ref>
<description></description>
<res-ref-name>jdbc/ePool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<security-role>
<description>Users</description>
<role-name>users</role-name>
</security-role>
</assembly-descriptor>
</ejb-jar>
The session bean which uses the above session bean is as follows.
import javax.ejb.SessionContext;
import javax.ejb.SessionBean;
import java.sql.*;
import javax.naming.Context;
import java.sql.Timestamp;
import java.util.Vector;
import initcontext;
import DB_UTILITYHome;
import DB_UTILITYRemote;
import EB_B2B_COUNTRY_CODEHome;
import EB_B2B_COUNTRY_CODERemote;
import EB_B2B_COUNTRY_CODEPK;
* @stereotype SessionBean
* @homeInterface SB_B2B_COUNTRY_CODEHome
* @remoteInterface SB_B2B_COUNTRY_CODERemote
public class SB_B2B_COUNTRY_CODE implements SessionBean
private SessionContext context;
* Sets the context of the bean
* @param context The Bean's Context
public Vector selectCountryCode(String query,String
countquery, String pagenos) throws Exception
Context ctx = initcontext.getContext();
Connection con=null;
Vector records=new Vector();
int pageno=Integer.parseInt(pagenos);
int min=(pageno-1)*10;
int max=pageno*10;
int counter=0;
boolean recordsfound=false;
try
DB_UTILITYHome home =
(DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
DB_UTILITYRemote remote =
(DB_UTILITYRemote)home.create();
con=remote.getConnection();
Statement stmt = con.createStatement();
ResultSet rscount =
stmt.executeQuery(countquery);
while(rscount.next())
int temp=rscount.getInt(1);
int pagecount=temp;
pagecount=pagecount/10;
if((temp%10)>0)
pagecount=pagecount+1;
records.addElement(""+pagecount);
ResultSet rs = stmt.executeQuery(query);
while(rs.next())
counter++;
if(counter>min && counter<=max)
String row[]=new String[8];
recordsfound=true;
row[0]=rs.getString(1);
row[1]=rs.getString(2);
row[2]=rs.getString(3);
row[3]=rs.getString(4);
row[4]=rs.getString(5);
row[5]=rs.getString(6);
row[6]=rs.getString(7);
row[7]=rs.getString(8);
records.addElement(row);
con.close();
catch(Exception e)
System.out.println("Error in selecting Country
Code "+e);
throw new Exception("Error in selecting Country
Code "+e);
return(records);
public void insertCountryCode(String country_code, String
country_code_desc, String country_phone_code, String
phone_format_flag,String active_flag, String sort_order,String
country_tax_percent)throws Exception
Context ctx = initcontext.getContext();
Double Sort_Order=null;
Double cntry_tax_prct=null;
if(sort_order!=null && sort_order.length()>0)
Sort_Order=new Double(sort_order);
if(country_tax_percent!=null &&
country_tax_percent.length()>0)
cntry_tax_prct=new Double(country_tax_percent);
String user_created=null;
Timestamp date_created=null;
Timestamp active_date=null;
String user_modified=null;
Timestamp date_modified=null;
try
DB_UTILITYHome dbhome =
(DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
DB_UTILITYRemote dbremote =
(DB_UTILITYRemote)dbhome.create();
user_created=dbremote.getUser();
date_created=Timestamp.valueOf(dbremote.getDate());
active_date=date_created;
EB_B2B_COUNTRY_CODEHome home =
(EB_B2B_COUNTRY_CODEHome)ctx.lookup("java:comp/env/EB_B2B_COUNTRY_CODER
emote");
EB_B2B_COUNTRY_CODERemote remote =
(EB_B2B_COUNTRY_CODERemote)home.create(country_code, country_code_desc,
country_phone_code,active_flag, phone_format_flag,user_created,
date_created, active_date, Sort_Order, user_modified,
date_modified,cntry_tax_prct);
catch(Exception e)
System.out.println("Error in Creating COUNTRY
Code "+e);
throw new Exception("Error in Creating COUNTRY
Code "+e);
public void setSessionContext(SessionContext context)
this.context = context;
public void ejbActivate()
public void ejbPassivate()
public void ejbCreate()
public void ejbRemove()
The jsp client which acces the beans is as follows.
<BODY >
<%@ page language="java" %>
<%@ page import="java.sql.*" %>
<%@ page import="initcontext" %>
<%@ page import = "java.util.*" %>
<%@ page import="DB_UTILITYHome"%>
<%@ page import="DB_UTILITYRemote"%>
<%@ page import="javax.naming.*"%>
<%Connection con=null; %>
<script src="search_getvalues.js">
</script>
<form name=frm1>
<%! int intCount,intI,intRowCount,intJ;
String strtname=new String();
String strhidden=new String("txthdn");
Statement st;
ResultSet rs;
ResultSetMetaData rmeta;
....%>
<%
try
Context ctx = initcontext.getContext();
DB_UTILITYHome dbhome =
(DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
DB_UTILITYRemote dbremote = (DB_UTILITYRemote)dbhome.create();
con=dbremote.getConnection();
st=con.createStatement();
rs=st.executeQuery(strsqlquery);
rmeta=rs.getMetaData();
intCount=rmeta.getColumnCount();
....... %>
</form>
</BODY>
</HTML>
The resulting exception generated is as follows:
D:\oc4j\j2ee\home>java -jar orion.jar
Auto-unpacking
D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
e.ear... done.
Auto-unpacking
D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
e\epool_CountryCode-web.war... done.
Auto-deploying epool_CountryCode (New server version detected)...
Auto-deploying epool_CountryCode-ejb.jar (No previous deployment
found)... done.
Error deploying
file:/D:/oc4j/j2ee/home/demo/messagelogger/messagelogger-ejb.jar homes:
No javax.jms.Destination found a
t the specified destination-location (jms/theTopic) for
MessageDrivenBean com.evermind.logger.MessageLogger
Oracle9iAS (1.0.2.2.1) Containers for J2EE initialized
Auto-deploying epool countryCode example (New server version
detected)...
************************1
************************2
COUNT QUERY :SELECT COUNT(COUNTRY_CODE) FROM BAP_COUNTRY_CODE
QUERY :SELECT
COUNTRY_CODE,COUNTRY_CODE_DESC,COUNTRY_PHONE_CODE,PHONE_FORMAT_FLAG,COU
NTRY_TAX_PERCENT ,SORT_ORDER,ACTIVE
FLAG,ACTIVEDATE FROM BAP_COUNTRY_CODE order by COUNTRY_CODE
Error in selecting Country Code java.rmi.RemoteException: Error
(de-)serializing object: com.evermind.sql.OrionCMTConnec
tion; nested exception is:
java.io.NotSerializableException:
com.evermind.sql.OrionCMTConnection
JB:Error in selecting country cd java.lang.Exception: Error in
selecting Country Code java.rmi.RemoteException: Error (d
e-)serializing object: com.evermind.sql.OrionCMTConnection; nested
exception is:
java.io.NotSerializableException:
com.evermind.sql.OrionCMTConnection
Error in Selecting Records
OrionCMTConnection not closed, check your code!
LogicalDriverManagerXAConnection not closed, check your code!
(Use -Djdbc.connection.debug=true to find out where the leaked
connection was created)
Auto-unpacking
D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
e.ear... Error unpacking: IO Error:
The system cannot find the path specified
Error updating application epool_CountryCode: Unable to find/read
assembly info for D:\oc4j\j2ee\home\applications\epool_C
ountryCode\build\epool_CountryCode (META-INF/application.xml)
But if the DBUTILITY session bean is changed to a simple bean and accessed the code works fine and i am able to retrieve the data.Is the problem there because u one session bean cannot access a database connection method from another one or could it be because of the driver???
I hope i am clear.Please revert back in case any more references are needed.
Thanks in advance!!!!!! -
Migrate data from orcle to oracle
Hi ,
A) Using oracle workbench tool can we migrate data from oracle 9i to oracle 10g ?
B) Is this tool used only for migrating data from non-oracle source to Oracle db ?
regards
thiruDear Barry
Thanks for the valuable information provided, it had answered few of my doubts.
i am much thankful to you if you can help me in this regards.
Does Oracle own any GUI based tool similar to Microsoft-DTS to Extract & transform data from one Oracle DB to other Oracle DB ?
The source DB (oracle 9i) is not properly normalized , the data from source is moved to a Normalized 10g DB with new attributes(based on new requirements) added to these tables . Some tables from source are splitted into 2 or more in target (oracle 10g) database. I have scenarios like
My text below quotes "SOURCE" AS UNNORMALIZED DB & "TARGET" as new DB which is NORMALIZED.I need to migrate data from SOURCE to TARGET
1) A single row in SOURCE be migrated to multiple rows across one or more
tables in TARGET.
2) A multiple rows in single column in SOURCE be migrated to single row and
multiple columns in TARGET.
For the above mentioned scenario sql*loader /external table/export & import or transportable tablespaces can be used as mentioned by you. but considering the ease of use and the complexity is there any GUI tool which oracle has for data migration from oracle db to oracle db.
your advice will be much help to me.
Thanks
Thirumaran -
Hello,
We have a requirement to migrate an Informix (character based) application to a web based system (to Oracle Forms or Java/J2EE).
My question is, there any tool to do that kind of migration?
Thanks in advance,
Arun.Hi there,
I faced the same problem a couple of weeks ago. First issue was that the Migration Workbench did not suport the Informix version I was using (7.23).
The migration path I took was the one you mentioned in your question (informix db export, oracle sql loader). However, it was quite tricky.
First of all, you need to export the informix database into text files:
$ dbexport CA1 -q -o /tmp
CA1 is the informix database to be exported. This results in a CA1.sql file which stores the informix schema and a couple of .unl flat files (one for each table)
If you have any more question, feel free to contact me...
Cheers, Stefan -
Migration Issue from 11.1.1.4 to 11.1.2.
Hi All,
We developed our app using JDev 11.1.1.4 and now we have migrated our code to 11.1.2. Now we are facing the following issue.
We are showing some information messages using FacesContext.addMessage(), as shown below:
FacesContext fctx = FacesContext.getCurrentInstance();
FacesMessage message = new FacesMessage("For the current selection criteria, the estimated row count is " + estRowCount + ". We recommend to export data to excel for row count greater that 150.");
fctx.addMessage(null, message);
Earlier, the popup used to be just big enough to show the message content.
Now in 11.1.2, the popup is coming up bigger in size, and we dont want it.
Is there any configuration where we can control its size and variations?
Thanks,
Lalit.I am seeing some changes in popup behavior in 11.1.2 from earlier release.
Earlier, in 11.1.1.4, when we use showpopupbehavior to render popups, we set the Resize property to ON for panelWindow tag dropped on popup, as earlier they were not stretched based on the content.
Now, the popups are stretched automatically based on the contents rendered in them so we reset the resize property on OFF for panelWindow tags. Otherwise, scrollbars appear in popups where Resize is on and content is more than default popup size. This is first change I observed and after setting Resize to off, we are ok.
However, second issue is more serious where when we are rendering information popups programatically by adding messages to facesContext. The popup size in this case has increased by default.
Earlier they used to come just big enough to render the content.
Now, by default their size is bigger and fixed, and I don't know how to configure its size. -
Migrate datas from RDB to Oracle 10g
The applications that use the RDB database are being re-write with Forms based on an Oracle database.
Of course, before we use the new application, we will have a step for moving datas from old tables in Rdb to the new tables (new design) in Oracle (developpers are working on sql scripts for that). But when the new applications with Oracle db will be in production, I would like to save datas (datas as datas) from Rdb in an Oracle database with the same struture as the rdb structure (same tabels, with same columns and same datas in). The idea is we will be able to verify datas through SQL.
Do you have any idea ?
Thank you
AnneMarHi AnneMar,
there exists a Metalink note that serves as a starter for such a migration:
Note 135929.1: RDBPROD: Advice on Converting from Oracle Rdb to Oracle RDBMS
For your convenience I am pasting that note here.
Regards
Wolfgang
PURPOSE
To provide general advice on migrating from Oracle Rdb to Oracle RDBMS
SCOPE & APPLICATION
This advice is intended for people who have already decided to convert, and are starting to plan how to do it. It provides a broad outline of how it can be done and some of the things to consider.
Advice on Converting from Oracle Rdb to Oracle RDBMS
General notes
* The longer you leave it the easier it is likely to be. The SQL interfaces to Rdb are growing closer to those for RDBMS, particularly OCI Services for Rdb.
* Converting the database will probably be the easy part. The applications are likely to require more work.
* A staged approach is more likely to be successful than trying to do everything in one go.
A possible strategy for converting
1. Install OCI Services for Rdb. Pick a small application, or one that needs rewriting anyway. Convert the application using the method and tools of your choice to access the Rdb database via SQL*Net for Rdb. If unsatisfied with the results, you can repeat this with alternative methods or tools, until you find one that works for you.
2. Install RDBMS. For those tables used by applications converted to use OCI Services, create database links. Point the converted application to the RDBMS database instead of the Rdb one. This step can be done whilst other applications are being converted. No data is yet stored in the RDBMS database, so any problems that arise with it, possibly due to lack of appropriate DBA experience, can be worked around by just pointing the programs back at the Rdb database.
3. Now you have a choice.
1. Gradually move the data into the RDBMS database. First new tables, then tables only accessed by applications that have already been converted. This has the advantage of taking one step at a time, so it would be easy to back up temporarily if a problem is found. The main disadvantage is that now that the data is spread over two databases your backup and recovery strategy will be more complicated.
2. Finish converting the applications. Then transfer all the data over in one go. If there is a lot of data, then going back would be a big job, so there is more risk.
Alternative common interfaces
Besides OCI Services there are several other APIs that applications could use to access Rdb or RDBMS transparently.
* JDBC - If your applications are written in JAVA or you want to rewrite them in JAVA
* ODBC - If your applications run on Windows
* .NET - If your applications run on Windows
Techniques for converting a database
* Transferring Metadata Extract the metadata using RMU/EXTRACT. Cut down and edit the output to produce a script to use to create the corresponding RDBMS objects.
* Transferring data
For small tables,
INSERT INTO rdbms_table SELECT columns FROM rdb_table;
(using dblinks to the rdb database and SQL*Net for Rdb)
For large tables, use RMU/UNLOAD to create a delimited file and then load that into RDBMS using SQL$Loader.
* Keeping data current in RDBMS while testing the transfer can be done using the Logminer Option in Rdb.
Notes
1. OCI Services for Rdb was formerly known as SQL*Net for Rdb and is part of Oracle SQL/Services. Though this is structured as a separate product from Oracle Rdb no additional license is needed.
2. Some limits are different between Rdb and RDBMS.
For example: in Rdb table and column names can be 31 bytes but RDBMS only allows 30.
3. The RMU/EXTRACT command can write the SQL definitions of objects within a Rdb database to a text file.
RELATED DOCUMENTS
SQL*Net for Rdb
Oracle Rdb Guide to SQL*Net for Rdb
Oracle Rdb Oracle SQL/Services Release Notes
Oracle Rdb A Comparison of SQL Dialects for Oracle and Oracle Rdb
RMU/EXTRACT and /UNLOAD
Oracle RMU Reference Manual
SQL*Loader
Oracle8 Server Utilities -
Migration issues: from BOXIR2 - BOXI3.1
Hi,
We are migrating BOXIR2 - BOXI3.1.
after migration, i involved in testing and comparing results with older version.
But some of the reports are continously giving different kind of error.
for eg:
1) one time refreshing the report but giving no data to fetch but the same report is having data.
2) some time not refreshing and giving : Error on excute (WIS 10901)
3) to debug, i tried creating the same reports by adding objects one by one - this time report is refreshing but the results are mismatching.
we have remigrated the universe and reports, recreated the ODBC connections, restarted the servers, services, reinstalled the Oracle client but nothing worked out.
Please guide/suggest me to resolve the problem.issue resolved
Maybe you are looking for
-
Attempting to copy to the disk "mike's ipod" failed. the disk could not be read from or written to. thats what the screen says everytime i plug in my ipod to update. what should i do?
-
Hello My videos are encoded with a resolution of 640x480, but the aspect ratio must be 16:9, so I need to scale my videos to 848x480. This is my code: var ratioCorrection:LayoutMetadata = new LayoutMetadata(); ratioCorrection.width = 848; ratioCorrec
-
Lately I have been noticing that my macbook has been starting much slower, and I still have 50gb out of 80gb free and I'm wondering what can be done?
-
E71 - No firmware updates for product code 0569116...
I'v had an E71 for three months already. In this time two firmware updates have been released for the E71 (in general) but not for my specific product code. It cannot be a regional thing as other E71's in same region as me have gotten the most recent
-
hi, We've a requirement to set reason for rejection by defualt in all sales order type zor / zex (exports) etc Pl let me how this can be achieved