<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>news.eclipse.tools.emf</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/maillist.html</link>
		<description>NewsGroup: news.eclipse.tools.emf</description>
		<language>en-us</language>
		<pubDate>Sat, 04 Jul 2009 22:32:19 GMT</pubDate>
		<lastBuildDate>Sat, 04 Jul 2009 22:32:19 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>news.eclipse.tools.emf</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/maillist.html</link>
		</image>
 

	<item>
		<title>[news.eclipse.tools.emf] EAttribute.getDefaultValue returns Integer(0) when upperbound=-1 and eDataType is integer</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42237.html</link>
		<description>Hi, I am debugging for CDO-Teneo and found that when calling EAttribute.getDefaultValue() for an EAttribute with upperbound -1 and EDataType int that a value of Integer 0 is returned. I am wondering is this correct/intended behavior? I myself would expect ...</description>
		<content:encoded><![CDATA[<tt>Hi,<br>
I am debugging for CDO-Teneo and found that when calling EAttribute.getDefaultValue() for an EAttribute with upperbound 
-1 and EDataType int that a value of Integer 0 is returned. I am wondering is this correct/intended behavior?<br>
I myself would expect a null value.</tt><br>
<br>
<pre style="margin: 0em;">--</pre><br>
<pre style="margin: 0em;">With Regards, Martin Taal</pre><br>
<pre style="margin: 0em;">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@xxxxxxxxxxxxxx - mtaal@xxxxxxxxx
Web: www.springsite.com - www.elver.org</pre><br>
]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 22:17:04 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42237.html</guid>
		<author>mtaal@xxxxxxx (Martin Taal)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] Re: java.lang.AbstractMethodError in	registerEntityNameResolvers</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42236.html</link>
		<description> -- 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@xxxxxxxxxxxxxx - mtaal@xx...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Harald,
Which Teneo version are you using? Only the latest Teneo 1.1.1 maintenance build works with hibernate 3.3.2 GA.</pre><br>
<pre style="margin: 0em;">See also a post with this title a few days back:
Teneo 1.0.4/Teneo 1.1.1 Maintenance Builds, Hibernate version, xsd:any/xsd:anytype</pre><br>
<pre style="margin: 0em;">I checked but I still can't find this build on an update site... :-(. Will check this further.</pre><br>
<pre style="margin: 0em;">In the mean time you can download the 1.1.1 build directly on this page (scroll a little down).
<a  href="http://www.eclipse.org/modeling/emf/downloads/?showAll=1&amp;project=teneo&amp;hlbuild=M200906300456#M200906300456">http://www.eclipse.org/modeling/emf/downloads/?showAll=1&amp;project=teneo&amp;hlbuild=M200906300456#M200906300456</a></pre><br>
<pre style="margin: 0em;">gr. Martin</pre><br>
<tt>Harald Finster wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hello,</pre><br>
<pre style="margin: 0em;">I am just trying to create a very basic hibernate/teneo/emf/rcp project.
After several hours of experimenting, reading, re-configuring ...</pre><br>
<pre style="margin: 0em;">My application follows the QuickStart example (with the 'main' in a
plugin forming a RCP application).
I create a simple EMF package. And try to set up a datastore
as follows:</pre><br>
<pre style="margin: 0em;"><br>Hibernate is located in a separate plugin.
The MySql driver is also in a separate plugin.
The buddy-stuff seems to work. (The driver can be resolved.)</pre><br>
<pre style="margin: 0em;"><br>This is the setup code:</pre><br>
<pre style="margin: 0em;">String dbName = &quot;library&quot;;
String hbName = &quot;MySF&quot;;
HbDataStore hbds = (HbDataStore) HbHelper.INSTANCE
				.createRegisterDataStore(hbName);</pre><br>
<pre style="margin: 0em;">		
final Properties props = new Properties();
props.setProperty(Environment.DRIVER, &quot;com.mysql.jdbc.Driver&quot;);
props.setProperty(Environment.USER, &quot;finster&quot;);
props.setProperty(Environment.URL, &quot;jdbc:mysql://127.0.0.1:3306/&quot;+dbName);
props.setProperty(Environment.PASS, &quot;xxxxx&quot;);
props.setProperty(Environment.DIALECT,
	org.hibernate.dialect.MySQLInnoDBDialect.class.getName());
hbds.setProperties(props);</pre><br>
<pre style="margin: 0em;">hbds.setEPackages(new EPackage[] { libPackage });</pre><br>
<pre style="margin: 0em;">hbds.initialize();
		</pre><br>
<pre style="margin: 0em;">When I try hbd.initialize() the following error (attached below) is issued.</pre><br>
<pre style="margin: 0em;"><br>Can anyone give me a pointer please?</pre><br>
<pre style="margin: 0em;">Kind regards</pre><br>
<pre style="margin: 0em;">Harald</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">!SESSION 2009-07-04 21:45:26.738
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_10-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application TestRCP_EMF_Hibernate1.application
Command-line arguments:  -application TestRCP_EMF_Hibernate1.application
-data
/home/finster/EMBED/workspace/../runtime-TestRCP_EMF_Hibernate1.application
-dev
file:/home/finster/EMBED/workspace/.metadata/.plugins/org.eclipse.pde.core/TestRCP_EMF_Hibernate1.application/dev.properties
-os linux -ws gtk -arch x86_64</pre><br>
<pre style="margin: 0em;">!ENTRY org.eclipse.osgi 4 0 2009-07-04 21:45:29.491
!MESSAGE Application error
!STACK 1
java.lang.AbstractMethodError
	at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameResolvers(SessionFactoryImpl.java:440)
	at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameResolvers(SessionFactoryImpl.java:435)
	at
org.hibernate.impl.SessionFactoryImpl.&lt;init&gt;(SessionFactoryImpl.java:330)
	at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
	at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSessionFactory(HbSessionDataStore.java:171)
	at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initialize(HbSessionDataStore.java:83)
	at
testrcp_emf_hibernate1.ApplicationWorkbenchAdvisor.setUpSampleEMF(ApplicationWorkbenchAdvisor.java:102)
	at
testrcp_emf_hibernate1.ApplicationWorkbenchAdvisor.createWorkbenchWindowAdvisor(ApplicationWorkbenchAdvisor.java:23)
	at
org.eclipse.ui.internal.WorkbenchWindow.getWindowAdvisor(WorkbenchWindow.java:3437)
	at
org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1284)
	at org.eclipse.ui.internal.WorkbenchWindow.&lt;init&gt;(WorkbenchWindow.java:398)
	at
