Skip to content

Making Life Simple

Tech Tips and Tricks

Menu

Primary menu

  • Home

Category Archives: oracle

Oracle connection with JDBC – JNDI

Posted on January 14, 2009 by lalit — No Comments ↓

Using JNDI javax.naming.Context context = new javax.naming.InitialContext(); javax.sql.DataSource ds =  (javax.sql.DataSource) context.lookup(“java:comp/env/jdbc/XXXJNDINAMEXXX”); java.sql.Connection con = ds.getConnection();

Posted in java, oracle | Tagged java, jdbc, jndi | Leave a reply

oracle XE “cannot access http://127.0.0.1:8080/apex”

Posted on December 26, 2008 by lalit — 1 Comment ↓

I had installed oracle XE on CentOS and was not able to connect to web admin for past two days. Finally after a long two days of search, found this. Thanks!

Posted in linux, oracle | Tagged oracle | 1 Reply

Oracle XE Tuning

Posted on December 4, 2008 by lalit — 2 Comments ↓

In order to use Oracle XE under normal load, database sessions and processes need to be increased. This could be some as follows: SQL> show parameters sessions SQL> alter system set sessions=250 scope=spfile; SQL> show parameters processes SQL> alter system Continue reading Oracle XE Tuning→

Posted in oracle | Tagged oracle | 2 Replies

Import tables to a different tablespace?

Posted on January 30, 2007 by lalit — No Comments ↓

Oracle offers no parameter to specify a different tablespace to import data into. Objects will be re-created in the tablespace they were originally exported from. One can alter this behaviour by following one of these procedures: Pre-create the table(s) in Continue reading Import tables to a different tablespace?→

Posted in oracle | Tagged oracle | Leave a reply

Getting n of m rows in a query – Oracle 9i and +

Posted on April 5, 2006 by lalit — No Comments ↓

select * from ( select a.*, rownum rnum from ( YOUR_QUERY_GOES_HERE — including the order by ) a where rownum <= MAX_ROWS ) where rnum >= MIN_ROWS

Posted in oracle | Tagged oracle | Leave a reply

Primary Sidebar Widget Area

Recent Posts

  • Unable to run metrics-server in K8 cluster
  • Switched to Ubuntu from Windows
  • Enable minimize on click
  • Enable Mate desktop with vnc
  • SHA Collision

Recent Comments

  • kinogo on How to check GMail RSS/Atom feed
  • http://activeedgenutrition.com on How to check GMail RSS/Atom feed
  • tester on How to check GMail RSS/Atom feed
  • Sweety Mehta on How to create RoR app with PostgreSQL support
  • lalit on Oracle XE Tuning

Archives

  • April 2021
  • August 2020
  • January 2020
  • December 2019
  • July 2019
  • July 2018
  • March 2016
  • May 2015
  • March 2015
  • September 2014
  • July 2014
  • April 2014
  • November 2013
  • October 2013
  • August 2013
  • July 2013
  • June 2013
  • March 2013
  • October 2012
  • August 2012
  • May 2012
  • January 2012
  • November 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2010
  • January 2010
  • September 2009
  • July 2009
  • January 2009
  • December 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • June 2007
  • March 2007
  • February 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • September 2006
  • August 2006
  • July 2006
  • June 2006
  • May 2006
  • April 2006
  • March 2006
  • February 2006
  • January 2006

Categories

  • apache
  • css
  • general web
  • git
  • hibernate
  • java
  • javascript
  • kubernetes
  • linux
  • mysql
  • news
  • oracle
  • php
  • python
  • RoR
  • struts
  • Uncategorized
  • Windoze

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2025 Making Life Simple. All Rights Reserved.
Theme: Catch Box by Catch Themes
Scroll Up