sqlite with java + hibernate

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

sqlite with java + hibernate

Christoph Langewisch
Hello,

I'm looking for an embedded SQL database and found SQLite. Now I need some
information I did not found at the page or in documentation.

Is it possible to use this database with Java and in particular with
hibernate?

To integrate a database in hibernate there is the following needed:
hibernate.dialect
hibernate.connection.driver_class
hibernate.connection.url

Best regards

Christoph Langewisch

- - - - -
Dipl.-Inform. Christoph Langewisch        Tel: +49-89-747377-67
TESIS DYNAware GmbH                       Fax: +49-89-747377-99
Baierbrunner Str. 15               http://www.tesis.de/dynaware
D-81379 M?nchen                           [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: sqlite with java + hibernate

Kervin L. Pierre
SQLite is a great database, but if you're
using Java, why not use something like
Apache Derby ( http://db.apache.org/derby/ )?

Regards,
Kervin

Christoph Langewisch wrote:

> Hello,
>
> I'm looking for an embedded SQL database and found SQLite. Now I need some
> information I did not found at the page or in documentation.
>
> Is it possible to use this database with Java and in particular with
> hibernate?
>
> To integrate a database in hibernate there is the following needed:
> hibernate.dialect
> hibernate.connection.driver_class
> hibernate.connection.url
>
> Best regards
>
> Christoph Langewisch
>
> - - - - -
> Dipl.-Inform. Christoph Langewisch        Tel: +49-89-747377-67
> TESIS DYNAware GmbH                       Fax: +49-89-747377-99
> Baierbrunner Str. 15               http://www.tesis.de/dynaware
> D-81379 M?nchen                           [hidden email]
>
>
>
>