org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workbench3xImplementation.java:31)
	at
org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1731)
	at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1729)
	at
org.eclipse.ui.internal.Workbench$19.runWithException(Workbench.java:1023)
	at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
	at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
	at
org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
	at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
	at
org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1379)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2335)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at testrcp_emf_hibernate1.Application.start(Application.java:20)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br>=============================</pre><br>
<pre style="margin: 0em;">This is the output of the log at hibernate/teneo startup:</pre><br>
<pre style="margin: 0em;">=============================</pre><br>
<pre style="margin: 0em;">9 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.2.GA
11 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not
found
14 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name :
javassist
16 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
java.sql.Timestamp handling
411 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: Book -&gt; book
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
setDefaultProperties
WARNING: No hibernate cache provider set, using
org.hibernate.cache.HashtableCacheProvider
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
setDefaultProperties
WARNING: For production use please set the ehcache (or other) provider
explicitly and configure it
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
setDefaultProperties
INFO: Hibernate property: hibernate.hbm2ddl.auto not set, setting to update
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.fetch_containment_eagerly: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.password: xxxxxx
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_fk_name_prefix:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.cache.provider_class:
org.hibernate.cache.HashtableCacheProvider
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.version_column: e_version
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.disable_econtainer: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.username: finster
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.econtainer_feature_persistence_strategy: FEATURENAME
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.default_cache_strategy: NONE
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.sql_name_escape_character: `
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.set_default_cascade_on_non_containment:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.map_all_lists_as_idbag: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.max_sql_name_length: -1
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.default_temporal: TIMESTAMP
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.emap_as_true_map: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.default_varchar_length: -1
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.default_id_column: e_id
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.also_map_as_class: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.add_index_for_fk: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.join_table_naming_strategy: unique
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.runtime.handle_unset_as_null: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.XSDDateClass: javax.xml.datatype.XMLGregorianCalendar
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.always_version: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.idbag_id_column_name: ID
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.max_comment_length: 0
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_table_name_prefix:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.set_entity_automatically: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.hibernate_mapping_file: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.set_foreign_key_name: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.cascade_policy_on_containment: ALL
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.id_feature_as_primary_key: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.set_generated_value_on_id_feature: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.driver_class: com.mysql.jdbc.Driver
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.runtime.update_schema: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_discriminator_version_immutable_eclass: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.strategy: lowercase
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.always_map_list_as_bag: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.UserDateTimeType:
org.eclipse.emf.teneo.hibernate.mapping.XSDDateTime
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.url: jdbc:mysql://127.0.0.1:3306/library
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.dialect: org.hibernate.dialect.MySQLInnoDBDialect
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.join_column_naming_strategy: unique
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.set_proxy: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.UserDateType:
org.eclipse.emf.teneo.hibernate.mapping.XSDDate
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.cascade_policy_on_non_containment:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.ignore_eannotations: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.hbm2ddl.auto: update
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.default_id_feature: e_id
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.map_embeddable_as_embedded: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.optimistic_locking: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_column_name_prefix:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.join_table_for_non_contained_associations: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.cascade_all_on_containment:
485 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- Using Hibernate built-in connection pool (not for production use!)
486 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- Hibernate connection pool size: 20
486 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- autocommit mode: false
492 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- using driver: com.mysql.jdbc.Driver at URL:
jdbc:mysql://127.0.0.1:3306/library
492 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- connection properties: {user=finster, password=****}
685 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL,
version: 5.0.45
685 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver:
MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.7 ( Revision:
${svn.Revision} )
701 [main] INFO org.hibernate.dialect.Dialect - Using dialect:
org.hibernate.dialect.MySQLInnoDBDialect
704 [main] INFO org.hibernate.transaction.TransactionFactoryFactory -
Using default transaction strategy (direct JDBC transactions)
705 [main] INFO
org.hibernate.transaction.TransactionManagerLookupFactory - No
TransactionManagerLookup configured (in JTA environment, use of
read-write or transactional second-level cache is not recommended)
705 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush
during beforeCompletion(): disabled
705 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session
close at end of transaction: disabled
705 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
705 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates
for versioned data: disabled
706 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result
sets: enabled
706 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3
getGeneratedKeys(): enabled
706 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release
mode: auto
706 [main] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join
fetch depth: 2
707 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch
size: 1
707 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with
comments: disabled
707 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by
primary key: disabled
707 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts
for batching: disabled
707 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
708 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using
ASTQueryTranslatorFactory
708 [main] INFO org.hibernate.cfg.SettingsFactory - Query language
substitutions: {}
708 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict
compliance: disabled
708 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache:
enabled
708 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
710 [main] INFO org.hibernate.cfg.SettingsFactory - Cache region factory
: org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
711 [main] INFO
org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge - Cache
provider: org.hibernate.cache.HashtableCacheProvider
711 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for
minimal puts: disabled
711 [main] INFO org.hibernate.cfg.SettingsFactory - Structured
second-level cache entries: disabled
714 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
714 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity
synthetic identifier rollback: disabled
714 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode:
pojo
714 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking
: enabled
745 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session
factory</pre><br>
<br>
</blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">--</pre><br>
<pre style="margin: 0em;">With Regards, Martin Taal</pre><br>
<pre style="margin: 0em;">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@xxxxxxxxxxxxxx - mtaal@xxxxxxxxx
Web: www.springsite.com - www.elver.org</pre><br>
]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 21:15:06 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42236.html</guid>
		<author>mtaal@xxxxxxx (Martin Taal)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] java.lang.AbstractMethodError in	registerEntityNameResolvers</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42235.html</link>
		<description>Hello, I am just trying to create a very basic hibernate/teneo/emf/rcp project. After several hours of experimenting, reading, re-configuring ... My application follows the QuickStart example (with the 'main' in a plugin forming a RCP application). I creat...</description>
		<content:encoded><![CDATA[<pre>Hello,

I am just trying to create a very basic hibernate/teneo/emf/rcp project.
After several hours of experimenting, reading, re-configuring ...

My application follows the QuickStart example (with the 'main' in a
plugin forming a RCP application).
I create a simple EMF package. And try to set up a datastore
as follows:


Hibernate is located in a separate plugin.
The MySql driver is also in a separate plugin.
The buddy-stuff seems to work. (The driver can be resolved.)


This is the setup code:

String dbName = &quot;library&quot;;
String hbName = &quot;MySF&quot;;
HbDataStore hbds = (HbDataStore) HbHelper.INSTANCE
				.createRegisterDataStore(hbName);

		
final Properties props = new Properties();
props.setProperty(Environment.DRIVER, &quot;com.mysql.jdbc.Driver&quot;);
props.setProperty(Environment.USER, &quot;finster&quot;);
props.setProperty(Environment.URL, &quot;jdbc:mysql://127.0.0.1:3306/&quot;+dbName);
props.setProperty(Environment.PASS, &quot;xxxxx&quot;);
props.setProperty(Environment.DIALECT,
	org.hibernate.dialect.MySQLInnoDBDialect.class.getName());
hbds.setProperties(props);

hbds.setEPackages(new EPackage[] { libPackage });

hbds.initialize();
		

When I try hbd.initialize() the following error (attached below) is issued.


Can anyone give me a pointer please?

Kind regards

Harald



!SESSION 2009-07-04 21:45:26.738
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_10-rc
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application TestRCP_EMF_Hibernate1.application
Command-line arguments:  -application TestRCP_EMF_Hibernate1.application
-data
/home/finster/EMBED/workspace/../runtime-TestRCP_EMF_Hibernate1.application
-dev
file:/home/finster/EMBED/workspace/.metadata/.plugins/org.eclipse.pde.core/TestRCP_EMF_Hibernate1.application/dev.properties
-os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2009-07-04 21:45:29.491
!MESSAGE Application error
!STACK 1
java.lang.AbstractMethodError
	at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameResolvers(SessionFactoryImpl.java:440)
	at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameResolvers(SessionFactoryImpl.java:435)
	at
org.hibernate.impl.SessionFactoryImpl.&lt;init&gt;(SessionFactoryImpl.java:330)
	at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
	at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSessionFactory(HbSessionDataStore.java:171)
	at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initialize(HbSessionDataStore.java:83)
	at
testrcp_emf_hibernate1.ApplicationWorkbenchAdvisor.setUpSampleEMF(ApplicationWorkbenchAdvisor.java:102)
	at
testrcp_emf_hibernate1.ApplicationWorkbenchAdvisor.createWorkbenchWindowAdvisor(ApplicationWorkbenchAdvisor.java:23)
	at
org.eclipse.ui.internal.WorkbenchWindow.getWindowAdvisor(WorkbenchWindow.java:3437)
	at
org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1284)
	at org.eclipse.ui.internal.WorkbenchWindow.&lt;init&gt;(WorkbenchWindow.java:398)
	at
org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workbench3xImplementation.java:31)
	at
org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1731)
	at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1729)
	at
org.eclipse.ui.internal.Workbench$19.runWithException(Workbench.java:1023)
	at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
	at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
	at
org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
	at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4113)
	at
org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1379)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2335)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at testrcp_emf_hibernate1.Application.start(Application.java:20)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)






=============================

This is the output of the log at hibernate/teneo startup:

=============================

9 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.2.GA
11 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not
found
14 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name :
javassist
16 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
java.sql.Timestamp handling
411 [main] INFO org.hibernate.cfg.HbmBinder - Mapping class: Book -&gt; book
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
setDefaultProperties
WARNING: No hibernate cache provider set, using
org.hibernate.cache.HashtableCacheProvider
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
setDefaultProperties
WARNING: For production use please set the ehcache (or other) provider
explicitly and configure it
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
setDefaultProperties
INFO: Hibernate property: hibernate.hbm2ddl.auto not set, setting to update
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.fetch_containment_eagerly: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.password: xxxxxx
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_fk_name_prefix:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.cache.provider_class:
org.hibernate.cache.HashtableCacheProvider
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.version_column: e_version
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.disable_econtainer: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.username: finster
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.econtainer_feature_persistence_strategy: FEATURENAME
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.default_cache_strategy: NONE
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.sql_name_escape_character: `
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.set_default_cascade_on_non_containment:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.map_all_lists_as_idbag: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.max_sql_name_length: -1
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.default_temporal: TIMESTAMP
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.emap_as_true_map: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.default_varchar_length: -1
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.default_id_column: e_id
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.also_map_as_class: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.add_index_for_fk: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.join_table_naming_strategy: unique
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.runtime.handle_unset_as_null: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.XSDDateClass: javax.xml.datatype.XMLGregorianCalendar
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.always_version: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.idbag_id_column_name: ID
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.max_comment_length: 0
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_table_name_prefix:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.set_entity_automatically: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.hibernate_mapping_file: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.set_foreign_key_name: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.cascade_policy_on_containment: ALL
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.id_feature_as_primary_key: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.set_generated_value_on_id_feature: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.driver_class: com.mysql.jdbc.Driver
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.runtime.update_schema: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_discriminator_version_immutable_eclass: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.strategy: lowercase
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.always_map_list_as_bag: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.UserDateTimeType:
org.eclipse.emf.teneo.hibernate.mapping.XSDDateTime
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.connection.url: jdbc:mysql://127.0.0.1:3306/library
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.dialect: org.hibernate.dialect.MySQLInnoDBDialect
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.join_column_naming_strategy: unique
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.set_proxy: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.UserDateType:
org.eclipse.emf.teneo.hibernate.mapping.XSDDate
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.cascade_policy_on_non_containment:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.ignore_eannotations: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: hibernate.hbm2ddl.auto: update
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.default_id_feature: e_id
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.map_embeddable_as_embedded: false
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.optimistic_locking: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.naming.sql_column_name_prefix:
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.join_table_for_non_contained_associations: true
Jul 4, 2009 9:45:29 PM org.eclipse.emf.teneo.hibernate.HbDataStore
logProperties
INFO: teneo.mapping.cascade_all_on_containment:
485 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- Using Hibernate built-in connection pool (not for production use!)
486 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- Hibernate connection pool size: 20
486 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- autocommit mode: false
492 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- using driver: com.mysql.jdbc.Driver at URL:
jdbc:mysql://127.0.0.1:3306/library
492 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider
- connection properties: {user=finster, password=****}
685 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: MySQL,
version: 5.0.45
685 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver:
MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.7 ( Revision:
${svn.Revision} )
701 [main] INFO org.hibernate.dialect.Dialect - Using dialect:
org.hibernate.dialect.MySQLInnoDBDialect
704 [main] INFO org.hibernate.transaction.TransactionFactoryFactory -
Using default transaction strategy (direct JDBC transactions)
705 [main] INFO
org.hibernate.transaction.TransactionManagerLookupFactory - No
TransactionManagerLookup configured (in JTA environment, use of
read-write or transactional second-level cache is not recommended)
705 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush
during beforeCompletion(): disabled
705 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session
close at end of transaction: disabled
705 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
705 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates
for versioned data: disabled
706 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result
sets: enabled
706 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3
getGeneratedKeys(): enabled
706 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release
mode: auto
706 [main] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join
fetch depth: 2
707 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch
size: 1
707 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with
comments: disabled
707 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by
primary key: disabled
707 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts
for batching: disabled
707 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
708 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using
ASTQueryTranslatorFactory
708 [main] INFO org.hibernate.cfg.SettingsFactory - Query language
substitutions: {}
708 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict
compliance: disabled
708 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache:
enabled
708 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
710 [main] INFO org.hibernate.cfg.SettingsFactory - Cache region factory
: org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
711 [main] INFO
org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge - Cache
provider: org.hibernate.cache.HashtableCacheProvider
711 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for
minimal puts: disabled
711 [main] INFO org.hibernate.cfg.SettingsFactory - Structured
second-level cache entries: disabled
714 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
714 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity
synthetic identifier rollback: disabled
714 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode:
pojo
714 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking
: enabled
745 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session
factory



