You where right. I forgot a jarfile.
16524 [main] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
16524 [main] INFO org.hibernate.cfg.Configuration - processing extends queue
16534 [main] INFO org.hibernate.cfg.Configuration - processing collection mappings
16534 [main] INFO org.hibernate.cfg.Configuration - processing association property references
16534 [main] INFO org.hibernate.cfg.Configuration - processing foreign key constraints
16814 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
16814 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 20
16814 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
16834 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost:5432/EMF-MODEL-DB
16834 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=postgres, password=****}
17195 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: PostgreSQL, version: 8.0.2
17195 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.0 JDBC3 with SSL (build 310)
17225 [main] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.PostgreSQLDialect
17235 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
17235 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
17235 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
17235 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
17235 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: null
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
17235 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
17245 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
17245 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
17255 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
17285 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
17295 [main] WARN net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath:
bundleresource://3/ehcache-failsafe.xml17355 [main] ERROR saveepackage - save fails: org.hibernate.MappingException: could not interpret id generator strategy: vm
org.hibernate.MappingException: could not instantiate id generator
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:92)
at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:151)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:178)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
at model.persistence.genDAO.base._BaseRootDAO.initialize(_BaseRootDAO.java:54)
at model.persistence.genDAO.base._BaseRootDAO.initialize(_BaseRootDAO.java:41)
at model.persistence.genDAO.base._BaseRootDAO.initialize(_BaseRootDAO.java:32)
at model.persistence.genDAO.E_Package.saveepackage(E_Package.java:97)
at model.persistence.genDAO.E_Package.getpackagecontent(E_Package.java:176)
at model.persistence.genDAO.E_Package.getsubpackages(E_Package.java:149)
at model.persistence.genDAO.E_Package.getRoot(E_Package.java:141)
at model.ecore.Reader.savepackageDB(Reader.java:107)
at controller.ComputeDBAction.run(ComputeDBAction.java:44)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2773)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2432)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Caused by: org.hibernate.MappingException: could not interpret id generator strategy: vm
at org.hibernate.id.IdentifierGeneratorFactory.getIdentifierGeneratorClass(IdentifierGeneratorFactory.java:103)
at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFactory.java:86)
... 36 more
I'm using hibernate3 so I don't understand te problem with "net.sf" -path.