Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Teneo/hibernate
Teneo/hibernate [message #903342] Thu, 23 August 2012 08:51 Go to next message
zainab alhaidary is currently offline zainab alhaidary
Messages: 20
Registered: April 2012
Junior Member
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 11:44 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5335
Registered: July 2009
Senior Member
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 12:44 Go to previous message
zainab alhaidary is currently offline zainab alhaidary
Messages: 20
Registered: April 2012
Junior Member
Thank You so much Smile
Previous Topic:[CDO] dbAdapter MySQL Problem
Next Topic:[CDO] What does CDO_VERSION -2 signify?
Goto Forum:
  


Current Time: Tue Sep 30 11:52:41 GMT 2014

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

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