</pre>]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 20:01:08 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42235.html</guid>
		<author>hfinster@xxxxxxx (Harald Finster)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] Re: The definitive truth about multiple	inheritance</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42234.html</link>
		<description>Hello MDT/UML2 users, I had a question on model code generation, but, thanks to Ed, I now believe that the question is more MDT/UML2 specific. The model contains a class TempleteableActivityNode that inherits from both the class Templeteable and the class ...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hello MDT/UML2 users,</pre><br>
<tt>I had a question on model code generation, but, thanks to Ed, I now 
believe that the question is more MDT/UML2 specific.</tt><br>
<br>
<tt>The model contains a class TempleteableActivityNode that inherits from 
both the class Templeteable and the class ActivityNode. The class 
ActivityNode contains the attribute &quot;incoming&quot; with multiplicty 0..* .</tt><br>
<br>
<pre style="margin: 0em;">This attribute &quot;incoming&quot; is implemented in ActivityNodeImpl as :
public EList&lt;ActivityEdge&gt; getIncomings()
and as :
public ActivityEdge getIncoming(String name)</pre><br>
<tt>In the generated model code class TempleteableActivityNode, the method 
&quot;public EList&lt;ActivityEdge&gt; getIncomings()&quot; is implemented, but not the 
method &quot;public ActivityEdge getIncoming(String name)&quot;, what leads to an 
error :<br>
&quot;The type TempleteableActivityNodeImpl must implement the inherited 
abstract method ActivityNode.getIncoming(String)&quot;</tt><br>
<br>
<pre style="margin: 0em;">Have you an idea of where I am wrong ?</pre><br>
<pre style="margin: 0em;">Thank you ...</pre><br>
<pre style="margin: 0em;">Guillaume Vauvert</pre><br>
<tt>Thanks you Ed for your help  : you guide me to investigate more deeply 
my problem.</tt><br>
<br>
<tt><br>Ed Merks a &#xE9;crit :<br>
&gt; Guillaume,<br>
&gt;<br>
&gt; The UML project has an extended GenModel and has specialized some of 
the templates for generating the code.  Perhaps that's part of what's 
going on...<br>
&gt; I do have UML installed, so if you export to a zip the project with 
your model, I should be able to reproduce what you're seeing and 
determine if there's a bug in how EOperations are handled in a multiple 
inheritance scenario...<br>
&gt;<br>
&gt; I suspect that you need to use UML's extended GenModel if you extend 
the UML model.  I've added the UML2 newsgroup to the &quot;to&quot;list of the 
reply for their comments about how one should extend UML2...<br>
&gt;<br>
&gt;<br>
&gt; Guillaume Vauvert wrote:<br>
&gt;&gt; Ed,<br>
&gt;&gt;<br>
&gt;&gt; Ed Merks a &#xE9;crit :<br>
&gt;&gt;&gt;&gt; So :<br>
&gt;&gt;&gt;&gt; - A inherits from Action<br>
&gt;&gt;&gt;&gt; - C inherits from Class<br>
&gt;&gt;&gt; Class is a bit of a confusing name.<br>
&gt;&gt;&gt;&gt; - D inherits from both A and C<br>
&gt;&gt;&gt;&gt; So simple when it is clear !<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The generated code :<br>
&gt;&gt;&gt;&gt; - the class DImpl extends the class AImpl : it is OK.<br>
&gt;&gt;&gt;&gt; - the class DImpl implements the interface D ; the interface D 
extends the interface A and the interface C.<br>
&gt;&gt;&gt;&gt;     - the class DImpl inherits methods from AImpl : so it 
implements the interface A;<br>
&gt;&gt;&gt;&gt;     - the class DImpl contains methods that are declared in the 
interface C ;<br>
&gt;&gt;&gt;&gt;     - BUT DImpl does not contain methods that are inherited by the 
interface C from the interface Class.<br>
&gt;&gt;&gt; Did you declare all these methods in Ecore's version of Class?  I'm 
suspicious about that name...<br>
&gt;&gt; I am building a Modeling Language that extends UML.<br>
&gt;&gt; I am using platform:/plugin/org.eclipse.uml2.uml/model/UML.core as 
model of UML.<br>
&gt;&gt; The metaclass Class (using ECore) declares the EOperation 
&quot;ownedOperation&quot;.<br>
&gt;&gt; In the generated class DImpl, I obtain a class that should contains 
the implementation of getOwnedReception() (from the interface C). 
Instead, I have a class DImpl that lacks this method ; so, Eclipse Java 
IDE saids :<br>
&gt;&gt; &quot;The type DImpl must implement the inherited abstract method 
Class.getOwnedReception(String, EList&lt;String&gt;, EList&lt;Type&gt;)&quot;<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; And do you see a solution ... ?<br>
&gt;&gt;&gt; I'd suggest you provide an example model that I can use to 
reproduce the problem.  Then I can tell you if the problem is your model 
or in the framework.<br>
&gt;&gt; Even if my example is exactly what I descrived before, I can provide 
it,  but how (future generations of newsgroups users must be able to see 
the model !) ?<br>
&gt;&gt;<br>
&gt;&gt; I feel the light closer ...<br>
&gt;&gt;<br>
&gt;&gt; Thanks !<br>
&gt;&gt;<br>
&gt;&gt; Guillaume Vauvert<br>
&gt;&gt; <a  href="http://www.ixmas.org">http://www.ixmas.org</a></tt><br>
<br>
]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 10:38:54 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42234.html</guid>
		<author>gvauvert@xxxxxxx (Guillaume Vauvert)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] Re: The definitive truth about multiple	inheritance</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42233.html</link>
		<description> Class is a bit of a confusing name. Did you declare all these methods in Ecore's version of Class?  I'm suspicious about that name... I am building a Modeling Language that extends UML. I am using platform:/plugin/org.eclipse.uml2.uml/model/UML.core as mo...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td bgcolor="#ffffff" style="background-color: #ffffff; color: #000000; "><font color="#000000">



