I have one query. We are migrating from Oracle 10g to Oracle 11g. In java code we have used jdbc:oracle:oci8:#XYZ for oracle 10g.
But after 11g upgrade, we kept the above code as is. Now i am "NOT" facing any issue while connecting to DB during the QA testing. Its working perfectly fine. We are using JDK 1.5.
My query is do i need to change the string to jdbc:oracle:oci:#XYZ
for 11g ? or existing will work (backward compatibility). Will this cause any problem in future.
Also, what are other things that needs to be taken care from JAVA perspective while migrating to 11g from 10g.
Kindly Advice.
Thanking you.
Gaurav Kalal.
The connect string does not need to change if the service has the same name.
Related
we have ORACLE database in charset WIN1250 (EE8MSWIN1250). Until ORACLE version 12.1 was everything Ok. But now we have installed ORACLE 12.2 and same data which are read from database contains invalid characters. For example, i show screenshot from DBeaver (It is something like SQLDeveloper - but it universal and for connection to ORACLE have used same THIN driver as we) Firs two pictures are from ORACLE 12.1 (settings and data from table with CLOB field) and second two pictures are from ORACLE 12.2 (settings and same data)
Does anybody know what difference is between 12.1 and 12.2 version? I have read many documents on ORACLE website but no result.
ORACLE 12.1 SETTINGS
Data from ORACLE 12.1 - correct characters
ORACLE 12.2 SETTINGS
Data from ORACLE 12.2 - contains invalid characters
It is issue in ORACLE 12cR2. It is necessary to apply patch number 27002286.
For my case it was "Patch 27002286: WINDOWS DB BUNDLE PATCH 12.2.0.1.171130"
It will solve the problem.
Quite an older thread, but I think that we do have a similar problem ...
While (finally) upgrading from Oracle 11 to Oracle 12 we experience the same problems as described above.
Our Java-based application did well connecting to the Oracle 11 DB but with Oracle 12 some characters (especially in German e.g. ä,ü,ö) are corrupt when stored in CLOB fields.
Browsing the internet I haven't found anything that addresses this problem directly.
Do other people have or had the same problems and what is/was your solution?
I had the same problem and solved it by applying Patch 26380097 for Oracle DB 12.2.0.1 on Linux x86_64.
This is documented in Oracle Doc ID 2377078.
I read from the enterprise db website that only the Postgres standard server and advanced server support Npgsql.
But am not sure if
1. Npgsql will not work with community version at all ?? or
2. It is just that it is not packaged along with community version,but I can use npgsql to connect and work with postgresql from .Net
Can someone help me understand?
I read from the enterprise db website that only the Postgres standard
server and advanced server support Npgsql.
EnterpriseDB is not the same as PostgreSQL. PostgreSQL is PostgreSQL, it's not a "community version" from EnterpriseDB. EnterpriseDB Server is a fork of PostgreSQL, not the other way around.
And yes, Npgsql does work with PostgreSQL, it was created for PostgreSQL:
Npgsql is a .Net Data Provider for Postgresql. It allows any program
developed for .Net framework to access database server. It is
implemented in 100% C# code. Works with Postgresql 7.x and above.
I am using Oracle Database 10g Express Edition on windows.
I want to install two database instance on one system. Both the instance will have similar db structure but are of different version and at one time I'll be using only one instance.
Can anybody help me how can I achive this?
Thanks!
It is not possible to install multiple instances on Express Edition.
http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BEIEJGGF
I have Oracle 10g xe installed but i also need to install Oracle Database lite in it. Is there a problem or a conflict?
thanks
As long as the port numbers are different no.
I have installed Oracle 10g and now want to install 11g also...How can I do it?.. I know that ORACLE_HOME environment variable need to be configured for each "oracle"..
Can you describe me steps how to do this?
Thank you very much in previous.
Thank you It helped me so much...
The most important is that I should have chosen %ORACLE_HOME% like %ORACLE_BASE%...
Just %ORACLE_BASE% should be the same...And it works.
There's ususally not a lot of reasons why Oracle databases of different versions cannot run on the same machine, be it Windows or Linux/Unix. Reasons can be if you run Clustering software, which may not be of a lower version than any database version involved. Similar with Oracle Grid or Cloud. Other than that, I can't really think of reasons, but there may be excpetions, linked to specific OS. Usage of ORACLE_HOME's is how Oracle manages different databases and versions. The Oracle Homes should be different for each database, the Oracle Base should be the same, the central inventory must be shared, and the ownership (of Oracle Homes) may be shared or separated. Sharing Oracle Home is an option for advanced users only.