SQLJ Reference

This is the source distribution of the SQLJ reference implementation

You must have JDK1.1 or later, JavaCC 0.7.1, GNUmake, and Unix utilities
to compile this source distribution.

If you want to install and compile the sources right away, you can run
gmake and follow the instructions that are displayed.


Oracle, IBM, Sybase, Tandem, Informix, Microsoft, Sun Microsystems, and
others have produced the SQLJ Standard for embedding static SQL statements
and constructs in Java programs (ANSI proposal X3H2 98-227).

SQLJ is a way to reduce the development and maintenance costs of Java
programs that require Database connectivity. SQLJ provides a simpler model
for Java code containing static SQL Statements (SQL which does not change each
time you run your application or applet. Applications typically contain
much more static SQL than dynamic SQL).

The reductions in the development and maintenance costs arise because SQLJ
uses an easier methodology of embedding SQL directly into Java programs,
resulting in code that is more concise and more legible. SQLJ can further
make coding easier by providing compile-time checks on the SQL statements
your application uses. In using dynamic SQL API’s such as JDBC, you won’t
find out if your SQL is syntactically or semantically wrong until you test
the line in your code which runs it.

This implementation is intended to work with any standard JDBC Driver running
against any Database Management System.

For more information visit the SQLJ homepage at


or Oracle’s SQLJ homepage at


If you have questions or suggestions about SQLJ, please send email to:



This distribution contains the source code of the SQLJ reference
implementation. Unless you want to:
– write SQLJ profile customizations, e.g. to support features or
additional databases,
– write SQLJ SQL checkers for particular databases, or
– embed the SQLJ preprocessor in IDE environments
you will probably not need to use this distribution.

Also note, that this distribution contains SOURCE ONLY. Documentation of
the SQLJ specification and the SQLJ preprocessor is packaged with the
binary SQLJ Reference Distribution

This source distribution contains
- this file [README]
- a GNU makefile for building and compiling the source [GNUmakefile]
- a makefile include for specifying the location for generated classes
- one subdirectory for each of the Java packages that make up SQLJ


(1) Unzip the distribution file as per operating system instructions below.
The sources will be installed in a directory sqlj/src.

gzip -dc sqlj___RELEASEFILE__src.tgz | tar xvf -

Use Winzip to unzip sqlj___RELEASEFILE__src.zip to sqlj___RELEASEFILE__src_stored.zip
and then unzip that file.

(2) SQLJ uses Java 1.1 or later. You can download a Java 1.1 or later
development kit from:


SQLJ uses JavaCC 0.7.1 and the Java 1.1 grammar provided with it.
You can download JavaCC (including jjtree) version 0.7.1 from


The Java 1.1 grammar is copyright by Sun Microsystems and can not be
included in this distribution. However, you can obtain it from:


Once you have downloaded it, you must place the Java1.1.jj file into
this directory to allow gmake to continue.

(3) Edit the ClassRepository file to make the repository variable
point to the directory where you want the compiled class files
to be placed.

(4) The oracle.util.javadep package is not part of SQLJ proper.
However, since it is used for ‘gmake depend’ targets, it is also built.

(5) After you have retrieved Java1.1.jj and made changes to ClassRepository,
you can build and compile the source by typing ‘gmake’.

Other targets:
gmake clean – removes created classes and files
gmake all – rebuilds all packages
gmake depend – rebuilds intra-package dependencies
gmake javadoc – creates Javadoc pages for all packages


There is no official Oracle support for this source distribution.

However, your may direct suggestions for fixes and enhancements to:



Oracle expressly places this Software in the public domain.
However, Oracle grants no other rights, whether express or
implied, to users of this Software, and Oracle provides this
Software on an “AS-IS” basis, exclusive of any warranty
including, without limitation, all warranties of merchantability
or fitness for a particular purpose, noninfringement or any other
warranty, whether expressed or implied. You use this Software at
your own risk and agree that Oracle shall not be liable for any
damages, including but not limited to, direct, indirect, incidental,
special, cover, reliance, or consequential damages, arising from
your use of the Software.


SQLJ is built with the Java Compiler Compiler Version 0.7.1 (Parser Generator)
which is Copyright (c) 1996, 1997 Sun Microsystems Inc.

SQLJ utilizes a modified version of the Java Compiler Compiler grammar for
Java 1.1, which is Copyright (C) 1996, 1997 Sun Microsystems Inc.

Posted in SQLJ Articles | Leave a comment