Guillaume,<br>
<br>
This definitely sounds UML specific.&nbsp; Try using the text editor to
replace this<small><br>
</small>
<blockquote><small>xmlns:genmodel=<a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/emf/2002/GenModel">"http://www.eclipse.org/emf/2002/GenModel"</a></small><br>
</blockquote>
with this<br>
<blockquote><small>xmlns:genmodel=<a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/uml2/2.2.0/GenModel">"http://www.eclipse.org/uml2/2.2.0/GenModel"</a></small><br>
</blockquote>
I.e., trying changing it to be the UML project's derived GenModel.&nbsp;
That should ensure that UML's generator specializations kick in.<br>
<br>
Also, try avoid doing reply-all on newsgroup postings so they don't
also end up in my personal in-box. :-P<br>
<br>
<br>
Try to avoid doing reply-all<br>
<br>
Guillaume Vauvert wrote:
<blockquote cite="" type="cite">Hello
MDT/UML2 users,
  <br>
  <br>
I had a question on model code generation, but, thanks to Ed, I now
believe that the question is more MDT/UML2 specific.
  <br>
  <br>
The model contains a class TempleteableActivityNode that inherits from
both the class Templeteable and the class ActivityNode. The class
ActivityNode contains the attribute "incoming" with multiplicty 0..* .
  <br>
  <br>
