Problem storing Russian Characters in Oracle 10g
We are facing an issue in one of our sites which is in Russian Language. Whenever data is submitted with Russian Characters it saves it as Question mark(upside down) in the database. Database is not supporting these characters.The character encoding is done in UTF-8 format from the front end.
This code use to work fine with Oracle 9i database but after the upgradation to Oracle 10g this problem has started occuring. We have not made any changes to the code after the upgradation of the database.
How can we resolve this and what are the settings that we can do to make this work fine?
What is your database character set and national character set?
SELECT *
FROM v$nls_parameters
WHERE parameter like '%CHARACTERSET';Are you storing the data in CHAR/ VARCHAR2/ CLOB columns? Or NCHAR/ NVARCHAR2/ NCLOB?
Justin
Similar Messages
-
Problem in storing korean Characters in Oracle 10g
Hi All,
Below are the current setup.
OS : Windows
Oracle Version : 10G
Database Character Set : AL32UTF8
NLS_LANG = KOREAN_KOREA.KO16MSWIN949 (in windows)
I can able to see Korean characters in MS Word & MS Excel. I copied some of the korean characters
and pasted in notepad and saved the file in UTF format. I tried to insert that data using sql loader.
After inserting the data, I could find only unknown characters with lots of ??? symbol. I have also
changed the data fonts to korean language in TOAD. But I can find only non-korean characters in
the table.
Please advise me, whether any other settings to be changed or provide step-by-step procedure to store
the korean data in database.
Regards,
RameshUnable to insert Korean Language in Oracle 10g
-
Problem In Enterprise manager with Oracle 10g AS 10.1.3.1.0
dear all,
I installed Oracle Application server 10g (10.1.3.1.0) on REDHAT Enterprise Linux 4 AS Update 4, so evrything done throu installation , but after installing when i try to open EM with browser http://localhost:7778/em not working and appear mesage (The Request URL/em was not found on this server) so i tried with ip-addressand with FQDN but not working, opmnctl service all running successfuy !!! (OC4J ,HTTP all working done - i made restat to all opmn services and the same result!!!!)
how can i solve this problem????
ThanksThanks Dear Jacco,
but i installed only OC4j and HTTP components , so control is working opmnctl working every think and components working good , but the strange in this case when i tried to fine emctl file but its not found !!!! (emctl start iasconsole) in this version of Oracle 10g AS .
what u think? -
Problem with Russian characters in Firefox on Mac OS X 10.5
Hi everybody,
I installed the latest version of Firefox (2.0.0.9) on Mac OS X 10.5(Leopard) on my iMac (Core 2 Duo, 2.16GHz). Now when I change the language option to Russian (in Mac OSX) and type in Firefox search box (in the top right corner) I see only question marks ("????") instead of russian characters. The same happens when I open Google page in the browser and type there. Also if I bookmark a web page that contains russian character in the title, it also have "????..." instead.
However on some web pages, where I need to provide input the russian letters do show up. Also it works fine in Safari.
I didn't have this kind of issue on previous versions of Mac OSX (Tiger) and Firefox. When I installed Firefox there everything just worked fine and I didn't have to change any settings. I still have my bootable drive with this configuration and when I run it everything is fine. I tried to compare language settings and Firefox preferences and character encoding settings in Tiger and Leopard, but I don't see any difference.
I played with character encoding settings in Firefox, but that didn't fix the problem. Is it the problem of Leopard? Does anybody have the same issue? Any help is appreciated.
Thank you.
- DmitriI think this is a FireFox problem, you need to ask them to fix it and use another browser (or perhaps the Russian version of Firefox) in the meantime.
http://discussions.apple.com/thread.jspa?messageID=5668950� -
Problem in importing data in oracle 10g from 9i backup
Hi ,
Am trying to import data in oracle 10g..but it does not importing constraints, and stop doing anything by the msg.
About to enable constraints.....
after this msg it does not work.
plz help,
Regards,
NehaHi Neha,
You have a lot of options. I'll supose you can test first, and you're using an export file.
First forget about the data, think in your database structure. So you can do this:
exp userid=... file=exp_norows.dmp full=y rows=n statistics=none
Now you have the structure of your database. Create the database, in 10g, empty, check you have all filesystem, etc. for you new datafiles. And do the import with parameter ignore=y, you'll see a lot off errors on SYSTEM schema, don't worry about it.
Now you have the structure of you database in 10g. You can take a look in the import log file, looking for some possible errors come from your schemas. so check the objects, and check the schemas.
Bear in mind things like CONNECT role in 9i it's different in 10g, you can't create db_links in 10g with "IDENTIFIED BY VALUES" because you'll get an ORA-00600, etc.
Well, fix all problems on source database (9i) and repeate this procedure until you don't recieve any more errors (not a SYSTEM schema errors).
When you have everything solved, you can try to import the data.
I hope, this method can help you. If you have any problem do not hesitate to ask me.
John Ospino Rivas -
XML SCHEMA registration for XML TYPE (storing XML files in Oracle 10g)
I have created the XML Schema for the XML file stored in Oracle 10g and also added this Schema into the database. I have related that schema with the column in the table which contains the XML file. When i execute the query to fetch the data from the stored file i am getting a blank resultset. Is registering the XML Schema is necessary, if yes then please let me know the process of doing it. I have tried following steps to register Schema, but it is not working
Step1:
DECLARE
v_return BOOLEAN;
BEGIN
v_return := dbms_xdb.createFolder('/home/');
v_return := dbms_xdb.createFolder('/home/DEV/');
v_return := dbms_xdb.createFolder('/home/DEV/xsd/');
v_return := dbms_xdb.createFolder('/home/DEV/messages/');
v_return := dbms_xdb.createFolder('/home/DEV/employees/');
COMMIT;
END;
STEP 2:
Connecting To XML DB
Step3:
Register XML schema
I am failing to execute step number 2 and hence not able to register the schema also.<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sudeepk:
If a java exception is thrown probably during ur install u might have forgotten
grant javauserpriv to scott;
grant javasyspriv to scott;
Thanks
[email protected]
<HR></BLOCKQUOTE>
Thank you!!! -
Problems with Russian characters in BB Bridge
Some time ago my contact list on BB 9800 was updated using Desktop software for Mac. Some of contacts were written in Russian. Same updates were made for MemoPad as well in the same manner. Everything was good on the smartphone side before I made an attempt to sync my phone with Playbook. Both sections refused to sync! After removing manually all contacts and memos with Russian font, the sync went normal again. There are a lot of problems with Playbook, which cost me my time and money. This was just one of them... Why not to say it clear - do not try to sync Russian characters?
Same problem when I use Chinese.
The only thing we can do now is to wait for an update! Which is hopefully make the Playbook worth something! -
Problem with JDBC driver for Oracle 10g
Hi.
I've successfully accessed a MySQL database via a DataSource from a servlet (that uses a DAO). However, when I try to do the same with an Oracle 10g Database, I get the error message:
Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter of which I downloaded this afternoon as the latest driver JAR available on the Oracle site. As with the MySQL driver, I've placed it in the commons\lib folder within Tomcat. (I've also, of course, made the necessary modifications to server.xml and web.xml.)
Upon examining the ReadMe file at the top of the Oracle download page, I found that the oracle.jdbc.driver package is now deprecated and all references to oracle.jdbc.driver should be replaced with oracle.jdbc. However, I got a similar error message when I tried this modification. Upon examining the contents of ojdbc.jar, I found that the driver was there and that it was, in fact, still oracle\jdbc\driver\OracleDriver!
It appears as though the Oracle site has not been updated with a driver that matches its latest documentation. However, this does not explain why the driver is not even being loacted when it is in the correct place. Can anybody shed any light on this? Any help would be much appreciated.
Thanks in anticipation.
Cheers.
JanI've successfully accessed a MySQL database via a
DataSource from a servlet (that uses a DAO). However,
when I try to do the same with an Oracle 10g
Database, I get the error message:
Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
That's different from a ClassNotFoundException.
>
I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter
of which I downloaded this afternoon as the latest
driver JAR available on the Oracle site. So you got ojdbc14.jar or ojdbc14_g.jar under the 10g drivers?
As with the
MySQL driver, I've placed it in the commons\lib
folder within Tomcat. I think it's a better idea to put in the WEB-INF/lib directory of your Web app rather than commons/lib. WAR files are a very good idea, too.
(I've also, of course, made the
necessary modifications to server.xml and web.xml.)So you're using a JNDI data source? It sounds to me like that's where the problem is.
You should not have to edit the server.xml at all. If you put the <ResourceParams> in a context XML file with the same name as your WAR file into the TOMCAT_HOME/webapps directory it'll be picked up automatically. (It might also be accessible in the META-INF directory for your app, but I haven't done it that way.)
Upon examining the ReadMe file at the top of the
Oracle download page, I found that the
oracle.jdbc.driver package is now deprecated and all
references to oracle.jdbc.driver should be replaced
with oracle.jdbc.
However, I got a similar error
message when I tried this modification. Upon
examining the contents of ojdbc.jar, I found that the
driver was there and that it was, in fact, still
oracle\jdbc\driver\OracleDriver! The fully-resolved class name you should be using MUST match the class that's in the ojdbc14.jar that you're using. Look in the JAR for the definitive answer: the one that I downloaded is still using the oracle.jdbc.driver package for OracleDriver.class. Ignore the docs - use the name that's in the JAR.
It appears as though the Oracle site has not been
updated with a driver that matches its latest
documentation. That often happens with docs.
However, this does not explain why the
driver is not even being loacted when it is in the
correct place. Can anybody shed any light on this?
Any help would be much appreciated.I think the problem lies in your web.xml and server.xml
I'd recommend that you decouple the JDBC from the Web app for now. See if you can connect to Oracle using a simple desktop app and leave the Web piece out of the equation for now. Once you can do that, you'll be certain that the parameters you're using are correct and you can turn your attention to getting the Tomcat configuration right.
PS - I'm using Oracle 9.2.0.1 and Tomcat successfully right now, so it can be done. -
Problem Compiling JAR Loaded in Oracle 10g
I have loaded a JAR file into my Oracle 10g database using the following command-line:
Loadjava -force -oci8 -order -resolve -schema "MYSCHEMA" -user "USER/PASSWORD@HOST" -verbose "JarFile.jar"
Unfortunately, after loading the JAR contents, the resolution of the individual files never completes. The process runs for >24 hours. Is there a better way to complete this task? I have even tried compiling portions of the JAR file via Toad, but it appears the recursive nature of the dependencies causes the process to essentially hang.
Unless the JAR files compiles successfully, I can load my Java source code but my resulting Java stored procedures cannot compile because of my import references to the JAR file. My java code was compiled for JDK1.3 using JDeveloper 10.1.3.0.0 to eliminate conflicts with the Oracle JDK (JDK1.4). Is there a setting or a flag which would allow compilation of my source code without compiling the JAR file to utilize the Oracle JIT compiler?
Any assistance/suggestions would be greatly appreciated. Thank you.Avi,
Thank you for the suggestion. As a result, I found how to load my JAR (iText JAR file) file without decompressing using loadjava -jarasresource MYJAR.jar but now the issue of referrencing this resource within my Java class so that it will compile once loaded into the database. Here is sample of my objects:
Oracle User-Defined Type:
CREATE OR REPLACE TYPE schema."BLOB_ARRAY" as varray(20) of BLOB
Java Source:
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED schema."JavaSource" AS
import com.lowagie.text.Document;
import com.lowagie.text.pdf.PdfCopy;
import java.io.ByteArrayOutputStream;
import java.io.*;
public class JavaSource{
public static Document doc;
public static ByteArrayOutputStream baos = new ByteArrayOutputStream();
public JavaSource(){}
public static PdfCopy getDoc(oracle.sql.BLOB[] docs){
PdfCopy writer = new PdfCopy(doc, baos);
return writer;
LOADJAVA:
loadjava -force -schema "SCHEMA" -user "user/password@sid" -verbose -resolve -unresolvedok -genmissing -jarasresource -genmisingjar "C:\JavaSource.java" "C:\iText.jar"
Oracle Package:
CREATE OR REPLACE PACKAGE schema."JavaSource" AS
FUNCTION getDoc(param1 schema.BLOB_ARRAY) return PdfCopy AS Language Java Name 'JavaSource.getDoc(oracle.sql.BLOB[]) return PdfCopy';
Oracle Function to query Database populating User-Defined type argument:
CREATE OR REPLACE FUNCTION schema.TestRun() RETURN schema.BLOB_ARRAY AS
tmpArray schema.BLOB_ARRAY := null;
BEGIN
tmpArray schema.BLOB_ARRAY := BLOB_ARRAY();
cursor c_blob is select blob_content from schema.doc_table;
BEGIN
for blob_rec in c_blob loop
tmpArray.extend;
tmpArray(tmpArray.count) := blob_rec.blob_content;
end loop;
END;
return tmpArray;
END;
I cannot get my class JavaSource to compile as VALID and therefore the Oracle Function schema.TestRun does not execute properly. Am I missing something? Assistance is greatly appreciated. Thank you. -
Problem accessing j2ee application in oracle 10g AS
Hi,
I have Oracle 10g AS installed on a Linux 4.0 system. I have deployed an ear file in the AS. The problem is while accessing the application, the login screen is showing, but after submitting it says "Page can not be displayed". The control is not passed to the Action class.
Please help me ...
SantoshHi Santosh,
This problem does not sound like an OC4J issue (unless this is a set up issue), it sounds more like your code is not passing the control to your Action class. Please check your struts configuration and make sure your mappings are set up correctly.
Hope this helps.
Deepak -
Two problems in BSBM benchmark of Oracle 10g with Jena Adaptor 2.0
Hi, all.
I'm proceeding BSBM benchmark for Oracle 10g with Jena Adaptor 2.0.
I'm using the codes that were introduced in Jena Adaptor 2.0 guide document, and I've applied Jena patches to Oracle 10g (10.2.0).
But, two problems are occured in benchmark process.
The first problem is
that 250k dataset(consisted of 250030 triples) loading time elapses over several hours, (See below code snippet.)
and the other is
that exceptions are occured in some sparql query execution.
I used below queries which have no error in query syntax.
I confirmed that through other benchmark tests.
In case of oracle benchmark test, quey1 is ok. but, query2 makes exception.
Please, look about the Exception message below.
What should I do for getting much better benchmark result?
I appreciate any help or any hint.
Best regards ~
### Query 1 ###
PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?product ?label
WHERE {
?product rdfs:label ?label .
?product a <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductType18> .
?product bsbm:productFeature <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/ProductFeature833> .
?product bsbm:productFeature <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/ProductFeature61> .
?product bsbm:productPropertyNumeric1 ?value1 .
FILTER (?value1 > 136)
ORDER BY ?label
LIMIT 10
### Query 2 ###
PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?label ?comment ?producer ?productFeature ?propertyTextual1 ?propertyTextual2 ?
propertyTextual3
?propertyNumeric1 ?propertyNumeric2 ?propertyTextual4 ?propertyTextual5 ?propertyNumeric4
WHERE {
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
rdfs:label ?label .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
rdfs:comment ?comment .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:producer ?p .
?p rdfs:label ?producer .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
dc:publisher ?p .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productFeature ?f .
?f rdfs:label ?productFeature .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual1 ?propertyTextual1 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual2 ?propertyTextual2 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual3 ?propertyTextual3 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyNumeric1 ?propertyNumeric1 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyNumeric2 ?propertyNumeric2 .
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual4 ?
propertyTextual4 }
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual5 ?
propertyTextual5 }
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyNumeric4 ?
propertyNumeric4 }
### Exception Message (in query 2 execution) ###
Exception in thread "main" java.sql.SQLException: ORA-00936: missing expression
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe
(T4CPreparedStatement.java:799)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1038)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe
(T4CPreparedStatement.java:839)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1133)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal
(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery
(OraclePreparedStatement.java:3329)
at oracle.spatial.rdf.client.jena.Oracle.executeQuery(Oracle.java:255)
at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings
(OracleSemQueryPlan.java:302)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH$StagePattern.<init>
(QueryIterBlockTriplesQH.java:89)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH.nextStage
(QueryIterBlockTriplesQH.java:55)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:92)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding
(QueryIterConvert.java:47)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding
(QueryIteratorWrapper.java:29)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
at benchmark.repository.oracle.OracleQuerying.getSelectQueryResult
(OracleQuerying.java:148)
at benchmark.repository.oracle.OracleQuerying.doSparqlQuery(OracleQuerying.java:101)
at benchmark.repository.oracle.OracleQuerying.queryingData(OracleQuerying.java:90)
at benchmark.repository.oracle.OracleQuerying.querying(OracleQuerying.java:49)
at benchmark.repository.oracle.OracleQuerying.<init>(OracleQuerying.java:44)
at benchmark.Benchmark.runTest(Benchmark.java:113)
at benchmark.Benchmark.main(Benchmark.java:56)
### Loading Code Snippet ###
String jdbcURL = "jdbc:oracle:thin:@" + Constants.HOST + ":1521:orcl";
OracleDataSource ds = new OracleDataSource();
ds.setURL(jdbcURL);
ds.setUser(Constants.ORACLE_USER);
ds.setPassword(Constants.ORACLE_PASSWORD);
OracleConnection conn = (OracleConnection) ds.getConnection();
oracle = new Oracle(conn);
modelOracleSem = ModelOracleSem.createOracleSemModel(oracle, modelName);
graphOracleSem = modelOracleSem.getGraph();
graphOracleSem.createTables();
graphOracleSem.clearRepository();
for (int i = 0; i < fileList.length; i++) {
file = fileList;
if (file.isDirectory())
continue;
inputFilePath = file.getAbsolutePath();
InputStream in = null;
try {
in = FileManager.get().open(inputFilePath);
if (in == null) {
throw new IllegalArgumentException("File: " + inputFilePath + " not found");
modelOracleSem.read(in, "", "N-TRIPLE");
modelOracleSem.commit();
} finally {
if (in != null)
in.close();Hi,
The data loading was slow because incremental loading API was used. Please take a look at OracleBulkUpdateHandler. There is an addInBatch API that you can use.
Now regarding queries, Jena Adaptor v2.0 was primarily designed for Oracle Database 11g Release 1.
Recently, a new version of Jena Adaptor has been released and it's optimized for Oracle Database 11g
Release 2.
Is it possible to run your BSBM benchmark tests against Oracle Database 11g Release 2 using the latest
Jena Adaptor (http://forums.oracle.com/forums/ann.jspa?annID=1179) ?
Thanks,
Zhe Wu -
Problems with the installation if oracle 10g
hi everybody,
I am using windows xp pro service pack 2. While trying install
oracle 10g. I faced a problem 'Error in writing to
directiory c:\document and settings\Owner\Local
Settings\TEMP\OraInstall. Please ensure that this
directory is writable and has at least 45 MB of disk
space. Installation cannot continue.' I have 40GB disk
space left and i am logged in as an administrator with all privileges.
thanks
mfg RRI think I remember encountering something similar on the very same platform (XP pro, 10g (or 9i second ed.) and 2nd service pack). I am using Windows Services for Unix (SFU - a free download from Microsoft @ http://www.microsoft.com/windows/sfu/default.asp ). I used SFU from within a command tool to change the privileges. If you are a unix person who are trying to do things like installing/managing Oracle on windows, I highly recommend installing SFU. After I changed the privileges, it worked just fine. Currently I am running 9.2.0.5 on windows xp pro and testing 10g on another xp pro box. Both installation was successful.
hope this proves useful -
Problem connecting Discoverer plus to Oracle 10g DB
I have a problem connecting Disocverer Plus to DB 10g.
DB 10g is located on a different server than Discoverer. All windows environment. When I enter DB name it gives me ORA-12154 error.
Question – I searched all the documents and it doesn’t say how to configure DB 10g to work with Discoverer. Could some one help me pointing me in a right direction? Do I have to create Data Warehouse or can I connect to the DB directly.
I added Database connection on the DB 10g listener. Do I have to do it on the BI listener as well. So complicated and no guidance.
thanksIn your Discoverer 10g home, navigate to:
$OH/network/admin
configure your tnsnames.ora alias's
or a shortcut... on Oracle BI Discoverer connection string enter:
username
pwd
db string like this (no breaks):
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=yourmachine.domain)(PORT=1523)))(CONNECT_DATA=(SID = vis)))
There is guidance. The Discoverer Configuration Guide
or MetaLink Support notes.
The configuration guide specifically documents common problems
http://download-west.oracle.com/docs/html/B13918_03/tshoot.htm#sthref1287
D.1.4 Discoverer reports the error ORA-12154
OracleBI Discoverer reports error ORA-12154: Could not resolve service name.
Problem
OracleBI Discoverer cannot connect to the database alias specified by the connection details.
Solution
Make sure that:
the database alias is in the tnsnames.ora file on the middle tier
the database alias exists in the tnsnames.ora file on every machine that runs sessions
Hint: If you have SQL*Plus (or any other Oracle product) running on that machine, try connecting to the database with that product.
Hope that helps point you in the right direction.
Regards,
Steve. -
Problem with retrieving data from Oracle 10g / PHP4.3 / Apache 1.3.27
Hi,
I re-open a new thread following the opened post 'Getting RPMs for php-oracle for PHP4.3 on RHEL 4.0 and issue with OCI8 '
I could re-installed PHP4.3 and apache 1.3.27 from the normal tar package (./configure then make) - I had some issues with the RPMs packages before.
I could connect successfully PHP4.3 to my Oracle 10g DB with no issues by using some of the (deprecated) functions contained in oracle.so library in command line mode by executing a simple PHP script ;-)
But ...when I try to execute the same script (a simple log on to the DB) or the application throught my web browser there are some errors in the apache error_log file that crash the process:
[Wed Jul 25 13:19:23 2007] [notice] child pid 25450 exit signal Segmentation fault (11)
[Wed Jul 25 13:19:31 2007] [notice] child pid 25451 exit signal Segmentation fault (11)
*** glibc detected *** realloc(): invalid size: 0x08338898 ***
[Wed Jul 25 13:19:42 2007] [notice] child pid 25441 exit signal Aborted (6)
*** glibc detected *** realloc(): invalid size: 0x08338898 ***
[Wed Jul 25 13:54:52 2007] [notice] child pid 25508 exit signal Aborted (6)
[Fri Jul 27 04:39:56 2007] [notice] child pid 20550 exit signal Segmentation fault (11)
After some investigations it looks like this is due to the connection of Oracle 10G and php.
I tried to recompile Apache as the following:
# cd /usr/src/apache_1.3.xx
# make clean
# LIBS=-lpthread ./config.status
# make
# make install
but the issue is the same ...
How can I workaround that issue and fix it in order to connect to Oracle 10 G by using PHP4.3 / apache 1.3.27 ?
I need to use the oracle.so library to avoid to re-rewrite all my application ...
Any help much very appreciated !
Cheers
DominiqueYou are in unchartered territory. But check the common "gotcha" and
make sure that all the Oracle environment variables are set in the
shell that starts Apache. Load the script <?php phpinfo(); ?> in a
browser and see that whatever variables you need are set in the
Environment section. See the section "Oracle Environment Variables
for Connections" in Underground PHP and Oracle Manual
I suspect it would be beneficial to migrate the PHP code to oci8.
Check table 16-1 in Underground PHP and Oracle Manual for the mapping
between 'oracle' and 'oci8' functions.
-- cj -
Executing Procedure in SQL SERVER and Storing the results in Oracle 10g
Hello,
I am trying execute SQL SERVER procedure from Oracle 10g and store the results in a oracle table. When I tried executing the procedure i am getting errors.
I am using Oracle Heteroeneous Services.
Steps I followed.
1. Created ODBC DSN on Oracle Server connecting to SQL SERVER database.
2. Created Listner entry and TNSNAMES entries.
3. Created Database link and able to select the data from the SQL SERVER tables.
Here is the code i tried to execute the procedure.
BEGIN
"META"."extract"@abc;
END;
"META"."extract"@abc;
ERROR at line 2:
ORA-06550: line 2, column 1:
PLS-00201: identifier 'META.extract@ABC' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
Please help me.
Thank You,
Seshadri ThopeHi thopevs,
Can you please tell me the right syntax of calling procedures(on sql server) from oracle?
I am getting following error:
SQL> execute "GetdateSys"@oratosql;
begin "GetdateSys"@oratosql; end;
ORA-06550: line 2, column 7:
PLS-00201: identifier 'GetdateSys@ORATOSQL' must be declared
ORA-06550: line 2, column 7:
PL/SQL: Statement ignored
SQL>
Your help will be highly appreciated.
Thanks & Regards,
M.U.N.A
Maybe you are looking for
-
Custom Attributes, Fields in Folders
Hi, I have a Folder where I am uploading documents etc. I need to capture additional fields - 'Speaker' etc. when I upload the document. Is there any way of doing this? Thanks.
-
Include a pie chart graphics in Smart Form
hi , my req. to include a pie chart graphics in Smart Form . my logic 1) write a pie chat program using the data . 2) convert into bmp and upload into se78 3) include the pic in smart form . is there any other way can u please mention the class and m
-
Thread creation error: Not enough storage is available to process this command
Two user in my company have this problem, I have already used the solution on the community but would come back after 2 to 3 weeks. They all have the message "Thread creation error: Not enough storage is available to process this command". I tried in
-
Lightroom 3.6 / ACR 6.6 Camera Profiles Missing
Greetings. I've read through so many threads about this, and still can't make camera profiles show up in either LR 3.6 or ACR 6.6. I'm shooting RAW with a Nikon D7000. The only camera profiles available are Adobe Standard, Camera Standard, Neutral,
-
My iphone 3GS was updating to iOS 6. It stopped updating halfway through the process. Now my phone won't turn on. Endless bootloop.