CampgroundViews.com – Napa County Fairgrounds Calistoga RV Park – Calistoga California

CampgroundViews.com takes user submitted videos combined with professional editing to provide campers and RV owners with a first person view of campgrounds a…
Video Rating: 1 / 5

Find More Calistoga Videos

Posted in Napa Valley Videos | Tagged , , , , , , | Comments Off

Fly from Napa Valley and enjoy our Hot Air Balloon Rides

Fly from Napa Valley and enjoy our Hot Air Balloon Rides.

Enjoy the Q&A from a special Springtime screening of the amazing documentary “Twenty Feet From Stardom” with director Morgan Neville and one of the film’s st…

More Napa Valley Videos

Posted in Napa Valley Videos | Tagged , , , , , | 7 Comments

Napa Valley Rocks – Viticulture

Viticulture – the process of growing grapes – is an inherent collaboration between people and place. “Napa Valley Rocks: Viticulture” shares some of the secr…

Reupload – Improved quality! 3DO/PSX OST From the 3DO and Playstation release of the series. The music is from the Napa Valley race course. Recorded in real …
Video Rating: 4 / 5

Related Napa Valley Videos

Posted in Napa Valley Videos | Tagged , , , | 6 Comments

Cat Loader – Calistoga Lighted Tractor Parade 2010

Recorded on December 4, 2010 using a Flip Video camcorder.
Video Rating: 5 / 5

More Calistoga Videos

Posted in Napa Valley Videos | Tagged , , , , , | Comments Off

Stan Getz – Vintage Getz – Live In The Napa Valley 1983 – Part 1

Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, t…

Posted in Napa Valley Videos | Tagged , , , , , , , | Comments Off

Cool Movie images

Some cool movie images:


Flash fired with ebay remote. 580EX II at 1/4 power on stand at waist level from behind through "smoke". A bit of editing on the left side of the photo to remove ugly background.

Day 147 of 365 (Year Two)

We finally managed to make it to the new Indiana Jones movie. While I didn’t think it was as good as the first one, none of the following movies were, it was good. It wasn’t what I expected and I was a bit surprised by the direction they took with the story, but it was fun.

I had issues with refrigerator scene and it felt a bit forced to me. I didn’t really see the purpose in it other than to give us a frame of reference for the timing of the movie. Lead lined or not, you really had to suspend reality to buy into that, but then, considering the direction the story took, it fit right in. Of course, you don’t go see an Indian Jones movie expecting reality.

For once, there were no crying babies in the theater, but we did have a row of kids behind us that I had to shush several times. One of them had no idea what a whisper was and even his friends started shushing him when he would talk, which I was pleased to see (and hear).

A special thanks to Kathy who helped with the set up and shooting.

Learn how to light at Strobist.

Posted in Film Images | Tagged , , | 37 Comments

New British Film Festival talks

A few nice British film images I found:

New British Film Festival talks

British Council Russia
Lynne Ramsay’s talk on how to be a successful film director / Семинар Линн Рэмзи "Как стать успешным режиссером"
8 November / 8 ноября

New British Film Festival talks

British Council Russia

Maksymilian Baron (The directing duo – Jones)
Maksymilian Baron and Michael Woodward Making (The directing duo – Jones) / Максимилиан Бэрон и Майкл Вудворд (режиссерский дуэт Jones)
Q&A session after the screening / Дискуссия после показа

Photo by Renat Mullagalliev / Фотограф Ренат Муллагалиев

Related British Film Images

Posted in Film Images | Tagged , , , | Comments Off

Nice Napa Valley photos

A few nice napa valley images I found:

DSC24527, Darioush Winery, Napa Valley, California, USA
napa valley

Darioush, a winery noted for its Bordeaux style estate wines, implements old world labor-intensive, micro-vineyard management and new world state of the art technology to craft fine wines from its estates located in the appellations of Napa Valley, Mt. Veeder and Oak Knoll. Under the direction of Darioush Khaledi and winemaker Steve Devitt, precision and quality are of the utmost importance at the winery.

The Property
Darioush welcomes guests to its new visitor center and winery beginning August 16, 2004. The new architectural building comes after five years in the making, and combines materials, castings, and furnishings from distant lands and exotic locations. The 22,000 square foot winery, the first in America to combine architecture, design and Persian culture, provides a unique and exhilarating experience in California’s most renowned wine destination. Reminiscent of the great noble architecture that once existed, the imagery of the Darioush building evokes Persepolis, the illustrious capital of ancient Persia.