This attribute "incoming" is implemented in ActivityNodeImpl as :
  <br>
public EList&lt;ActivityEdge&gt; getIncomings()
  <br>
and as :
  <br>
public ActivityEdge getIncoming(String name)
  <br>
  <br>
In the generated model code class TempleteableActivityNode, the method
"public EList&lt;ActivityEdge&gt; getIncomings()" is implemented, but
not the method "public ActivityEdge getIncoming(String name)", what
leads to an error :
  <br>
"The type TempleteableActivityNodeImpl must implement the inherited
abstract method ActivityNode.getIncoming(String)"
  <br>
  <br>
Have you an idea of where I am wrong ?
  <br>
  <br>
Thank you ...
  <br>
  <br>
Guillaume Vauvert
  <br>
  <br>
Thanks you Ed for your help&nbsp; : you guide me to investigate more deeply
my problem.
  <br>
  <br>
  <br>
Ed Merks a &eacute;crit :
  <br>
  <blockquote type="cite">Guillaume,
    <br>
    <br>
The UML project has an extended GenModel and has specialized some of
the templates for generating the code.&nbsp; Perhaps that's part of what's
going on...
    <br>
I do have UML installed, so if you export to a zip the project with
your model, I should be able to reproduce what you're seeing and
determine if there's a bug in how EOperations are handled in a multiple
inheritance scenario...
    <br>
    <br>
