Which OS do I install for using ORACLE DB in LAPTOP-Oracle Linux,Oracle Solaris OR OTHERS [NO WINDOWS]
I am an SQL,PL/SQL developer and i am thinking of installing an OS in my laptop. I do not prefer to install windows on it. So, please suggest me an OS except windows to install Oracle DB. Also, drop the + ve s of that particular OS if possible. Thanks in advance.
Balamurali.P.C wrote:
I am an SQL,PL/SQL developer and i am thinking of installing an OS in my laptop. I do not prefer to install windows on it. So, please suggest me an OS except windows to install Oracle DB. Also, drop the + ve s of that particular OS if possible. Thanks in advance.
From your cross-posted thread in SQL-PL/SQL:
My system gets too slow when i use windows + oracle db.
I wonder what you are doing there. I run 3 virtual linux machines simultaneously on my Win 7 laptop and have no performance issues.
And, mostly it gets hanged.
Totally devoid of useful information
More than that, i do no tlike the win environment.
I'm no fan of MS, but if you want a *nix system, you'd better be prepared to become a sys admin. As others have said, and just like a company deciding on fundamental architectures, you have to ask yourself about available skill set.
Similar Messages
-
Justification for using Oracle Text vs Other Search Tools
Hello,
Can someone give me good cause (justification) for utilizing Oracle Text over other tools out there that are not tied directly to Oracle?
Apparently it is possible to identify metadata within text and do keyfield and keyword searches this way with other tools, but I question the accuracy, speed, or value in terms of data relationships with this approach. I feel the relationships belong in the database along with the indexes but can't convince anyone of this.
Has anyone experience working with Oracle Text where relationships help to drive the search and can give me good cause to this approach?
thanksTools like Autonomy have fantastic searching functions, far in excess of what we get with Text. What they aren't very good at is the database side of things. So if your prime concern is to be able to search free text documents on your file system using a baroque range of filters then Text is not the right choice. But if you want to join the outcomes of free text searches with structured data in database tables or if the text you want to search is stored in database tables then using Oracle's built-in functionality is the better approach.
From your post I'm not sure which scenario fits your situation more closely.
Cheers, APC -
Can i use Avid mbox pro with logic pro x? And also which mac would be best for using avid pro tools 11
If your info is correct you need to first buy Snow Leopard from the Apple on-line store ($20) install and update to 10.6.8 and then buy Lion from the App Store for $20.
-
Question for using ORACLE with SOLARIS
Hi Experts,
I have worked Oracle with Linux in one of my projects 2yrs back and i was just a developer, used to write SQL Query, Creating Table and Objects.
Now i got a question from TL which is
Tell me about consequences for using Oracle with Solaris?
I am not worked ORACLE with SOLARIS, Can some one give me the answer for this question with
1. Difference between ORACLE with LINUX and ORACLE with SOLARIS.
2. Advantages and Disadvantages Between ORACLE with LINUX and ORACLE with SOLARIS.
Thanks,
MuraliDharan VHi MuraliDharan V,
It would had been better if you had searched first;
Here is one
Advantage for Linux64-bit Versus Solaris-x86_64 OS in RAC
And beside that your question is incomplete:
-What Oracle? Database, etc
-Which Version? 9i, 10g, etc
Aside from that a simple search on google might have answered your question as well.
But I think there is some new trend of dumping questions here before searching.
Ex Senior DBA -
Problem for using oracle xml parser v2 for 8.1.7
My first posting was messed up. This is re-posting the same question.
Problem for using oracle xml parser v2 for 8.1.7
I have a sylesheet with
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">.
It works fine if I refer this xsl file in xml file as follows:
<?xml-stylesheet type="text/xsl" href="http://...../GN.xsl"?>.
When I use this xsl in pl/sql package, I got
ORA-20100: Error occurred while processing: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
After I changed name space definition to
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> in xsl file, I got
ORA-20100: Error occurred while processing: XSL-1019: Expected ']' instead of '$'.
I am using xml parser v2 for 8.1.7
Can anyone explain why it happens? What is the solution?
Yi<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
Element's dont have text content, they [b]contain text node children.
So instead of trying to setNodeValue() on the element, construct a Text node and use the appendChild method on the element to append the text node as a child of the element.<HR></BLOCKQUOTE>
Steve,
We are also creating an XML DOM from java and are having trouble getting the tags created as we want. When we use XMLText it creates the tag as <tagName/>value rather than <tagName>value</tagName>. We want separate open and close tags. Any ideas?
Lori -
Justification for Using Oracle Text
Hello,
Can someone give me good cause (justification) for utilizing Oracle Text over other tools out there that are not tied directly to Oracle?
Apparently it is possible to identify metadata within text and do keyfield and keyword searches this way with other tools, but I question the accuracy, speed, or value in terms of data relationships with this approach. I feel the relationships belong in the database along with the indexes but can't convince anyone of this.
Has anyone experience working with Oracle Text where relationships help to drive the search and can give me good cause to this approach?
thanksHi,
Justification depends on your use. For starters:
1) It is included in both standard and enterprise editions of the db at no added charge
2) Uses SQL to query and maintain
3) Includes a number of built-ins for maintenance and optimization
4) It has 4 different index types for various uses
5) It can index any data type
6) UltraSearch is included in both standard and enterprise editions of the db at no additional charge (this is a crawler built on Oracle Text).
As for the integration - it is optimized for Oracle. If you were to build a standalone indexing solution you would probably design it a bit different, but Oracle Text takes into account the optimizer and database structure.
It has other features (same as some of the other tools) like a knowledge base, classification, clustering, theme extraction, language-specific features, ability to index documents in and out of the database, stopwords, stemming, wildcard, progressive relaxation, and the list goes on.
I guess my question would be, what is the reason for NOT using it? That might give me a better line on the reasoning so that I can respond with something a bit more specific.
Thanks,
Ron -
Re: Oracle Solaris Cluster 3.3 using Oracle Solaris 09/10 on virtualbox
Dear All,
I am trying to build a solaris cluster 3.3 on virtualbox using Oracle Solaris 09/10. My host OS is Ubuntu 10.10. But, when i try to add the second node, it is not able to find the node1 says "unable to connect to node1". Can anyone help me build this cluster.
my laptop is hp probook 4420s and has i3 processor and 2gb ram, wherein i have assigned 750mb ram to both Oracle Solaris 09/10 OS. Moreover, the first node is successfully attached. Both the virtual machines can ssh succesfully and link based ipmp is setup on both the virtual machines. Please help me regarding this as i am new to clustering.As Nik said, this could be a problem with the setup of the private interconnects. This could also be caused by the fact that the necessary ports on the nodes are closed - due to secure by default.
There is an old blog entry on blogs.sun.com by Thorsten Frueauf that explains how to open the ports and/or start the necessary services. I think it is also documented now as part of the normal installation manuals. -
How to install and use oracle schemas
Hi,
I am trying to prepare for Oracle PL/SQL Developer Associate Exams. I need to download and use Oracle sample schemas like oe, etc. and I don't know how.
I have the following on my PC:
Oracle® Database Express Edition 10g Release 2 (with the HR schema)
Oracle Sql Developer 2.1.0.63 (already connected to the HR schema)
Oracle Developer Suite 10.1.2 (mainly used to connect to work databases )
Can someone please guide me here....
Thank you....Did you check what are the existing schema you have other than HR from Enterprise Management Console?
If you install your DB in default with sample DBs - you should have these schema already into your machine. They may be locked. That's why you are unable to use them.
Unlock the schema and try it again.
From sys,
alter user oe account unlock;
alter user oe identified by oe;This should work for you.
Regards.
Satyaki De. -
Do we need rpm package oracleasmlib for using Oracle ASMLib?
..The Oracle ASMLib kernel driver is now included in the Unbreakable Enterprise Kernel.
No driver package needs to be installed when using this kernel.
The oracleasm-support and oracleasmlib packages still need to be installed from ULN+
http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html
i use:
root@oel62 ~]# uname -r
2.6.32-300.3.1.el6uek.x86_64I understood:
-oracleasm: is include in the kernel(kernel/drivers/block/oracleasm/oracleasm.ko)
-oracleasm-support: can be found on the install ISO or in Oracle Public Yum Server.
-oracleasmlib: ? not found in Oracle Public Yum Server! can be found only in ULN?
Question: Do we need it, rpm package oracleasmlib for install Oracle ASMLib?
I have add kernel module oracleasm (via modprobe) and install rpm oracleasm-support
(but without oracleasmlib) and it works !!??
..and I'm confused ???Dude wrote:
Saying that it works seems quite audacious to me. Well, I can start the engine, let's fly! I'd rather remain on the ground ;-)Hi Dude!
You do not mean I talk nonsense, right?
Maybe! But once again i will protocol here what i did.
It would be very nice if you take a look here:
Ok! Step by step..
My environment: Oracle Linux 6.2 in VMWare
Linux kernel:
[root@oel62 ~]# uname -r
2.6.32-300.3.1.el6uek.x86_64Install oracleasm:
[root@oel62 ~]# modprobe oracleasm
[root@oel62 ~]# modprobe -l oracleasm
kernel/drivers/block/oracleasm/oracleasm.ko
[root@oel62 ~]# lsmod | grep oracle
oracleasm 48482 1 Install oracleasm-support:
root@oel62 ~]# yum install oracleasm-support
Installed:
oracleasm-support.x86_64 0:2.1.5-1.el6
Complete!I have only oracleasm-support(no oracleasmlib!)
[root@oel62 ~]# rpm -qa| grep oracleasm
oracleasm-support-2.1.5-1.el6.x86_64
[root@oel62 ~]# Status:
[root@oel62 ~]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: noConfigure:
[root@oel62 ~]# /etc/init.d/oracleasm configure
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]Status again:
root@oel62 ~]# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yesI create 2 virtual disks and then create partition on those disks.
Result: /dev/sdg1, /dev/sdh1
and now create ASM disks:
[root@oel62 ~]# oracleasm createdisk asmdisk1 /dev/sdg1
Writing disk header: done
Instantiating disk: done
[root@oel62 ~]# oracleasm createdisk asmdisk2 /dev/sdh1
Writing disk header: done
Instantiating disk: donelistdisks
[root@oel62 ~]# oracleasm listdisks
ASMDISK1
ASMDISK2querydisk
[root@oel62 ~]# oracleasm querydisk -d /dev/sdg1
Device "/dev/sdg1" is marked an ASM disk with the label "ASMDISK1"
[root@oel62 ~]# oracleasm querydisk -d /dev/sdh1
Device "/dev/sdh1" is marked an ASM disk with the label "ASMDISK2"-Create diskgroup TEST_DG:
run asmca, step through all screens, specify "Disk discovery path"
/dev/oracleasm/disks/*Result:
ASMCMD [+] > lsdsk -p -G test_dg
Group_Num Disk_Num Incarn Mount_Stat Header_Stat Mode_Stat State Path
1 0 3915949404 CACHED MEMBER ONLINE NORMAL /dev/oracleasm/disks/ASMDISK1
1 1 3915949403 CACHED MEMBER ONLINE NORMAL /dev/oracleasm/disks/ASMDISK2-Run dbca create a database testdb with storage using diskgroup TEST_DG
and here is the DB testdb on diskgroup test_dg
[grid@oel62 ~]$ rlwrap asmcmd -p
ASMCMD [+] > ls test_dg/testdb
CONTROLFILE/
DATAFILE/
ONLINELOG/
PARAMETERFILE/
TEMPFILE/
spfiletestdb.ora
ASMCMD [+] > ls -l test_dg/testdb/datafile
Type Redund Striped Time Sys Name
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y SYSAUX.257.787055133
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y SYSTEM.256.787055133
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y UNDOTBS1.258.787055133
DATAFILE UNPROT COARSE JUN 27 11:00:00 Y USERS.259.787055133
ASMCMD [+] > Service status:
[grid@oel62 ~]$ srvctl status diskgroup -g test_dg
Disk Group test_dg is running on oel62
[grid@oel62 ~]$ Once again i did not install oracleasmlib!
I have no RPM oracleasmlib on my system:
root@oel62 ~]# rpm -qa| grep oracleasm
oracleasm-support-2.1.5-1.el6.x86_64It is a "perfect" installation, or what do you mean?
It works fine, but why it works??
Well, folks! Tell me now why it works without oracleasmlib ?
What happened, what is going on here?
Thank you for reading my long text here! -
Benefits for using Oracle RAC in SUNCLUSTER
Hi SC expert,
What is the technical benefits of using Oracle RAC in Suncluster, Both are cluster can take care of HA and Load balancing. which are the features are not in Oracle RAC. I am able to configure and check the functionality of Oracle RAC with SC. But I want some technical highlights to project SC have specific benefits over OracleRAC.
Any suggestion and recommentation are welcome.
regards
karthikeyan.NHi,
goto http://www.sun.com/cluster and search for "White Paper, Sun Cluster 3.2 Software: Making Oracle Database 10G R2 RAC Even More Unbreakable"
It has all the technical details that you are looking for.
Regards
Hartmut -
Minimum Install for Using ODBC Driver.
What is the minimum installation required for using ODBC from a client machine.
EG I have an application in Access and I want to connect to a table on my oracle server. The user machine, has Access installed, and I don't wnat to install the whole 50 megs(OK I exagerate A little but not much) of NET 8 client just so they can look at a table in Access from Oracle.
What specific elements are necessary in the install, TCP/IP, Named pipe protocol adapters?, required support files?, SQL*plus 8?
Say its a version 8.0.4 server for arguments sake and I want the least hassle setting up 50 users who already have office installed with the latest version of MS ODBC32, they have no Oracle software on their machines.
nullUnfortunately, you'll need to do at least a minimal Oracle client install. While we probably don't actually rely on everything that gets installed here, we don't test our driver with anything less than a minimal install.
Justin Cave
ODBC Development -
Workaround for using Oracle JDBC extension with WLS pooling
Reading the newsgroup I saw that many of us encountered the problems
with ClassCastException when tried to use Oracle JDBC extension
with WLS pooling. I also had.
In this case BEA recommends to use dangerous
method getVendorConnection() which exposes
the physical connection object to your code.
Yes it's really dangerous because of unsafe usage may breaks
WLS pooled connection(s).
Moreover, this practice will make your JDBC code
unportable (your JDBC code in addition to Oracle dependence
became Weblogic dependent):
void doSmth() {
Connection con = ...;
Connection vCon = ((WLConnection)con).getVendorConnection();
// + mess of usage con in one places and vCon in others
// (where Oracle extensions are needed)
// !Don't forget to don't close vCon!
Sux.
I found the workaround.
Introduction
============
Yes the real cause of ClassCastException is that
in depth of Oracle driver the casting
to class oracle.jdbc.driver.OracleConnection
(not to interface oracle.jdbc.OracleConnection)
is performed.
Someone can say that this is bug or pure desing.
Weblogic pooled connection provide dynamic
implementation for all public interfaces
which real physical (wrapped) connection object implements.
Great feature!
But I guess that all interface methods implemented
by simple call-delegation to physical (wrapped) connection object.
In case of oracle.jdbc.OracleConnection interface
this approach doesn't work for at least one its method:
public OracleConnection unwrap()
WLS pooled connection shoudn't implement this method by
delegation to physical connection object BUT should
return physical connection object itself!
// Wrong implementation of unwrap()
// delegation is used
public OracleConnection unwrap() {
return physicalConnection.unwrap();
// Right implementation of unwrap()
// physical connection returned
public OracleConnection unwrap() {
return physicalConnection;
Workaround
==========
1. Develop your own OracleConnection wrapper class:
import oracle.jdbc.OracleConnection;
import weblogic.jdbc.extensions.WLConnection;
public class MyOracleConnectionImpl implements OracleConnection {
private OracleConnection con;
public MyOracleConnectionImpl(OracleConnection connection)
throws SQLException
this.con = connection;
public OracleConnection unwrap() {
return (OracleConnection)
((WLConnection)con).getVendorConnection();
/* Implement all other methods by delegation to con object */
2. Don't get Connections directly from DataSource --
develop your own simple (may be static) utility
class which retrives Connections from dataSource
and returns them wrapped into your MyOracleConnectionImpl
to your code from some method:
puclic abstract class MyConnectionSource {
public static Connection getConnection() {
Connection con = // get it from DataSource
return new MyOracleConnectionImpl((OracleConnection)con);
3. Add attribute RemoveInfectedConnectionsEnabled="false"
to definition of your JDBCConnectionPool within config.xml
You may do it because of you `safely` use vendorConnection --
you don't expose it to application code.
4. Enjoy the Oracle JDBC extensions in your code!
Example:
Connection con = MyConnectionSource.getConnection;
ArrayDescriptor add =
ArrayDescriptor.createDescriptor("your_type", con);
Hope it helps to someone.
Best regards,
Eugene VoytitskyHello Eugene Voytitsky,
Thanks Eugene Voytitsky for your idea
I have tried the solution suggested by You, but it did not work.
It still throws ClassCastException.
I am sorry for posting the whole code of two classes below.
I did this to give you more clarity.
I am also indicating the place where the exception was thrown..
Please let me know if I am doing something wrong.
OracleConnection Wrapper class
package ejbTesting;
// sql imports
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
// util imports
import java.util.Map;
import java.util.Properties;
// imports from Oracle Driver Classes
import oracle.jdbc.OracleConnection;
import oracle.jdbc.OracleOCIFailover;
import oracle.jdbc.OracleSavepoint;
// import from Weblogic extensions
import weblogic.jdbc.extensions.WLConnection;
public class WeblogicConnectionWrapper implements OracleConnection
// oracle connection object
private OracleConnection connection;
public WeblogicConnectionWrapper (OracleConnection orclConnection)
try
this.connection = orclConnection;
catch(Exception unexpected )
unexpected.printStackTrace();
public OracleConnection unwrap()
try
// The datasource returns a weblogic.jdbc.pool.Connection
// This needs to be type casted to weblogic.jdbc.extensions.WLConnection
// Only this weblogic.jdbc.extensions.WLConnection CAN BE type casted
// to OracleConnection
return (OracleConnection) ((WLConnection) connection).getVendorConnection();
catch(Exception sqlException )
sqlException.printStackTrace ();
return null;
/* Implement all other methods by delegation to connection object */
public Connection _getPC()
return connection._getPC();
public void archive(int i, int j, String s)
throws SQLException
connection.archive(i, j, s);
public void assertComplete()
throws SQLException
connection.assertComplete();
public void clearWarnings()
throws SQLException
connection.clearWarnings();
public void close()
throws SQLException
connection.close();
public void commit()
throws SQLException
connection.commit();
public Statement createStatement()
throws SQLException
return connection.createStatement();
public Statement createStatement(int i, int j)
throws SQLException
return connection.createStatement(i, j);
public boolean getAutoClose()
throws SQLException
return connection.getAutoClose();
public boolean getAutoCommit()
throws SQLException
return connection.getAutoCommit();
public CallableStatement getCallWithKey(String s)
throws SQLException
return connection.getCallWithKey(s);
public String getCatalog()
throws SQLException
return connection.getCatalog();
public boolean getCreateStatementAsRefCursor()
return connection.getCreateStatementAsRefCursor();
public int getDefaultExecuteBatch()
return connection.getDefaultExecuteBatch();
public int getDefaultRowPrefetch()
return connection.getDefaultRowPrefetch();
public Object getDescriptor(String s)
return connection.getDescriptor(s);
public boolean getExplicitCachingEnabled()
throws SQLException
return connection.getExplicitCachingEnabled();
public boolean getImplicitCachingEnabled()
throws SQLException
return connection.getImplicitCachingEnabled();
public boolean getIncludeSynonyms()
return connection.getIncludeSynonyms();
public Object getJavaObject(String s)
throws SQLException
return connection.getJavaObject(s);
public DatabaseMetaData getMetaData()
throws SQLException
return connection.getMetaData();
public Properties getProperties()
return connection.getProperties();
public boolean getRemarksReporting()
return connection.getRemarksReporting();
public boolean getRestrictGetTables()
return connection.getRestrictGetTables();
public String getSQLType(Object obj)
throws SQLException
return connection.getSQLType(obj);
public String getSessionTimeZone()
return connection.getSessionTimeZone();
public int getStatementCacheSize()
throws SQLException
return connection.getStatementCacheSize();
public PreparedStatement getStatementWithKey(String s)
throws SQLException
return connection.getStatementWithKey(s);
public int getStmtCacheSize()
return connection.getStmtCacheSize();
public short getStructAttrCsId()
throws SQLException
return connection.getStructAttrCsId();
public boolean getSynchronousMode()
return connection.getSynchronousMode();
public int getTransactionIsolation()
throws SQLException
return connection.getTransactionIsolation();
public Map getTypeMap()
throws SQLException
return connection.getTypeMap();
public String getUserName()
throws SQLException
return connection.getUserName();
public boolean getUsingXAFlag()
return connection.getUsingXAFlag();
public SQLWarning getWarnings()
throws SQLException
return connection.getWarnings();
public boolean getXAErrorFlag()
return connection.getXAErrorFlag();
public boolean isClosed()
throws SQLException
return connection.isClosed();
public boolean isLogicalConnection()
return connection.isLogicalConnection();
public boolean isReadOnly()
throws SQLException
return connection.isReadOnly();
public String nativeSQL(String s)
throws SQLException
return connection.nativeSQL(s);
public Object openJoltConnection(String s, short word0, short word1)
return connection.openJoltConnection(s, word0, word1);
public void oracleReleaseSavepoint(OracleSavepoint oraclesavepoint)
throws SQLException
connection.oracleReleaseSavepoint(oraclesavepoint);
public void oracleRollback(OracleSavepoint oraclesavepoint)
throws SQLException
connection.oracleRollback(oraclesavepoint);
public OracleSavepoint oracleSetSavepoint()
throws SQLException
return connection.oracleSetSavepoint();
public OracleSavepoint oracleSetSavepoint(String s)
throws SQLException
return connection.oracleSetSavepoint(s);
public int pingDatabase(int i)
throws SQLException
return connection.pingDatabase(i);
public CallableStatement prepareCall(String s)
throws SQLException
return connection.prepareCall(s);
public CallableStatement prepareCall(String s, int i, int j)
throws SQLException
return connection.prepareCall(s, i, j);
public CallableStatement prepareCallWithKey(String s)
throws SQLException
return connection.prepareCallWithKey(s);
public PreparedStatement prepareStatement(String s)
throws SQLException
return connection.prepareStatement(s);
public PreparedStatement prepareStatement(String s, int i, int j)
throws SQLException
return connection.prepareStatement(s, i, j);
public PreparedStatement prepareStatementWithKey(String s)
throws SQLException
return connection.prepareStatementWithKey(s);
public void purgeExplicitCache()
throws SQLException
connection.purgeExplicitCache();
public void purgeImplicitCache()
throws SQLException
connection.purgeImplicitCache();
public void putDescriptor(String s, Object obj)
throws SQLException
connection.putDescriptor(s, obj);
public void registerApiDescription(String s, short word0, short word1, String
s1)
connection.registerApiDescription(s, word0, word1, s1);
public void registerSQLType(String s, Class class1)
throws SQLException
connection.registerSQLType(s, class1);
public void registerSQLType(String s, String s1)
throws SQLException
connection.registerSQLType(s, s1);
public void registerTAFCallback(OracleOCIFailover oracleocifailover, Object
obj)
throws SQLException
connection.registerTAFCallback(oracleocifailover, obj);
public void rollback()
throws SQLException
connection.rollback();
public void setAutoClose(boolean flag)
throws SQLException
connection.setAutoClose(flag);
public void setAutoCommit(boolean flag)
throws SQLException
connection.setAutoCommit(flag);
public void setCatalog(String s)
throws SQLException
connection.setCatalog(s);
public void setCreateStatementAsRefCursor(boolean flag)
connection.setCreateStatementAsRefCursor(flag);
public void setDefaultExecuteBatch(int i)
throws SQLException
connection.setDefaultExecuteBatch(i);
public void setDefaultRowPrefetch(int i)
throws SQLException
connection.setDefaultRowPrefetch(i);
public void setExplicitCachingEnabled(boolean flag)
throws SQLException
connection.setExplicitCachingEnabled(flag);
public void setImplicitCachingEnabled(boolean flag)
throws SQLException
connection.setImplicitCachingEnabled(flag);
public void setIncludeSynonyms(boolean flag)
connection.setIncludeSynonyms(flag);
public void setReadOnly(boolean flag)
throws SQLException
connection.setReadOnly(flag);
public void setRemarksReporting(boolean flag)
connection.setRemarksReporting(flag);
public void setRestrictGetTables(boolean flag)
connection.setRestrictGetTables(flag);
public void setSessionTimeZone(String s)
throws SQLException
connection.setSessionTimeZone(s);
public void setStatementCacheSize(int i)
throws SQLException
connection.setStatementCacheSize(i);
public void setStmtCacheSize(int i)
throws SQLException
connection.setStmtCacheSize(i);
public void setStmtCacheSize(int i, boolean flag)
throws SQLException
connection.setStmtCacheSize(i, flag);
public void setSynchronousMode(boolean flag)
connection.setSynchronousMode(flag);
public void setTransactionIsolation(int i)
throws SQLException
connection.setTransactionIsolation(i);
public void setTypeMap(Map map)
throws SQLException
connection.setTypeMap(map);
public void setUsingXAFlag(boolean flag)
connection.setUsingXAFlag(flag);
public void setWrapper(OracleConnection oracleconnection)
connection.setWrapper(oracleconnection);
public void setXAErrorFlag(boolean flag)
connection.setXAErrorFlag(flag);
public void shutdown(int i)
throws SQLException
connection.shutdown(i);
public void startup(String s, int i)
throws SQLException
connection.startup(s, i);
Util class to get Wrapped Connections from
datasource
package ejbTesting;
// j2ee imports
import javax.naming.InitialContext;
import javax.sql.DataSource;
// sql imports
import java.sql.Connection;
// imports from Oracle Driver Classes
import oracle.jdbc.OracleConnection;
* Wrapper class for the DataSource Connection from Weblogic pool
public class DataSourceConnectionWrapper
// datasource variable
private static transient DataSource datasource = null;
private static String dbName = "jdbc/workbench";
* Method that returns the database connection
public static Connection getConnection()
try
// initialsing the datasource object
initialiseDataSource ();
// Getting a connection from the datasource
Connection con = datasource.getConnection( );
// wrapping it custom wrapper class and
// returning the connection object
return new WeblogicConnectionWrapper((OracleConnection)con);
catch(Exception exception )
exception.printStackTrace();
return null;
private static void initialiseDataSource( ) throws Exception
if ( datasource == null )
try
InitialContext ic = new InitialContext( );
datasource = (DataSource) ic.lookup( dbName );
catch (Exception ne )
throw new Exception( "NamingException while looking up DataSource with
JNDI name" +
dbName + ": \n" + ne.getMessage( ) );
Exception Stack Trace
The line 46 in DataSourceConnectionWrapper
corresponds to
return new WeblogicConnectionWrapper((OracleConnection)con);
Which I feel is logical as the connection which we get from Weblogic
datasource cannot be type casted to OracleConnection
java.lang.ClassCastException: weblogic.jdbc.pool.Connection
at ejbTesting.DataSourceConnectionWrapper.getConnection(DataSourceConnectionWrapper.java:46) -
Which version should i install for Ubuntu 12.10 64bit
which version should i install i dont wanna use beta version ?
I am running on Ubuntu 12.10 64-bit.Firefox 21.0 for 64-bit Linux en-US
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/21.0/linux-x86_64/en-US/firefox-21.0.tar.bz2
If you prefer another language then see
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/21.0/linux-x86_64/
Otherwise you can get the new release from Ubuntu. -
Flash Player will not install for use with Firefox
I cannot install Flash into Firefox, To see Flash content, I must use Google Chrome...no problem there. Way back when, I had no problems with Firefox.
Though I am an administrator, I get the "insufficient permissions" message just before the installation is complete. I tried everything suggested in Adobe's help area in that regard.
What I have tried: A new administrator account. Making sure I was running the .exe program and Firefox as an administrator. Delete and reinstall Firefox. Use the uninstall from Adobe for Flash, and then try the reinstall. Disabling all security while doing all of this. Installing in Safe Mode. I spend a few hours on this every month or so.
A new install in Chrome happens. I even downloaded Commodo Dragon, and have the same trouble there...I feel like Chrome is wandering around inside there to keep me from using Firefox!!! I have been using Firefox for years, and still strongly prefer it, but I am about to give up.Could you check the progress of the install.
(1) Physical file location
The DLL is deposited in this folder:
C:\Windows\SysWOW64\Macromed\Flash
Can you find NPSWF32_11_9_900_170.dll there?
(2) Registry entry
If the file exists, the next link in the chain is the registry entry Adobe leaves for Firefox to find.
If you are comfortable using RegEdit, that should be here:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins\@adobe.com/FlashPlayer -
Which FrameWork is Best Suitable For Using AJAX with JAVA
And what are other differences between AJAX And Java Script other Than XMLHttpRequestObjects..i would be glad for any help or guidence given...
And what are other differences between AJAX And Java Script other Than XMLHttpRequestObjects..i would be glad for any help or guidence given...
Maybe you are looking for
-
RBAC configuration in Solaris 10
Hello All, I am trying to implement a script for resetting the users password without allowing user management (usrmgr group) to have direct access to password command by added this script in "usrmgr RBAC profile". Kindly let me know the syntax that
-
How do I delete photos that have been imported from my computor
I have tried everything but nothing seems to work in trying to clear my iphone of photos imported from my computor in error. Any help would be grateful. I am not very good with computors etc.!!!
-
Intergrated Camera B5400 listed as working but no picture
Hi, I have a B5400 laptop, my built in camera worked on purchase but has since stopped. It is listed in the device manager and says its working OK. When I try to use it on Skype I can record sound but no video. I have downloaded latest drivers and
-
Does Adobe Acrobat support opening files in tabs ?
Hi, I am wondering if we can open multiples PDF files in multiple tabs rather in separated windows (like webpages opened in tabs in Firefox or chrome..)? I didn't find such a feature in Adobe ! I found it in the free PDF viewer (X-change)! It is a gr
-
hello! i have a macbook 13', first generation with 2gb ram running OS 10.4.11, and i have very difficulty in working with excel. it is extremely slow in doing what so ever. i also have other problems but this is the one i hate the most, it is almost