The Khaledi’s Persian heritage is the inspiration and vision for the winery, designed by architects Ardeshir and Roshan Nozari, incorporating clean, contemporary lines with historical references to Persia’s ancient capital city. One of the most important aspects of the Persian culture is hospitality, and the winery is designed to create a welcoming, enjoyable as well as a rich and intriguing environment for guests. Visitors will receive unparalleled service and a sensational experience.

“The juxtaposition of modern clean lines and historical references represent the philosophy of our office,” states Ardeshir Nozari, who incorporated many intriguing architectural elements throughout the building. Among the design features of interest are the 16 monumental 18’ freestanding columns with capital bulls, which act as stone trees at the entrance of the winery, elevating visitor expectations. Richly textured travertine-stone cladding surrounds the entire building. This yellow stone was quarried near the region of Persepolis and exported to Turkey and Italy for cutting and tumbling before it reached the Silverado Trail in Napa. Additional design features include pre-cast moldings, furniture, fireplaces, ironwork, lighting, cellars, and an amphitheatre for performances and events.

The Visitor Center boasts a state of the art facility offering a unique one-on-one experience to taste the complete line of signature wines with options for indoor and outdoor seating. Six outdoor water features with fountains and one indoor rolling wall of water comprise some of the sights and sounds of the guest experience. Lush and varied landscaping creates a sequence of continuous gardens, which lead the visitors to the winery.

DSC20269, Castello di Amorosa Winery, Napa Valley, California, USA
napa valley

Tour Castello di Amorosa a 12th century Tuscan castle-winery where you may taste world-class Napa Valley wines made by a fourth generation winemaking family in a tradition of over 120 years.

The Winery: After decades of researching and studying medieval castles throughout Europe, Dario Sattui began his marathon building project in 1993.

The 121,000 square foot Castello includes, 107 unique rooms, 8,000 tons of hand-squared stones, 8 levels (4 below ground), 900 feet of caves, a completely hand-painted Great Hall, a drawbridge, moat, dungeon and torture chamber, a consecrated chapel, one of the most impressive wine barrel rooms in the U.S. constructed with ancient brick Roman cross-vaulted ceilings.

Yet, the Castle is merely a backdrop to showcase some of Napa Valley’s best wines. The castle produces a tiny 15,000 cases which are sold only at the winery; directly to the customer.

The Vineyards and Wines: Castello di Amorosa has 30 acres of vineyards surrounding its great, hand-chiseled walls, gates, and guard towers, planted with Sangiovese, Merlot and Cabernet Sauvignon which produce low yields and intensely flavored wines. The Castle produces hand-crafted Italian style wines including Pinot Grigio, Pinot Bianco and a Super Tuscan Blend all made to pair beautifully with food.

More Napa Valley Images

Posted in Napa Valley Images | Tagged , , , | Comments Off

Battle for the Planet of the Apes

Check out these hollywood film images:

Battle for the Planet of the Apes
hollywood film

The "Battle" sequel (top) was the 5th and, thank goodness, the last of the Ape sequels. I love the first Ape movie and the second was alright. But the last three just get stupid.
"The most suspenseful showdown ever filmed as two civilizations battle for the right to inherit what’s left of the earth!", was the tagline that 20th Century Fox used to promote the film. Pathetic, because this battle of all battles couldn’t have involved more that 60 to 70 individuals all together.
The location of the Ape City for this film took place beneath the umbrella of trees at the edge of the grassy area of the large group campground at Malibu Creek Park.

Battle for the Planet of the Apes
hollywood film

The "Battle" sequel was the 5th and, thank goodness, the last of the Ape sequels. I love the first Ape movie and the second was alright. But the last three just get stupid.
"The most suspenseful showdown ever filmed as two civilizations battle for the right to inherit what’s left of the earth!", was the tagline that 20th Century Fox used to promote the film. Pathetic, because this battle of all battles couldn’t have involved more that 60 to 70 individuals all together.
This grassy area where the final battle takes place is the large group campground at the now Malibu Creek Park. You might remember this location as the area where the humans were hunted down in the corn fields during the first Planet of the Apes movie.

Find More Hollywood Film Images

Posted in Film Images | Tagged , , | Comments Off

Napa Valley Wine Train Dinner Train deadhead 9-28-12

Location: Soscol Avenue, Napa, CA Train: Napa Valley Dinner Train Engines: NVRR FPA4 #73 NVRR FPA4 #71.
Video Rating: 5 / 5

Posted in Napa Valley Videos | Tagged , , , , , , | 5 Comments