I suspect that you need to use UML's extended GenModel if you extend
the UML model.&nbsp; I've added the UML2 newsgroup to the "to"list of the
reply for their comments about how one should extend UML2...
    <br>
    <br>
    <br>
Guillaume Vauvert wrote:
    <br>
    <blockquote type="cite">Ed,
      <br>
      <br>
Ed Merks a &eacute;crit :
      <br>
      <blockquote type="cite">
        <blockquote type="cite">So :
          <br>
- A inherits from Action
          <br>
- C inherits from Class
          <br>
        </blockquote>
Class is a bit of a confusing name.
        <br>
        <blockquote type="cite">- D inherits from both A and C
          <br>
So simple when it is clear !
          <br>
          <br>
The generated code :
          <br>
- the class DImpl extends the class AImpl : it is OK.
          <br>
- the class DImpl implements the interface D ; the interface D extends
the interface A and the interface C.
          <br>
&nbsp;&nbsp;&nbsp; - the class DImpl inherits methods from AImpl : so it implements
the interface A;
          <br>
&nbsp;&nbsp;&nbsp; - the class DImpl contains methods that are declared in the
interface C ;
          <br>
&nbsp;&nbsp;&nbsp; - BUT DImpl does not contain methods that are inherited by the
interface C from the interface Class.
          <br>
        </blockquote>
Did you declare all these methods in Ecore's version of Class?&nbsp; I'm
suspicious about that name...
        <br>
      </blockquote>
I am building a Modeling Language that extends UML.
      <br>
I am using platform:/plugin/org.eclipse.uml2.uml/model/UML.core as
model of UML.
      <br>
The metaclass Class (using ECore) declares the EOperation
"ownedOperation".
      <br>
