Codedrop™ Weblog

Drop’n some code and other tech tidbits…
  • Home
  • Google Shared
  • About Me
  • Reference Links
Rss feed Subscribe

Entries for the ‘Oracle’ Category

Grails and Oracle XMLDB (XMLType)

Apr.30, 2010 in Grails, Oracle Comments Off

Trying to integrate support for Oracle XMLDB in a grails app didn’t turn out to be as straightforward as you might think.  By putting the xmlparserv2.jar file in the $GRAILS_HOME/lib folder I was suddenly presented with SAX parse errors…
Luckily I stumbled across this post by Graeme Rocher who had a similar problem and identified [...]

Using Oracle’s CONNECT BY to generate time slices.

Aug.19, 2009 in Databases, Oracle Comments Off

A very useful feature of Oracle is the ‘CONNECT BY’ command. I make use of this whenever I need to generate any SQL output that has any sequential data as a key to the query. For example, a report of the number of logins per day or per hour.
To use connect by [...]

Returning raw XML string from Oracle XDB within Groovy / Grails

Jul.13, 2009 in Databases, Java, Oracle Comments Off

Here’s a quick solution for trying to extract the raw xml string from an Oracle XDB database when working with Grails.
After an initial attempt to hardcode a hibernate query to return the raw sql using .getStringVal() as follows:
SELECT x.id, x.xmlData xmldata.getStringVal(), lines.*
FROM xml_requests x
XMLTable(‘declare [...]

Tags: Grails, Groovy, Oracle, XMLDB

Oracle 10.2.0.1 installation on Fedora 8

Jul.22, 2008 in Linux, Oracle Comments Off

Below are the installation note’s I captured in installing Oracle10.2.0.1 on a Fedora 8 workstation. For some reason installations ofOracle on Fedora linux in past never went as smooth as hoped.. I washowever relatively happy with how things turned out on F8 and its niceto see some of the old problems, like hanging during [...]

Tags: Fedora, Oracle
  
  • Tag Cloud

    Blackberry Capistrano certificate Configuration CSS DNS-323 DOS Dreamhost EMS Fedora firebug GMail Google Grails Groovy ie Java jQuery JSF Linux Mac Mac OSX MacPorts Memory Migrations Oracle PERL Rails Ruby Safari SOAP WebService Spring SSL Tibco Time Machine toolbar Trac UI video sony m2ts vlc VMWare Windows XMLDB

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • Blogroll

    • A List Apart
    • Anassina
    • Just Be Kuz
    • Mashable
    • Poker Dreams Online
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Calendar

    September 2010
    M T W T F S S
    « May    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Categories

    • Databases (5)
      • Oracle (4)
    • Dreamhost (1)
    • General (25)
    • Google (1)
    • Mobile (1)
    • OS (17)
      • Linux (11)
      • Mac OSX (5)
      • Windows (2)
    • Programming (26)
      • Build Automation (3)
      • Grails (1)
      • Java (8)
      • JBoss (1)
      • jQuery (1)
      • JSF (1)
      • MySQL (1)
      • PERL (1)
      • Rails (4)
      • Ruby (3)
    • Security (1)
    • Spring (1)
    • Tibco (4)
  • Recent Posts

    • How to address TIBCO (Send HTTP Request) SSL Certificate Problems
    • Grails and Oracle XMLDB (XMLType)
    • Getting ‘YYYYMMDDhhmmss’ date format in a MS Windows script… yuck!
    • Mysql, Rmagick on Snow Leopard, Homebrew to the rescue!
    • Use your DNS-323 for Time Machine backups.


Green Web Hosting! This site hosted by DreamHost.

© 2007 Codedrop™ Weblog - SafiTech Theme

Full RSS - Comments RSS

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.