How to support Globalization in Oracle 8i?
I need to display chinese characters
In Reg Edit :
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEID\NLS_LANG
Value name :NLS_LANG
Value data :NA
What value to set for display chinese characters?
Regards
See the NLS document per link given above.
Note that the charset part of NLS_LANG setting (language_territory.charset), should match (i.e. let Oracle know) the character set used in the client (the source; application, data file or OS locale environment).
Please use the Globalization Support, for further discussion.
Message was edited by:
orafad
Similar Messages
-
How get support from oracle for reports6i
how get support from oracle for reports6i
If you have support contract with Oracle, you can use this site:
http://www.metalink.oracle.com
or for more information
http://www.oracle.com/support/premier/global-support-resolution/metalink.html -
How to find characterSet of Oracle Application Server
How can I find out the character set that was installed when Oracle Application Server was installed?
- Refer to the OAS Globalization Support Document.
Oracle® Application Server Globalization Support Guide
10g Release 2 (10.1.2)
B14004-02
- Read with care these sections:
6.1 Installing Oracle Application Server for Global Deployment
- Also note that
"The NLS_LANG parameter controls the locale of the runtime environment on which OPMN runs. It should correspond to the default locale of the middle-tier runtime environment, which is the default locale of the operating system. The same NLS_LANG parameter is inherited by the OPMN managed processes, such as Oracle HTTP Server and OC4J, unless it is explicitly specified with a different value in opmn.xml.
For Microsoft Windows platforms, the pre-configured NLS_LANG is automatically registered in the Win32 registry as the NLS_LANG registry key at \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEn. The NLS_LANG value in this registry key controls the locale of the runtime environment on which OPMN and its managed processes run. "
- Also note that the NLS_LANG parameter values will have different requirements for a monolingual and multilingual application architectures.
- to find the character set of infrastructure db or metadata repository, you may use the db method to find the character set installed.
SELECT * FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET'
hope that helps!
AMN -
How can i invoke an Oracle Report w/in a Java application?
I have a custom java application that I would like to integrate with a report tool. I am reviewing Oracle Reports but I was not sure how I would integrate an Oracle Report.
I have read that I can use Active-X but. Has anyone ever done this? Also - is there any support for a java bean?
I am also wondering how I could pass in report parameters.
It is my understanding that Oracle will generate either pdf or html output which could be viewed through the browser or adobe acrobat reader.
Is this correct?
Please advise.
Thanks in advance.Bonnie,
I create a URL that calls Oracle Reports Server running under IAS, using PDF or html as the output. The Java code calls up the commandline and starts the default browser with the specified URL, which then talks to Oracle Reports Server... and voila... the report shows up in your browser!
have fun...
void execURL ( String pURL )
System.out.println(pURL);
if (System.getProperty("os.name").equals("Windows NT") )
try
Runtime.getRuntime().exec("cmd /c start "+pURL);
catch (Exception e1) {System.out.println(e1.getMessage()); }
else
try
Runtime.getRuntime().exec("start "+pURL);
catch (Exception e2) {System.out.println(e2.getMessage());}
null -
How to install AIA in Oracle SOA Suite 11.1.1.5.0
Hi,
I have installed Oracle SOA Suite 11.1.1.5.0. It works fine . Now I want to install AIA Foundation Pack on this . How to do that ? Which AIA version I need to download ? and what are the steps that I have to follow to make AIA works on it .
ThanksAs per the certification matrix at http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html --> Oracle Fusion Middleware 11g Release 1 (11.1.1.x) -->System Requirements and Supported Platforms for Oracle Fusion Middleware 11gR1 --> Download the xls file --> On sheet FMW on WLS - System you should be able to see AIA FP and SOA certified combinations.
To download the installer goto - http://www.oracle.com/technetwork/middleware/foundation-pack/downloads/index.html --> Release 11gR1 (11.1.1.5.0) --> Select the platform and expand Prerequisites & Recommended Install Process.
You should be able to gather all the required information from here.
Hope it helps! -
Pagination support for non-Oracle databases?
Hi,
I just read this thread (Pagination Support on pagination support. Is there any way to get pagination with non-Oracle databases? We are using an IBM iSeries / AS/400 DB2 database right now, and we're planning to use some local lightweight database in the near future as well (probably Cloudscape/Derby or "IBM Everyplace database".)
We currently use code like this:
String sql = "SELECT art FROM Artikel art" +
/* dynamically generated where statement is added here */
+ "ORDER BY art.artikelNummer";
Query q = em.createQuery(sql);
q.setFirstResult(firstResult);
q.setMaxResults(maxResults);If I look in the TopLink logs, I see queries like this:
SELECT ARTNR, ARALT, ARAFJ, ARXII, ARAVJ, ARXIV, ARANJ, AHGCD, ARNVJ, ARCRJ, ARARK, ARFKJ, ARTNK, ARGP1, ASGCD, ARGP2, ARPR1, ARGP3, ARPR2, AREX1, ARPR3, AREX2, ARPR4, AREX3, ARASA, ARINA, ASSCD, ARIA1, ARBAN, ARIN1, ARBAV, ARIA2, ARBAK, ARIN2, ARCES, ARIA3, ARCDT, ARIN3, ARCRE, ARIA4, ARCWK, ARIN4, ARHBH, ARIA5, ARDFA, ARIN5, ARDFG, ARIA6, ARDOS, ARIN6, AREPW, ARINN, ARFOD, ARIAS, ARFOE, ARINS, ARFOF, ARNAB, ARFOI, ARNIB, ARFON, ARNIA, ARFOS, ARNN1, ARFTA, ARNA2, ARVIV, ARNO2, ARGAP, ARNN3, ARGPT, ARNA4, ARGPD, ARNO4, ARGPA, ARNN5, ARGPO, ARNA6, ARHIS, ARNN6, ARISP, ARNIO, ARKHM, ARNNS, MAGCD, AROVJ, MTGCD, ARPL1, ARMXM, ARPL2, MRKCD, ARPL3, ARMVR, ARVKJ, ARMIM, ARV12, ARMDT, ARVVJ, ARMTE, AR#VR, ARMTU, ARZLS, ARMTM, ARIAT, ARMWK, ARAVS, MPCCD, ARNVS, ARBTW, ARFJS, ARXI2, ARG2S, ARXI3, ARE1S, ARXI4, ARE3S, ARXI6, ARIB1, ARXI1, ARIB2, ARXI5, ARIB3, AROPI, ARIB4, ARPRV, ARIB5, SZGCD, ARIB6, ARSPC, ARINO, ARSMF, ARIOS, VEAAN, ARNIS, ARSYN, ARNO1, ARVR1, ARNA3, ARV1S, ARNN4, ARVR2, ARNO5, ARV2S, ARNIN, ARVR3, ARNOS, ARV3S, ARP1S, ARTFA, ARP3S, ARTFG, ARS12, ARUVC, ARZLD, ARUCW, ARAJS, ARBKV, ARCJS, ARVVI, ARG3S, ARVVP, ARINB, VPOCD, ARIO2, VPECD, ARIO4, ARVIH, ARIO6, ARVHG, ARNBS, ARVRW, ARNN2, ARVPR, ARNA5, ARVVR, ARNAS, ARVVS, ARP2S, ARVV1, ARSVV, ARZK1, ARNJS, ARNA1, ARNO3, ARIO1, ARNO6, ARIO5, AROJS, ARE2S, ARVJS, ARIBS, ARIAD, ARIO3, ARG1S FROM ART WHERE ((((ARUVC = 'N') AND (ARHIS = 'N')) AND (ASGCD = 7)) AND (AHGCD = 15)) ORDER BY ARTNR ASC
(Yeah, I know we have too much columns in the table...)
So, no pagination in the query. As you can see, we have a mechanism in place to dynamically generate a where clause. This is because the user can set filters. The problem is, if our user sets a filter that causes the result set to be significantly smaller, the performance is way better than when he sets no filter at all. We suppose this is because the whole result set is sent to TopLink, regardless of the values of firstResult and maxResults.
We are using TopLink Essentials 2.1-10, by the way.
Message was edited by:
Bart KummelHi all,
I'm trying to subclass <tt>DatabasePlatform</tt> to add pagination support for the AS/400 DB2 database of my customer. To be fair, it is not going very well so far.
The first problem is, the query Chris found by googling (Re: Pagination support for non-Oracle databases?), does not work for AS/400s version of DB2. In fact, although it is called "DB2", the database on the AS/400 system is a whole other database than the "normal" DB2 database that runs on Windows and *nix. The AS/400 DB2 simply does not have a "ROW_NEXT" function.
Another option would be to use the <b>row_number() over()</b> mehtod. But, as can be read here, this function is only available from version V5R4 of OS/400. And guess what? We're stuck on V5R3 at this client. (We cannot upgrade, because there's an application in use that's written in Delphi and IBM dropped the Delphi binding from V5R4...)
So I pretty much ran out of options. On the mailing list I linked to above, someone mentions the option to make a sort of stored procedure that generates a row count number. An example of how to do this can be found here. I implemented it, and ended up with this code:
package com.myclientsname.persistence;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.eclipse.persistence.expressions.ExpressionBuilder;
import org.eclipse.persistence.internal.databaseaccess.DatabaseCall;
import org.eclipse.persistence.internal.expressions.ExpressionSQLPrinter;
import org.eclipse.persistence.internal.expressions.SQLSelectStatement;
import org.eclipse.persistence.internal.sessions.AbstractSession;
import org.eclipse.persistence.logging.SessionLog;
import org.eclipse.persistence.platform.database.DatabasePlatform;
import org.eclipse.persistence.sessions.SessionProfiler;
public class AS400Platform extends DatabasePlatform {
private static final long serialVersionUID = 0L;
public AS400Platform(){
super();
super.setShouldBindAllParameters(false);
public void printSQLSelectStatement(DatabaseCall call, ExpressionSQLPrinter printer, SQLSelectStatement statement) {
int max = 0;
int firstRow = 0;
if (statement.getQuery()!=null){
max = statement.getQuery().getMaxRows();
firstRow = statement.getQuery().getFirstResult();
if ( !(max>0) && !(firstRow>0) ){
super.printSQLSelectStatement(call, printer,statement);
return;
} else {
statement.setUseUniqueFieldAliases(true);
ExpressionBuilder builder = new ExpressionBuilder();
statement.addField(builder.getField("COUNTER() AS CNTR"));
printer.printString("SELECT * FROM (");
call.setFields(statement.printSQL(printer));
printer.printString(") AS R WHERE R.CNTR >= ");
printer.printParameter(DatabaseCall.FIRSTRESULT_FIELD);
if ( max > 0 ){
// Use of binding parameters is not allowed here, so use
// String concatenation instead...
printer.printString(" FETCH FIRST " + max + " ROWS ONLY");
call.setIgnoreFirstRowMaxResultsSettings(true);
public boolean wasFailureCommunicationBased(SQLException exception, Connection connection, AbstractSession sessionForProfile){
if (connection == null || this.pingSQL == null){
//Without a connection we are unable to determine what caused the error so return false.
//The only case where connection will be null should be External Connection Pooling so
//returning false is ok as there is no connection management requirement
//If there is no ping sql then we can not perform the ping.
return false;
PreparedStatement statement = null;
try{
sessionForProfile.startOperationProfile(SessionProfiler.ConnectionPing);
if (sessionForProfile.shouldLog(SessionLog.FINE, SessionLog.SQL)) {// Avoid printing if no logging required.
sessionForProfile.log(SessionLog.FINE, SessionLog.SQL, getPingSQL(), (Object[])null, null, false);
statement = connection.prepareStatement(getPingSQL());
ResultSet result = statement.executeQuery();
result.close();
statement.close();
}catch (SQLException ex){
try{
// Had to add this check because of NullPointerExceptions
// (maybe a bug?)
if(statement != null){
//try to close statement again in case the query or result.close() caused an exception.
statement.close();
} catch (SQLException exception2) {
//ignore;
return true;
}finally{
sessionForProfile.endOperationProfile(SessionProfiler.ConnectionPing);
return false;
}(As you can see, I had to override the <tt>wasFailureCommunicationBased()</tt> method as well, due to some unexpected NPE's. (A bug, perhaps?))
This code does work. However, the performance is not very well. The first page comes relatively fast, but as you browse further in the table, each page comes slower. I assume this is because the counter() method has to be evaluated for each row in the table.
I have to get the performance better and constant. Does anyone have an idea how to optimize this further?
Best regards,
Bart Kummel -
How to Disable SSLv2 in Oracle IAS 10.1.3
How to disable SSLV2 in Oracle IAS 10.1.3.. I added below in ssl.conf file.. But it is not working...
SSLProtocol -ALL SSLv3 TLSv1
SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM
Thanks
LalithaHow can you have WebCache if you are using 10.1.3 version?
The cause of this problem has been identified and verified in an unpublished Bug 4761833 : "IE FAILS TO TO CONNECT TO WEBCACHE VIA SSL IF SSLV2.0 IS NOT SELECTED".
By default Webcache sets its SSL_ENABLED parameter in webcache.xml to: SSLV3_V2H
This supports only SSL V2.0 and SSLV3.0 and not TLSV1.0
When IE makes a connection with: SSL V2.0, SSLV3.0, TLSV1.0 all checked, an Ethereal sniff shows:
SSLV2 Client Hello
SSLV3 Server Hello
When IE makes a connection with: SSLV3.0, TLSV1.0 checked, SSL v2.0 unchecked, an Ethereal sniff shows:
TLSV1 Client Hello
SSLV3 Alert (Level: Fatal, Description: Unexpected Message)
When Firefox makes a connection with SSLV3.0, TLSV1.0 checked, SSL v2.0 unchecked an Ethereal
sniff shows:
SSLV2 Client Hello
SSLV3 Server Hello
So even though SSLV2.0 is unchecked it still makes the initial Client Hello via SSLV2.0 hence why Mozilla works
The reason why IE fails when SSLV2.0 is unchecked is because IE always uses what it considers to be the best Protocol and picks TLSV1.0, and as the default SSL_ENABLED parameter in Webcache does not support TLS V1.0, then it fails.
Solution
To implement the solution, execute the following steps:
1. Edit the $ORACLE_HOME/webcache/webcache.xml
For the SSL Listen entry e.g:
<LISTEN IPADDR="ANY" PORT="443" SSLENABLED="SSLV3_V2H" PORTTYPE="NORM">
Change:
"SSLV3_V2H"
to
"SSL"
2. Save the file and restart webcache, and then test you can access Webcache via SSL with SSLV2.0 unchecked
Hope this helps
Regards. -
How to copy customer in oracle applications in R12
how to copy customer in oracle applications in R12
When I copy (as in original example) 4 cells in Excel, the exact 4 cells paste correctly in another Excel, but on my web it post the 4 cells and then clear the cell below it. So the same data in the clipbord paste correctly into Excel, but incorrectly in the web.
When I copy (as in original example) 4 cells from the web, the exact 4 cells paste correctly into Excel, and it then post correctly on my web solution.
So, in summary this is what I find:
- Copy from web and paste to Excel = no problem
- Copy from web and paste to web = no problem
- Copy from Excel and paste to Excel = no problem
- Copy from Excel and paste to web = problem (first cell below pasted data get cleared)
We have a SAP NetWeaver BI 7.0 system, I use Bex (WAD) Support pack 7 with Patch 1 and I have Internet Explorer (version 8) - on IE the compatibility view does not make any differance. Users with IE 7 experiance the same issue. -
Hi,
i am trying to execute an Oracle procedure from JDBC. The procedure accepts a Nested table as an input parameter. Definition of the nested table is given below.
Database – Oracle 10g.
Application Server – JBOSS 4.2.1
I get the following exception._
java.sql.SQLException: Non supported character set: oracle-character-set-178
at oracle.gss.util.NLSError.throwSQLException(NLSError.java:46)
I. JDBC Code_
Session s = HibernateUtil.getSession();
Transaction tr = s.beginTransaction();
con=s.connection();
oraConn = (OracleConnection) con.getMetaData().getConnection();
TableObject obj=new TableObject();
obj.setId(new Integer(123));//Tested ok, stroing in DB
obj.setDescr("test"); // this line throwing error
obj.setCre_user(new Integer(456));
obj.setUpd_user(new Integer(789));
obj.setXfr_flag("Y");
ArrayList al=new ArrayList();
al.add(obj);
Object[] objAray = al.toArray();
ArrayDescriptor arrayDescriptor =ArrayDescriptor.createDescriptor("T_TEST_SYN", oraConn);
ARRAY oracleArray = new ARRAY(arrayDescriptor, oraConn, objAray);
cs = (OracleCallableStatement)oraConn.prepareCall("call PKG_OBJ_TEST.accept_ui_input(?) ");
cs.setArray(1, oracleArray);
cs.execute();
tr.commit();
public class TableObject implements SQLData{
private String sql_type = "T_OBJ_TEST";
private int id;
private String descr;
//private Date cre_date;
private int cre_user;
//private Date upd_date;
private int upd_user;
private String xfr_flag;
public TableObject()
public TableObject (int id,String descr,int cre_user,int upd_user,String xfr_flag)
// this.sql_type = sql_type;
this.id = id;
this.descr = descr;
// this.cre_date=cre_date;
this.cre_user=cre_user;
//this.upd_date=upd_date;
this.upd_user=upd_user;
this.xfr_flag=xfr_flag;
public String getSQLTypeName() throws SQLException {
return "T_OBJ_TEST";
public void readSQL(SQLInput stream, String typeName) throws SQLException {
//sql_type = typeName;
id=stream.readInt();
descr=stream.readString();
//cre_date=stream.readDate();
cre_user=stream.readInt();
//upd_date=stream.readDate();
upd_user=stream.readInt();
xfr_flag=stream.readString();
public void writeSQL(SQLOutput stream) throws SQLException {
try {
stream.writeInt(this.id);
System.out.println("Iddddd");
stream.writeString(this.descr);
System.out.println("Desccccccccccccccc"+":"+descr);
//stream.writeDate(cre_date);
stream.writeInt(this.cre_user);
System.out.println("userrrrrrrrrrrr");
//stream.writeDate(upd_date);
stream.writeInt(this.upd_user);
System.out.println("upd uiserrrrrrrrrrr");
stream.writeString(this.xfr_flag);
System.out.println("flagggggggggggggggggggg"+xfr_flag);
}catch (SQLException se) {
System.out.println("Table object sql exception");
se.printStackTrace();
catch (Exception e) {
System.out.println("Table object exception");
* @return the id
public int getId() {
return id;
* @param id the id to set
public void setId(Object obj) {
Integer iobj= (Integer)obj;
this.id =iobj.intValue();
* @return the descr
public String getDescr() {
System.out.println("getDescr "+descr);
return descr;
* @param descr the descr to set
public void setDescr(Object obj) {
System.out.println("setDescr "+obj);
String sobj = (String)obj;
this.descr=sobj.toString();
System.out.println("setDescr "+obj);
* @return the cre_user
public int getCre_user() {
return cre_user;
* @param cre_user the cre_user to set
public void setCre_user(Object obj) {
Integer iobj=(Integer)obj;
this.cre_user = iobj.intValue();
* @return the upd_user
public int getUpd_user() {
return upd_user;
* @param upd_user the upd_user to set
public void setUpd_user(Object obj) {
Integer iobj=(Integer)obj;
this.upd_user = iobj.intValue();
* @return the xfr_flag
public String getXfr_flag() {
return xfr_flag;
* @param xfr_flag the xfr_flag to set
public void setXfr_flag(Object obj) {
this.xfr_flag = (String)xfr_flag;
II. Oracle database object details
Details of Object and Nested table created in the database.
T_TEST_SYN is a public synonym created for t_tab_obj_test
CREATE OR REPLACE TYPE t_obj_test as object (
id number(10),
descr varchar2(100),
--cre_date date,
cre_user number(10),
--upd_date date,
upd_user number(10),
xfr_flag varchar2(1),
CONSTRUCTOR FUNCTION t_obj_test ( id IN NUMBER DEFAULT NULL,
descr IN varchar2 default null,
--cre_date in date default null,
cre_user in number default null,
--upd_date in date default null,
upd_user in number default null,
xfr_flag in varchar2 default null ) RETURN SELF AS RESULT ) ;
CREATE OR REPLACE TYPE BODY t_obj_test as
CONSTRUCTOR FUNCTION t_obj_test ( id IN NUMBER DEFAULT NULL,
descr IN varchar2 default null,
--cre_date in date default null,
cre_user in number default null,
--upd_date in date default null,
upd_user in number default null,
xfr_flag in varchar2 default null ) RETURN SELF AS RESULT IS
BEGIN
SELF.id := id ;
SELF.descr := descr ;
--SELF.cre_date := cre_date ;
SELF.cre_user := cre_user ;
--SELF.upd_date := cre_date ;
SELF.upd_user := cre_user ;
SELF.xfr_flag := xfr_flag ;
RETURN ;
END ;
END ;
CREATE OR REPLACE TYPE t_tab_obj_test AS TABLE OF t_obj_test ;
CREATE OR REPLACE PACKAGE BODY PKG_OBJ_TEST AS
PROCEDURE accept_ui_input ( p_tab_obj_test in T_TAB_OBJ_TEST ) IS
BEGIN
FOR row IN p_tab_obj_test.First .. p_tab_obj_test.LAST
LOOP
INSERT INTO OBJ_TEST ( ID,
DESCR,
CRE_DATE,
CRE_USER,
UPD_DATE,
UPD_USER,
XFR_FLAG )
VALUES ( p_tab_obj_test(row).ID,
p_tab_obj_test(row).DESCR,
NULL,
p_tab_obj_test(row).CRE_USER,
NULL,
p_tab_obj_test(row).UPD_USER,
p_tab_obj_test(row).XFR_FLAG ) ;
END LOOP ;
COMMIT ;
END accept_ui_input ;
END PKG_OBJ_TEST;
/Check your CLASSPATH enviroment variable. Try to add something like c:\Ora10g\jlib\orai18n.jar.
From "JDBC Developers Guide and Reference":
orai18n.jar
Contains classes for globalization and multibyte character sets support
This solved the same error in my case. -
Non supported character set: oracle-character-set-171' in java XSU
I cannt update object type CHAR data in table cause Non
supported character set: oracle-character-set-171'
NLS lang UTF-8
database language WIN-1251I think it is a bug at JDBC-OCI Driver.
Now I am useing setPlsqlIndexTable to transfer
a var to PLSQL procedure, and want to
retrieve it from out parameter.
When I transfer English characters, it can
work correctly, but if I transfer Japnese or
Chinese characters, the disorderly characters
were returned. I have not resolved this problem
yet. Who can tell me how to resolve it. -
How to make connection to ORACLE 7.1.6
Hi,
May I have suggestions on how to make connection to ORACLE 7.1.6 on UNIX box?
Thank you very much for help!
JaneOracle 7.1.6 hasn't been supported by Oracle in many years. I don't believe that any Oracle product is currently certified to connect to a 7.1.6 database.
You really need to consider upgrading your database. At least if you went to the 7.3.4 patchset, you'd have a fighting chance. This was the terminal Oracle7 patchset, so most products were still certified against it 12-18 months ago. If you're lucky, they'll still work, though they won't be certified.
If you need a certified combination, you'll have to upgrade to 8i or 9i.
Justin -
How compile OCCI Demo of Oracle 9i with gcc on Redhat Linux 9?
How compile OCCI Demo of Oracle 9i with gcc on Redhat Linux 9?
When I use gcc-3.22 compile,error:undefined reference to 'typeinfo for oracle:occi:SQLException'.
Reputedly gcc-2.95 or gcc-2.96 is the official supported version , did you try it?
Can you help me compile it successfully?
Thank you!
Alex ClarkFor details
compile cmd:make -f demo_rdbms.mk occipool
compile result:
make -f /opt/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk buildocci
EXE=occipoo
l OBJS=occipool.o
make[1]: Entering directory `/opt/oracle/product/9.2.0/rdbms/demo'
/usr/bin/g++ -L/opt/oracle/product/9.2.0/lib/
-L/opt/oracle/product/9.2.0/rdbms/
lib/ -o occipool occipool.o -locci -lclntsh `cat
/opt/oracle/product/9.2.0/lib
/sysliblist` -ldl -lm
occipool.o(.gcc_except_table+0xe8): undefined reference to `typeinfo for
oracle:
:occi::SQLException'
occipool.o(.gnu.linkonce.t._ZN8occipoolC1Ev+0x18): In function
`occipool::occipo
ol[in-charge]()':
: undefined reference to
`oracle::occi::Environment::createEnvironment(oracle::o
cci::Environment::Mode, void*, void* (*)(void*, unsigned), void* (*)(void*,
void
*, unsigned), void (*)(void*, void*))'
occipool.o(.gnu.linkonce.t._ZN8occipoolD1Ev+0xf): In function
`occipool::~occipo
ol [in-charge]()':
: undefined reference to
`oracle::occi::Environment::terminateEnvironment(oracle
::occi::Environment*)'
occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x355): In function
`occipool::
select()':
: undefined reference to
`oracle::occi::SQLException::SQLException[in-charge](or
acle::occi::SQLException const&)'
occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x395): In function
`occipool::
select()':
: undefined reference to `oracle::occi::SQLException::getErrorCode() const'
occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x3db): In function
`occipool::
select()':
: undefined reference to `oracle::occi::SQLException::getMessage() const'
occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x44f): In function
`occipool::
select()':
: undefined reference to `oracle::occi::SQLException::~SQLException
[in-charge]()'
occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x466): In function
`occipool::
select()':
: undefined reference to `oracle::occi::SQLException::~SQLException
[in-charge]()'
collect2: ld returned 1 exit status
make[1]: *** [buildocci] Error 1
make[1]: Leaving directory `/opt/oracle/product/9.2.0/rdbms/demo'
make: *** [occipool] Error 2 -
OCA 10g IZO-042 , chapters Managing globalization in oracle databasses
I am seeing this chapter in part 1 exam of IZO-042 in All in one exam guide by oracle ,
but not in other books and practice exams, its saying that its part of IZO-043 ....
is this part of IZO-042 or IZO-043?
Using Globalization Support Objectives/Managing globalization in oracle databassesIt is part of 1z0-043 (Oracle Database 10g: Administration II). Refer to the exam topics in the following links for more details.
Oracle Database 10g: Administration II
Oracle Database 10g: Administration I -
How to find the of Oracle software types and versions installed
Hi,
How to find the of Oracle software types and versions installed on RedHat Linux AS machine and Sunsolaris10 machine?
Regards,
MathewI'm not sure about your point.
You can use "opatch" command-line
cd $ORACLE_HOME/OPatch
./opatch lsinventory -detail
PRODUCT NAME VERSION
============ =======
Advanced Queueing (AQ) API Patch 10.1.0.4.0
Advanced Queueing (AQ) API 10.1.0.2.0
Advanced Replication Patch 10.1.0.4.0
Advanced Replication 10.1.0.2.0
Agent Required Support Files Patch 10.1.0.4.0
Agent Required Support Files 10.1.0.2.0
Assistant Common Files Patch 10.1.0.4.0
Assistant Common Files 10.1.0.2.0
Authentication and Encryption Patch 10.1.0.4.0 -
How to access MYSQL from Oracle 10g and vice versa
I will like to know how do I create a database link between Oracle 10g and MYSQL database on windows. I have been saddled with responsibility of ensuring the communications between the 2 databases and I have searched everywhere on google, I could not find anywhere where this is explain explicitly and made work.
THank youIn general Oracle offers 2 different products to connect from an Oracle database to a MS SQL Server. The first product is for free and it is called
As DG4ODBC is a generic connectivity based on ODBC it allows you to connect to many foreign databases as long as you have a suitable ODBC driver.It for example allows you to read from text files but also connect to foreign databases like MS SQL Server or IBM DB2. Due to this wide variety of foreign data sources tha capabilities of DG4ODBC are very limited. It only supports a few Oracle functions that it can directly map to foreign database equivalents. All other functions will be post processed. Post processing means that ALL records from the foreign table(s) will be fetched into the Oracle database and the result is then processed locally - so depending on the amount of data stored in the foreign database it might take a while.
To be complete here some notes to follow up:
This Oracle support note describes possible options you have to connect to a foreign database:
Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
So you see, to connect from Oracle to MySQL you need to use the Database gateway for ODBC release 11.2 (HSODBC which was shipped with 10g was desupported in march 2008).
The Database Gateway for ODBC 11.2 (=DG4ODBC) license is included in the Oracle database license and it allows you to connect with a suitable 3rd party ODBC driver to a foreign database.
For your MySQL connection you only need to download and configure the MySQL ODBC driver from the MySQL web site. Once you can connect with the ODBC driver you could then download and configure DG4ODBC.
As you didn't post on which platform your Oracle database is installed, here 2 notes for common platforms:
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle (Doc ID 561033.1)
How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
- Klaus
Maybe you are looking for
-
Problem while deploying an ear
Hi, i have a problem in deploying an ear which contains an ejb and with a web service which is already deployed in another ear.The error is "Web service already exsits in the http service provider for that ear". Now i need a solution for this pro
-
Font size and type in BSP applications
Hi all, We are creating some reports using BSP for our SRM users. But we are not able to determine the size and the type of font used by SAP in the SRM applications. If we use font with size 1, it turns out be smaller than the SAP font and size 2 is
-
Hi, I have two Exchange 2010 servers running on Windows 2008 Ent R2. These mail servers have been running fine for a few years. Today I noticed two things. 1. users were telling me they were having delays receiving emails from outside of our own doma
-
So now spotlight and finder in coloum view crash/not working
So now my spotlight never searches for everything (I tried restarting, then logging off and logging back again, reindexing, delted plist) nothing works and finder in colum veiw crashes
-
I have new pc and it has windows 8 i am lost how do i download past purchases from itune
how do i download past purchases from i tunes into my new computer? I know nothing about where to go to get the songs purchased except into my account page.