AD

JAVA to access firebird database of Jaybird

JAVA to access firebird database of Jaybird



About Jaybird-2.1.6JDK_1.5 used as follows:
First: Install Jaybird
The first step: the root directory
jaybird21.dll,
GDS32.DLL,
icudt30.dll,
icuuc30.dll,
fbembed.dll,
icuin30.dll
fbclient.dll (FB type for non-embedded database connection is required)
These files in system32 the following step: the jaybird, the three jar files in the appropriate application classpath, the then third step:
Loading examples:
On the use of instance documents DataSourceExample.java non-embedded FB if database is connected, then
dataSource.setType ("EMBEDDED"); to dataSource.setType ("LOCAL")
【DataSourceExample.java source file is located, if not modified, the display can not connect successfully】
Second:
java is written in the connection file:
driverName = "org.firebirdsql.jdbc.FBDriver";
URLName = "jdbc: firebirdsql: embedded: E: / Project / test.fdb";
user = "sysdba";
password = "masterkey";
Today: The FB database for a long time, with reference to the information users would be grateful! Success in MyEclipse6.0.1 debug, share this with you.
DLL Resources: See my resources! ! !
标签: long time, database connection, project test, source file, root directory, firebird, jar files, java source
分类: Database
时间: 2011-01-02

相关文章

  1. JAVA access firebird database of Jaybird

    JAVA access firebird database of Jaybird About Jaybird-2.1.6JDK_1.5 use as follows: First: Install Jaybird The ...
  2. JAVA connection ACCESS, SQL Server, MySQL, Oracle Database

    import java.sql .*; / * * JAVA connection ACCESS, SQL Server, MySQL, Oracle Database * * * / public class JDBC ...
  3. Dao spring + hibernate framework of several ways to access the database

    In the spring + hibernate in the structure, there are several ways to access the database by spring dependency ...
  4. Cache and connection pool to access the database on the performance of

    Acquaintance cache and connection pool Envisage such a scenario: You suddenly feel thirsty, need a glass of wa ...
  5. Java security access denied exception on the solution

    Applet in a Web page to access the database when the implementation of the following exception: java.security. ...
  6. Applet and access Mysql database performance test and found some problems to find a solution.

    I was doing a feature words of data mining small test, I use java + access + jdbc for development. Requirement ...
  7. Applet and access Mysql database performance test, causing some problems to find a solution.

    I was doing a feature words of data mining small test, I use java + access + jdbc for development. Requirement ...
  8. Weblogic access oracle database connection pool configuration (change)

    Sql Code Weblogic access oracle database connection pool can be used three kinds of ways to configure JDBC One ...
  9. Access postgreSQL database using nhibernate

    Using nhibernate access postgreSQL database is relatively simple, first introduce the development environment. ...
  10. How to ban a specific IP to access Oracle database

    Tong Guo database server side sqlnet.ora file can be achieved restrict specified IP Host Access database funct ...
  11. Lightweight SQLite database on a simple wrapper class to access the database SQLiteHelper

    Recently I was doing some small programs, small projects, there used to lightweight database SQLite, SQLite da ...
  12. [Change] C # Windows service timer implementation cycle to access the database to send SMS

    Source: chrome: / / newtab / The so-called Windows background services that run the program automatically in t ...
  13. Flash can not directly access the database because

    Why not directly access the database FLASH , Why FLASH must pass before they can access the database backend l ...
  14. Android, how to access the database in the project approach?

    Android, how to access the database in the project approach? FileOutputStream outputStream = openFileOutput(&q ...
  15. Linux using C / C + + to access the database

    Linux using C / C + + to access the database - MySQL articles OA system to write a set of recent, in order to ...
  16. Iptables port forwarding in Linux to access the database to achieve Jump

    Scenarios: Suppose A, B, C three devices, A <==> B can visit each other, B <==> C can access each ...
  17. Fine-grained access control database

    Background According to control the thickness of the object level access control can be divided into two commo ...
  18. Suddenly unable to access the database, can only sysdba

    Suddenly unable to access the database, only sysdba can visit. Check the alert file: Fri Jan 8 11:41:40 2010 T ...
  19. java使用JNA(Java Native Access)调用dll的方法

    java使用JNA(Java Native Access)调用windows系统的dll文件的例子 JNA(Java Native Access):建立在JNI之上的Java开源框架,SUN主导开发,用来调用C.C++代 ...