Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [cdo] trying to run cdo with hibernate as back end
[cdo] trying to run cdo with hibernate as back end [message #1101333] Wed, 04 September 2013 06:15 Go to next message
saurav singh is currently offline saurav singh
Messages: 14
Registered: August 2013
Junior Member
when I am trying to run server following error is comming:
[ERROR] Store factory not found: hibernate

What is the reason for this error?

Thanks
Re: [cdo] trying to run cdo with hibernate as back end [message #1101339 is a reply to message #1101333] Wed, 04 September 2013 06:23 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5252
Registered: July 2009
Senior Member
Am 04.09.2013 12:15, schrieb saurav singh:
> when I am trying to run server following error is comming:
> [ERROR] Store factory not found: hibernate
>
> What is the reason for this error?
Please make sure that you deploy these plugins and all their dependencies:

org.eclipse.emf.cdo.server.hibernate
org.eclipse.emf.cdo.server.hibernate.teneo

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Re: [cdo] trying to run cdo with hibernate as back end [message #1101365 is a reply to message #1101339] Wed, 04 September 2013 07:13 Go to previous messageGo to next message
saurav singh is currently offline saurav singh
Messages: 14
Registered: August 2013
Junior Member
i installed every thing from

For CDO Hibernate Store 3.0 dependencies use these sites:

Hibernate and other 3rd party libs: http://www.elver.org/eclipse/update_1.1.2
Teneo: http://download.eclipse.org/modeling/emf/teneo/updates/1.1.2/interim/


but org.eclipse.emf.cdo.server.hibernate.teneo plug in is not there Sad
what should I do.
Re: [cdo] trying to run cdo with hibernate as back end [message #1101375 is a reply to message #1101365] Wed, 04 September 2013 07:25 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5252
Registered: July 2009
Senior Member
Am 04.09.2013 13:13, schrieb saurav singh:
> i installed every thing from
Where?

> For CDO Hibernate Store 3.0
You mean you're using CDO 3.0? I strongly recommend to use at least the latest (and only maintained) release, i.e. CDO 4.2.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



> dependencies use these sites:
>
> Hibernate and other 3rd party libs: http://www.elver.org/eclipse/update_1.1.2
> Teneo: http://download.eclipse.org/modeling/emf/teneo/updates/1.1.2/interim/
>
> but org.eclipse.emf.cdo.server.hibernate.teneo plug in is not there :(
> what should I do.
Re: [cdo] trying to run cdo with hibernate as back end [message #1101387 is a reply to message #1101375] Wed, 04 September 2013 07:47 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5162
Registered: July 2009
Senior Member
Hi Saurav,
It seems that you are using a quite old version, did you check this page:
http://wiki.eclipse.org/CDO_Hibernate_Store#Dependencies
http://wiki.eclipse.org/CDO/Hibernate_Store/Download_and_Install#Update_site_locations

(I updated the page a few mins back for the 4.2 and 4.3 versions)

gr. Martin

On 09/04/2013 01:25 PM, Eike Stepper wrote:
> Am 04.09.2013 13:13, schrieb saurav singh:
>> i installed every thing from
> Where?
>
>> For CDO Hibernate Store 3.0
> You mean you're using CDO 3.0? I strongly recommend to use at least the latest (and only maintained) release, i.e. CDO 4.2.
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
>> dependencies use these sites:
>>
>> Hibernate and other 3rd party libs: http://www.elver.org/eclipse/update_1.1.2
>> Teneo: http://download.eclipse.org/modeling/emf/teneo/updates/1.1.2/interim/
>>
>> but org.eclipse.emf.cdo.server.hibernate.teneo plug in is not there :(
>> what should I do.
>


--

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: [cdo] trying to run cdo with hibernate as back end [message #1101943 is a reply to message #1101387] Thu, 05 September 2013 02:06 Go to previous messageGo to next message
saurav singh is currently offline saurav singh
Messages: 14
Registered: August 2013
Junior Member
Thanks Eike & Martin Smile

Now the dependencies problem is solved- but when I am running the server following output is coming-

Configuration location:
file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/
Configuration file:
file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/config.ini loaded
Install location:
file:/home/saurav/eclipse/
Framework located:
file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Framework classpath:
file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Debug options:
file:/home/saurav/eclipse/.options not found

osgi> Time to load bundles: 379
Starting application: 1114
[INFO] CDO server starting
log4j: Trying to find [log4j.xml] using context classloader org.eclipse.core.runtime.internal.adaptor.ContextFinder@4406cef4.
log4j: Trying to find [log4j.xml] using org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@207ff5b6[org.apache.log4j:1.2.15.v201012070815(id=110)] class loader.
log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
log4j: Trying to find [log4j.properties] using context classloader org.eclipse.core.runtime.internal.adaptor.ContextFinder@4406cef4.
log4j: Trying to find [log4j.properties] using org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@207ff5b6[org.apache.log4j:1.2.15.v201012070815(id=110)] class loader.
log4j: Trying to find [log4j.properties] using ClassLoader.getSystemResource().
log4j: Could not find resource: [null].
log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.


create table cdo_package_info (
packageURI varchar(255) not null,
parentURI varchar(255),
cdo_package_unit_id varchar(255),
idx integer,
primary key (packageURI)
)

create table cdo_package_unit (
nsUri varchar(255) not null,
originalType varbinary(255),
timeStamp bigint,
EPackageBlob blob,
primary key (nsUri)
)

create table cdo_system_information (
id integer generated by default as identity (start with 1),
creationTime bigint,
primary key (id)
)

create table cdo_system_property (
name varchar(255) not null,
value longvarchar,
primary key (name)
)

alter table cdo_package_info
add constraint FK5702C978798F06A8
foreign key (cdo_package_unit_id)
references cdo_package_unit
Hibernate: select this_.id as id2_0_, this_.creationTime as creation2_2_0_ from cdo_system_information this_
Hibernate: insert into cdo_system_information (id, creationTime) values (default, ?)
[ERROR] org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;
java.lang.NoSuchMethodError: org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateRawCommitContext.<init>(HibernateRawCommitContext.java:49)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.<init>(HibernateStoreAccessor.java:129)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:442)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:1)
at org.eclipse.emf.cdo.spi.server.Store.getWriter(Store.java:374)
at org.eclipse.emf.cdo.internal.server.Repository.initSystemPackages(Repository.java:1647)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:679)

I am not getting the error. I changed the VM argument line

-Dlog4j.debug=true
to
-Dlog4j.configuration=file:/home/saurav/git/cdo/plugins/org.eclipse.emf.cdo.examples.hibernate.server/src/log4j.properties

now on running the server console is showing

Configuration location:
file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/
Configuration file:
file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/config.ini loaded
Install location:
file:/home/saurav/eclipse/
Framework located:
file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Framework classpath:
file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Debug options:
file:/home/saurav/eclipse/.options not found

osgi> Time to load bundles: 375
Starting application: 1110
[INFO] CDO server starting

create table cdo_package_info (
packageURI varchar(255) not null,
parentURI varchar(255),
cdo_package_unit_id varchar(255),
idx integer,
primary key (packageURI)
)

create table cdo_package_unit (
nsUri varchar(255) not null,
originalType varbinary(255),
timeStamp bigint,
EPackageBlob blob,
primary key (nsUri)
)

create table cdo_system_information (
id integer generated by default as identity (start with 1),
creationTime bigint,
primary key (id)
)

create table cdo_system_property (
name varchar(255) not null,
value longvarchar,
primary key (name)
)

alter table cdo_package_info
add constraint FK5702C978798F06A8
foreign key (cdo_package_unit_id)
references cdo_package_unit
Hibernate: select this_.id as id2_0_, this_.creationTime as creation2_2_0_ from cdo_system_information this_
Hibernate: insert into cdo_system_information (id, creationTime) values (default, ?)
[ERROR] org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;
java.lang.NoSuchMethodError: org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;

at org.eclipse.emf.cdo.server.internal.hibernate.HibernateRawCommitContext.<init>(HibernateRawCommitContext.java:49)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.<init>(HibernateStoreAccessor.java:129)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:442)
at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:1)
at org.eclipse.emf.cdo.spi.server.Store.getWriter(Store.java:374)
at org.eclipse.emf.cdo.internal.server.Repository.initSystemPackages(Repository.java:1647)
at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:679)

What should I do?
Thanks
Re: [cdo] trying to run cdo with hibernate as back end [message #1101953 is a reply to message #1101943] Thu, 05 September 2013 02:28 Go to previous messageGo to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5252
Registered: July 2009
Senior Member
To me it looks as if your bundle versions don't match together, i.e. org.eclipse.emf.cdo.common is too old for
org.eclipse.emf.cdo.server.hibernate. What versions do you use?

The method org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap() exists @since 4.2.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Am 05.09.2013 08:06, schrieb saurav singh:
> Thanks Eike & Martin :)
>
> Now the dependencies problem is solved- but when I am running the server following output is coming-
>
> Configuration location:
> file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/
> Configuration file:
> file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/config.ini loaded
> Install location:
> file:/home/saurav/eclipse/
> Framework located:
> file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
> Framework classpath:
> file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
> Debug options:
> file:/home/saurav/eclipse/.options not found
>
> osgi> Time to load bundles: 379
> Starting application: 1114
> [INFO] CDO server starting
> log4j: Trying to find [log4j.xml] using context classloader
> mailto:org.eclipse.core.runtime.internal.adaptor.ContextFinder@4406cef4.
> log4j: Trying to find [log4j.xml] using
> mailto:org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@207ff5b6[org.apache.log4j:1.2.15.v201012070815(id=110)] class
> loader.
> log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
> log4j: Trying to find [log4j.properties] using context classloader
> mailto:org.eclipse.core.runtime.internal.adaptor.ContextFinder@4406cef4.
> log4j: Trying to find [log4j.properties] using
> mailto:org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@207ff5b6[org.apache.log4j:1.2.15.v201012070815(id=110)] class
> loader.
> log4j: Trying to find [log4j.properties] using ClassLoader.getSystemResource().
> log4j: Could not find resource: [null].
> log4j:WARN No appenders could be found for logger (org.jboss.logging).
> log4j:WARN Please initialize the log4j system properly.
>
> create table cdo_package_info (
> packageURI varchar(255) not null,
> parentURI varchar(255),
> cdo_package_unit_id varchar(255),
> idx integer,
> primary key (packageURI)
> )
>
> create table cdo_package_unit (
> nsUri varchar(255) not null,
> originalType varbinary(255),
> timeStamp bigint,
> EPackageBlob blob,
> primary key (nsUri)
> )
>
> create table cdo_system_information (
> id integer generated by default as identity (start with 1),
> creationTime bigint,
> primary key (id)
> )
>
> create table cdo_system_property (
> name varchar(255) not null,
> value longvarchar,
> primary key (name)
> )
>
> alter table cdo_package_info add constraint FK5702C978798F06A8 foreign key (cdo_package_unit_id)
> references cdo_package_unit
> Hibernate: select this_.id as id2_0_, this_.creationTime as creation2_2_0_ from cdo_system_information this_
> Hibernate: insert into cdo_system_information (id, creationTime) values (default, ?)
> [ERROR] org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;
> java.lang.NoSuchMethodError: org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateRawCommitContext.<init>(HibernateRawCommitContext.java:49)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.<init>(HibernateStoreAccessor.java:129)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:442)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:1)
> at org.eclipse.emf.cdo.spi.server.Store.getWriter(Store.java:374)
> at org.eclipse.emf.cdo.internal.server.Repository.initSystemPackages(Repository.java:1647)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
> at java.lang.Thread.run(Thread.java:679)
>
> I am not getting the error. I changed the VM argument line
>
> -Dlog4j.debug=true
> to
> -Dlog4j.configuration=file:/home/saurav/git/cdo/plugins/org.eclipse.emf.cdo.examples.hibernate.server/src/log4j.properties
>
>
> now on running the server console is showing
> Configuration location:
> file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/
> Configuration file:
> file:/home/saurav/workspace/.metadata/.plugins/org.eclipse.pde.core/CDOHibernateServer/config.ini loaded
> Install location:
> file:/home/saurav/eclipse/
> Framework located:
> file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
> Framework classpath:
> file:/home/saurav/eclipse/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
> Debug options:
> file:/home/saurav/eclipse/.options not found
>
> osgi> Time to load bundles: 375
> Starting application: 1110
> [INFO] CDO server starting
>
> create table cdo_package_info (
> packageURI varchar(255) not null,
> parentURI varchar(255),
> cdo_package_unit_id varchar(255),
> idx integer,
> primary key (packageURI)
> )
>
> create table cdo_package_unit (
> nsUri varchar(255) not null,
> originalType varbinary(255),
> timeStamp bigint,
> EPackageBlob blob,
> primary key (nsUri)
> )
>
> create table cdo_system_information (
> id integer generated by default as identity (start with 1),
> creationTime bigint,
> primary key (id)
> )
>
> create table cdo_system_property (
> name varchar(255) not null,
> value longvarchar,
> primary key (name)
> )
>
> alter table cdo_package_info add constraint FK5702C978798F06A8 foreign key (cdo_package_unit_id)
> references cdo_package_unit
> Hibernate: select this_.id as id2_0_, this_.creationTime as creation2_2_0_ from cdo_system_information this_
> Hibernate: insert into cdo_system_information (id, creationTime) values (default, ?)
> [ERROR] org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;
> java.lang.NoSuchMethodError: org.eclipse.emf.cdo.common.id.CDOIDUtil.createMap()Ljava/util/Map;
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateRawCommitContext.<init>(HibernateRawCommitContext.java:49)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStoreAccessor.<init>(HibernateStoreAccessor.java:129)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:442)
> at org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore.createWriter(HibernateStore.java:1)
> at org.eclipse.emf.cdo.spi.server.Store.getWriter(Store.java:374)
> at org.eclipse.emf.cdo.internal.server.Repository.initSystemPackages(Repository.java:1647)
> at org.eclipse.emf.cdo.internal.server.Repository.doActivate(Repository.java:1864)
> at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:76)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:114)
> at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:104)
> at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:208)
> at org.eclipse.emf.cdo.spi.server.RepositoryConfigurator.configure(RepositoryConfigurator.java:111)
> at org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication.doStart(CDOServerApplication.java:61)
> at org.eclipse.net4j.util.om.OSGiApplication.start(OSGiApplication.java:63)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
> at java.lang.Thread.run(Thread.java:679)
>
> What should I do?
> Thanks
Re: [cdo] trying to run cdo with hibernate as back end [message #1102040 is a reply to message #1101953] Thu, 05 September 2013 05:17 Go to previous messageGo to next message
saurav singh is currently offline saurav singh
Messages: 14
Registered: August 2013
Junior Member
Thanks Eike Smile
I was using 4.1.0 version I updated the version and after making some other changes finally I managed to run the server and its working properly.

Smile Smile
Re: [cdo] trying to run cdo with hibernate as back end [message #1102148 is a reply to message #1102040] Thu, 05 September 2013 08:30 Go to previous messageGo to next message
saurav singh is currently offline saurav singh
Messages: 14
Registered: August 2013
Junior Member
Now my server is started. I am able to add elements and making hql queries. But there seems a problem. when I stop the server and restart it every thing I added in last session is gone Sad

What is the possible reason for the same?
Re: [cdo] trying to run cdo with hibernate as back end [message #1102222 is a reply to message #1102148] Thu, 05 September 2013 10:26 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5162
Registered: July 2009
Senior Member
Hi Saurav,
Maybe an obvious question (sorry if so).. but are you using an in-memory database?

gr. Martin

On 09/05/2013 02:30 PM, saurav singh wrote:
> Now my server is started. I am able to add elements and making hql queries. But there seems a problem. when I stop the
> server and restart it every thing I added in last session is gone :(
>
> What is the possible reason for the same?


--

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: [cdo] trying to run cdo with hibernate as back end [message #1102830 is a reply to message #1102222] Fri, 06 September 2013 01:35 Go to previous messageGo to next message
saurav singh is currently offline saurav singh
Messages: 14
Registered: August 2013
Junior Member
Hello Martin, I am using mysql database.
Re: [cdo] trying to run cdo with hibernate as back end [message #1102923 is a reply to message #1102830] Fri, 06 September 2013 03:47 Go to previous message
Martin Taal is currently offline Martin Taal
Messages: 5162
Registered: July 2009
Senior Member
Hi Saurav,
Okay, are you sure the actions you do on the client are send to the server? So are you committing the transaction?

gr. Martin

On 09/06/2013 07:35 AM, saurav singh wrote:
> Hello Martin, I am using mysql database.


--

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
Previous Topic:Track EMF Objects created
Next Topic:Exporting a default EMF editor as an eclipse product
Goto Forum:
  


Current Time: Tue Oct 08 07:44:28 EDT 2013

Powered by FUDForum. Page generated in 0.01871 seconds