In the generated class DImpl, I obtain a class that should contains the
implementation of getOwnedReception() (from the interface C). Instead,
I have a class DImpl that lacks this method ; so, Eclipse Java IDE
saids :
      <br>
"The type DImpl must implement the inherited abstract method
Class.getOwnedReception(String, EList&lt;String&gt;,
EList&lt;Type&gt;)"
      <br>
      <br>
      <blockquote type="cite">
        <blockquote type="cite">And do you see a solution ... ?
          <br>
        </blockquote>
I'd suggest you provide an example model that I can use to reproduce
the problem.&nbsp; Then I can tell you if the problem is your model or in
the framework.
        <br>
      </blockquote>
Even if my example is exactly what I descrived before, I can provide
it,&nbsp; but how (future generations of newsgroups users must be able to
see the model !) ?
      <br>
      <br>
I feel the light closer ...
      <br>
      <br>
Thanks !
      <br>
      <br>
Guillaume Vauvert
      <br>
<a class="moz-txt-link-freetext" href="http://www.ixmas.org">http://www.ixmas.org</a>
      <br>
    </blockquote>
  </blockquote>
</blockquote>


</font></td></tr></table>]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 09:10:33 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42233.html</guid>
		<author>Ed.Merks@xxxxxxx (Ed Merks)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] Re: The definitive truth about multiple	inheritance</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42232.html</link>
		<description>Hello MDT/UML2 users, I had a question on model code generation, but, thanks to Ed, I now believe that the question is more MDT/UML2 specific. The model contains a class TempleteableActivityNode that inherits from both the class Templeteable and the class ...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hello MDT/UML2 users,</pre><br>
<tt>I had a question on model code generation, but, thanks to Ed, I now 
believe that the question is more MDT/UML2 specific.</tt><br>
<br>
<tt>The model contains a class TempleteableActivityNode that inherits from 
both the class Templeteable and the class ActivityNode. The class 
ActivityNode contains the attribute &quot;incoming&quot; with multiplicty 0..* .</tt><br>
<br>
<pre style="margin: 0em;">This attribute &quot;incoming&quot; is implemented in ActivityNodeImpl as :
public EList&lt;ActivityEdge&gt; getIncomings()
and as :
public ActivityEdge getIncoming(String name)</pre><br>
<tt>In the generated model code class TempleteableActivityNode, the method 
&quot;public EList&lt;ActivityEdge&gt; getIncomings()&quot; is implemented, but not the 
method &quot;public ActivityEdge getIncoming(String name)&quot;, what leads to an 
error :<br>
&quot;The type TempleteableActivityNodeImpl must implement the inherited 
abstract method ActivityNode.getIncoming(String)&quot;</tt><br>
<br>
<pre style="margin: 0em;">Have you an idea of where I am wrong ?</pre><br>
<pre style="margin: 0em;">Thank you ...</pre><br>
<pre style="margin: 0em;">Guillaume Vauvert</pre><br>
<tt>Thanks you Ed for your help  : you guide me to investigate more deeply 
my problem.</tt><br>
<br>
<tt><br>Ed Merks a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Guillaume,</pre><br>
<tt>The UML project has an extended GenModel and has specialized some of the 
templates for generating the code.  Perhaps that's part of what's going 
on...<br>
I do have UML installed, so if you export to a zip the project with your 
model, I should be able to reproduce what you're seeing and determine if 
there's a bug in how EOperations are handled in a multiple inheritance 
scenario...</tt><br>
<br>
<tt>I suspect that you need to use UML's extended GenModel if you extend the 
UML model.  I've added the UML2 newsgroup to the &quot;to&quot;list of the reply 
for their comments about how one should extend UML2...</tt><br>
<br>
<tt><br>Guillaume Vauvert wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Ed,</pre><br>
<tt>Ed Merks a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">So :
- A inherits from Action
- C inherits from Class
</pre></blockquote><tt>Class is a bit of a confusing name.
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">- D inherits from both A and C
So simple when it is clear !</pre><br>
<tt>The generated code :<br>
- the class DImpl extends the class AImpl : it is OK.<br>
- the class DImpl implements the interface D ; the interface D 
extends the interface A and the interface C.<br>
    - the class DImpl inherits methods from AImpl : so it implements 
the interface A;<br>
    - the class DImpl contains methods that are declared in the 
interface C ;<br>
    - BUT DImpl does not contain methods that are inherited by the 
