Skip to main content



      Home
Home » Modeling » EMF » Teneo/hibernate
Teneo/hibernate [message #903342] Thu, 23 August 2012 04:51 Go to next message
Eclipse UserFriend
Hello everybody,

I'm using hibernate and hsqldb and I want to change the database into oracle

My current hibernate url property looks like this:

hibernateProperties.setProperty(Environment.URL,"jdbc:hsqldb:hsql://localhost/amenity")

can I change it into something like:

hibernateProperties.setProperty(Environment.URL,"jdbc:oracle.......")?


Will the teneo mapping work fine?


Thank You
kind Regards
Re: Teneo/hibernate [message #903372 is a reply to message #903342] Thu, 23 August 2012 07:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi Zainab,
In addition you have to change the hibernate dialect.
The hibernate mapping should work for all databases supported by hibernate.

gr. Martin

On 08/23/2012 10:51 AM, zainab alhaidary wrote:
> Hello everybody,
>
> I'm using hibernate and hsqldb and I want to change the database into oracle
>
> My current hibernate url property looks like this:
> hibernateProperties.setProperty(Environment.URL,"jdbc:hsqldb:hsql://localhost/amenity")
>
> can I change it into something like:
>
> hibernateProperties.setProperty(Environment.URL,"jdbc:oracle.......")?
>
>
> Will the teneo mapping work fine?
>
>
> Thank You kind Regards


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: Teneo/hibernate [message #903382 is a reply to message #903372] Thu, 23 August 2012 08:44 Go to previous message
Eclipse UserFriend
Thank You so much Smile
Previous Topic:[CDO] dbAdapter MySQL Problem
Next Topic:[CDO] What does CDO_VERSION -2 signify?
Goto Forum:
  


Current Time: Wed Jul 23 08:18:45 EDT 2025

Powered by FUDForum. Page generated in 0.28576 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top