🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15382

Re: database in JDBC

#15382
From: Max Polk
Date: Tue, 15 Jun 1999 00:00
18 lines
1427 bytes
In article <3766A8DD.50A03D35@iol.it>, mariopino@iol.it says...
> how can i create a database in jbuilder without using jbcl???
> I want to use the method
> 
> interbase.interclient.Server.createDatabase()

If you are a beginner, go to Sun's site and take their short JDBC 
tutorial.  For the time being, suffice it to say that when you use JDBC, 
it is a matter of first registering the right JDBC driver, then opening a 
connection to the database using a database URL (fancy way of saying the 
name of the driver as well as the database name as a long string).

Once you have a JDBC connection open, you can create statements and 
execute them, or execute updates, and so on.  Remember that JDBC is a 
generic way to access a relational database server.  The only time you 
make a hard link to one database server or another is when you load the 
JDBC driver.  After that, you could be talking to Oracle, or some ODBC 
source, or Interbase, or whatever.  It's all generic.
Technical Details
Message-ID: <MPG.11d0d598a98a12459896f8@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3766A8DD.50A03D35@iol.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,830f8c25cff4cd63
X-Google-Attributes: gidf74b3,public
From: none@none.invalid (Max Polk)
Subject: Re: database in JDBC
Date: 1999/06/15
Message-ID: <MPG.11d0d598a98a12459896f8@forums.borland.com>
X-Deja-AN: 490087659
References: <3766A8DD.50A03D35@iol.it>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language