interface C from the interface Class.
</tt></blockquote><tt>Did you declare all these methods in Ecore's version of Class?  I'm 
suspicious about that name...
</tt></blockquote><tt>I am building a Modeling Language that extends UML.<br>
I am using platform:/plugin/org.eclipse.uml2.uml/model/UML.core as 
model of UML.<br>
The metaclass Class (using ECore) declares the EOperation 
&quot;ownedOperation&quot;.<br>
In the generated class DImpl, I obtain a class that should contains 
the implementation of getOwnedReception() (from the interface C). 
Instead, I have a class DImpl that lacks this method ; so, Eclipse 
Java IDE saids :<br>
&quot;The type DImpl must implement the inherited abstract method 
Class.getOwnedReception(String, EList&lt;String&gt;, EList&lt;Type&gt;)&quot;</tt><br>
<br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>And do you see a solution ... ?
</tt></blockquote><tt>I'd suggest you provide an example model that I can use to reproduce 
the problem.  Then I can tell you if the problem is your model or in 
the framework.
</tt></blockquote><tt>Even if my example is exactly what I descrived before, I can provide 
it,  but how (future generations of newsgroups users must be able to 
see the model !) ?</tt><br>
<br>
<pre style="margin: 0em;">I feel the light closer ...</pre><br>
<pre style="margin: 0em;">Thanks !</pre><br>
<pre style="margin: 0em;">Guillaume Vauvert
<a  href="http://www.ixmas.org">http://www.ixmas.org</a>
</pre></blockquote></blockquote><br>
]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 07:29:22 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42232.html</guid>
		<author>gvauvert@xxxxxxx (Guillaume Vauvert)</author>
	</item>


	<item>
		<title>[news.eclipse.tools.emf] Re: OneToMany not working as expected...</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42231.html</link>
		<description>Thanks again, I posted this to Bugzilla as: https://bugs.eclipse.org/bugs/show_bug.cgi?id=282414 Roberto Leibman </description>
		<content:encoded><![CDATA[<tt>Thanks again,<br>
I posted this to Bugzilla as: </tt><br>
<br>
<pre style="margin: 0em;"><a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=282414">https://bugs.eclipse.org/bugs/show_bug.cgi?id=282414</a></pre><br>
<pre style="margin: 0em;">Roberto Leibman</pre><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 03 Jul 2009 22:27:21 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42231.html</guid>
		<author>roberto@xxxxxxx (Roberto Leibman)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] Re: [CDO+Hibernate] ClassCastException: org.eclipse.emf.cdo.internal.common.id.CDOIDTempObjectImpl cannot be cast to org.eclipse.emf.cdo.server.hibernate.id.CDOIDHibernate</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42230.html</link>
		<description>Filed as http://bugs.eclipse.org/bugs/show_bug.cgi?id=282400 </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Filed as <a  href="http://bugs.eclipse.org/bugs/show_bug.cgi?id=282400">http://bugs.eclipse.org/bugs/show_bug.cgi?id=282400</a></pre><br>
]]></content:encoded>
		<pubDate>Fri, 03 Jul 2009 18:40:43 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42230.html</guid>
		<author>davidstastny@xxxxxxx (David Stastny)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] Re: [CDO+Hibernate] ClassCastException: org.eclipse.emf.cdo.internal.common.id.CDOIDTempObjectImpl cannot be cast to org.eclipse.emf.cdo.server.hibernate.id.CDOIDHibernate</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42229.html</link>
		<description>David, To me it looks like a bug in the HibernateSupport: Saving the resource on client side means committing its transaction. Thereby new objects with a temporary ID are sent to the server which should assign permananet IDs before storing them in the back...</description>
		<content:encoded><![CDATA[<pre>David,

To me it looks like a bug in the HibernateSupport: Saving the resource
on client side means committing its transaction. Thereby new objects
with a temporary ID are sent to the server which should assign
permananet IDs before storing them in the back-end. It seems this
assignment is not properly done in this particular case. Martin?

I suggest to file a bugzilla with these infos.

Cheers
/Eike

----
<a  href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a>
<a  href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a>



David Stastny schrieb:
&gt; Hi,
&gt; I received another CCE. I am not sure if this one qualifies for a
&gt; bugzilla. Attachments contain stack trace, ecore model, hibernate
&gt; mapping.
&gt;
&gt; Here is my code:
&gt; &lt;code&gt;
&gt; CDOTransaction tx = ...
&gt; Resource resource =
&gt; tx.getOrCreateResource(CrmPackage.Literals.BUSINESS_ENTITY.getName().toLowerCase());
&gt;
&gt;
&gt; BusinessEntity be =
&gt; CrmPackage.eINSTANCE.getCrmFactory().createBusinessEntity();
&gt; be.setCompanyName(&quot;Company &quot; + System.currentTimeMillis());
&gt;
&gt; resource.getContents().add(be);
&gt; resource.save(null); // Line 34 - see stack trace
&gt; &lt;/code&gt;
&gt;
&gt; And my setup:
&gt; Eclipse 3.5.0 (20090619-0625)
&gt; CDO 2.0.1 (R2_0_maintenance)
&gt; Teneo 1.1.0
&gt; Hibernate 3.3.1
&gt;
&gt;
&gt; Thanks in advance,
&gt; David

</pre>]]></content:encoded>
		<pubDate>Fri, 03 Jul 2009 17:29:17 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42229.html</guid>
		<author>stepper@xxxxxxx (Eike Stepper)</author>
	</item>
	<item>
		<title>[news.eclipse.tools.emf] Re: Ecore2Java ant task</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42228.html</link>
		<description>Hi, I know that an ant task does not exist. I am trying to implement it! Just see the new post I made in the GMF newsgroup. Achilleas </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi,</pre><br>
<tt>I know that an ant task does not exist. I am trying to implement it! Just 
see the new post I made in the GMF newsgroup.</tt><br>
<br>
<pre style="margin: 0em;">Achilleas</pre><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 03 Jul 2009 14:09:25 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools.emf/msg42228.html</guid>
		<author>aachila@xxxxxxx (Achilleas )</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
