Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: Cannot modify resource set without a write transaction
Re: Cannot modify resource set without a write transaction [message #613999] Wed, 16 January 2008 13:42
Ed Merks is currently offline Ed MerksFriend
Messages: 31478
Registered: July 2009
Senior Member
Fred,

This looks to be mostly a Teneo aspect of your question, so I've added
the EMFT newsgroup to the reply.


fred wrote:
> other information I can give you :
>
> when I launch my editor for the first time with an empty database, all
> tables are created successfully.
> but the second time I launch the editor, tables allready exist and an
> error occured :
> 1469 [main] DEBUG org.hibernate.util.JDBCExceptionReporter - could
> not get table metadata: championnat [???]
> java.sql.SQLException: ORA-00942: Table ou vue inexistante
> at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java: 134)
> at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
> at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
> at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973 )
> at
> oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol .java:1119)
> at
> oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleSta tement.java:2191)
>
> at
> oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStat ement.java:2064)
>
> at
> oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(Orac leStatement.java:2989)
>
> at
> oracle.jdbc.driver.OracleStatement.executeUpdate(OracleState ment.java:891)
>
> at
> oracle.jdbc.OracleDatabaseMetaData.getIndexInfo(OracleDataba seMetaData.java:3285)
>
> at
> org.hibernate.tool.hbm2ddl.TableMetadata.initIndexes(TableMe tadata.java:130)
>
> at
> org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata.java:35)
> at
> org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata (DatabaseMetadata.java:90)
>
> at
> org.hibernate.cfg.Configuration.generateSchemaUpdateScript(C onfiguration.java:948)
>
> at
> org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate .java:140)
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.updateDatabaseSc hema(HbDataStore.java:578)
>
> at
> org.eclipse.emf.teneo.hibernate.HbDataStore.initializeDataSt ore(HbDataStore.java:213)
>
> at
> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:77)
>
> at
> org.eclipse.emf.teneo.hibernate.HbUtil.getCreateDataStore(Hb Util.java:204)
>
> at
> org.eclipse.emf.teneo.hibernate.resource.HibernateResource.<init >(HibernateResource.java:123)
>
> at
> org.eclipse.emf.teneo.hibernate.resource.HibernateResourceFa ctory.createResource(HibernateResourceFactory.java:36)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.createRe source(ResourceSetImpl.java:418)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandCr eateResource(ResourceSetImpl.java:240)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:392)
>
> at
> ProtoTournoi.diagram.part.ProtoTournoiInitDiagramFileAction. run(ProtoTournoiInitDiagramFileAction.java:109)
>
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:256)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO][0.8.0] Nested Transaction
Next Topic:Re: Cannot modify resource set without a write transaction
Goto Forum:
  


Current Time: Thu Sep 24 06:10:11 GMT 2020

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

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

Back to the top