Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] (newbie): More than one EClass with the same name
[Teneo] (newbie): More than one EClass with the same name [message #80650] Mon, 23 April 2007 08:45 Go to next message
Eclipse UserFriend
Originally posted by: gonzalinlinWITHOUT_THIS.tiscali.es

Hello Martin!

I've read an old post with the same issue, but it didn't help me.

I get this error (there's String (java.lang) and String (the generated one
in party.javalang):
Exception in thread "main" java.lang.IllegalArgumentException: There is more
than one EClass with the same name (String in EPackage javalang and
javalang. A different EClassResolver should be used.

When I try to create an instance of "Pdi" (Pdi is a class that extends
Party)...

public static void main(String[] args) {

final String dataStoreName = "SGDDataStore";

final HbDataStore dataStore =
(HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);

dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
PartyPackageImpl.eINSTANCE,

JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
JavautilPackage.eINSTANCE,

JavautilPackageImpl.eINSTANCE, });




dataStore.initialize();


final SessionFactory sessionFactory = dataStore.getSessionFactory();

{

final Session session = sessionFactory.openSession();

session.beginTransaction();


Pdi pdi = PartyFactory.eINSTANCE.createPdi();

pdi.setAddress( "Campus, s/n"); // <----------------- (*)



session.save(pdi);

// (continues)

}

(*) ... Eclipse says: "the method setAddress (String) in the type Party is
not applicable for the arguments String.

There's a conflict between the String in (final String dataStoreName =
"SGDDataStore";) and the String in (pdi.setAddress( "Campus, s/n"); ).

Can you help me? Thanks in advance,

Gonzalo
Re: [Teneo] (newbie): More than one EClass with the same name [message #80667 is a reply to message #80650] Mon, 23 April 2007 08:54 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
To get rid of the first exception you should set this property:
PersistenceOptions.QUALIFY_ENTITY_NAME
to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX

to set this you can call the setPersistenceProperties on the hibernatedatastore.

(note if you set this in a property file then you need to check what the String constant
PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and set this string constant in the prop file,
the same for the other constant).

For the other compiletime error, you should maybe do something like this:
Pdi pdi = PartyFactory.eINSTANCE.createPdi();
party.javalang.String myGreatString = PartyFactory.eINSTANCE.createString();
myGreatString.setValue("Campus, s/n"); // I am not sure if there is a value member/feature in the
party.javaLang.String class, but there is probably something there
pdi.setAddress(myGreatString); // <----------------- (*)

Btw, it would maybe be easier not to use exact java reserved (primitive type) names for your eclass
names or efeature names, but this ofcourse depends on the case you want to solve.

gr. Martin

Gonzalo wrote:
> Hello Martin!
>
> I've read an old post with the same issue, but it didn't help me.
>
> I get this error (there's String (java.lang) and String (the generated one
> in party.javalang):
> Exception in thread "main" java.lang.IllegalArgumentException: There is more
> than one EClass with the same name (String in EPackage javalang and
> javalang. A different EClassResolver should be used.
>
> When I try to create an instance of "Pdi" (Pdi is a class that extends
> Party)...
>
> public static void main(String[] args) {
>
> final String dataStoreName = "SGDDataStore";
>
> final HbDataStore dataStore =
> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>
> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
> PartyPackageImpl.eINSTANCE,
>
> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
> JavautilPackage.eINSTANCE,
>
> JavautilPackageImpl.eINSTANCE, });
>
>
>
>
> dataStore.initialize();
>
>
> final SessionFactory sessionFactory = dataStore.getSessionFactory();
>
> {
>
> final Session session = sessionFactory.openSession();
>
> session.beginTransaction();
>
>
> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>
> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>
>
>
> session.save(pdi);
>
> // (continues)
>
> }
>
> (*) ... Eclipse says: "the method setAddress (String) in the type Party is
> not applicable for the arguments String.
>
> There's a conflict between the String in (final String dataStoreName =
> "SGDDataStore";) and the String in (pdi.setAddress( "Campus, s/n"); ).
>
> Can you help me? Thanks in advance,
>
> Gonzalo
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] (newbie): More than one EClass with the same name [message #80682 is a reply to message #80667] Mon, 23 April 2007 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gonzalinlinWITHOUT_THIS.tiscali.es

Hello again.

Martin: I keep getting the same error, but eith other classes:
Exception in thread "main" java.lang.IllegalArgumentException: There is more
than one EClass with the same identifying String (party.Persona in EPackage
party and party. A different EClassResolver should be used.

My code is (I've set the Property):
final Properties persistenceProps = new Properties();

persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);



final String dataStoreName = "SGDDataStore";

final HbDataStore dataStore =
(HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);


dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
PartyPackageImpl.eINSTANCE,

JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
JavautilPackage.eINSTANCE,

JavautilPackageImpl.eINSTANCE });


dataStore.setPersistenceProperties(persistenceProps);




dataStore.initialize();

The error points to this line (dataStore.initialize() ).

Any hint? Thank you again!

Gonzalo

"Martin Taal" <mtaal@elver.org> escribi
Re: [Teneo] (newbie): More than one EClass with the same name [message #80689 is a reply to message #80682] Mon, 23 April 2007 10:26 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
Can you post/send me the full stack trace and the ecore file? And if you are able to get the
hibernate.hbm (call dataStore.getMappingXML() (call this for example in an exception catch block
after initialize).

gr. Martin

Gonzalo wrote:
> Hello again.
>
> Martin: I keep getting the same error, but eith other classes:
> Exception in thread "main" java.lang.IllegalArgumentException: There is more
> than one EClass with the same identifying String (party.Persona in EPackage
> party and party. A different EClassResolver should be used.
>
> My code is (I've set the Property):
> final Properties persistenceProps = new Properties();
>
> persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
> PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);
>
>
>
> final String dataStoreName = "SGDDataStore";
>
> final HbDataStore dataStore =
> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>
>
> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
> PartyPackageImpl.eINSTANCE,
>
> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
> JavautilPackage.eINSTANCE,
>
> JavautilPackageImpl.eINSTANCE });
>
>
> dataStore.setPersistenceProperties(persistenceProps);
>
>
>
>
> dataStore.initialize();
>
> The error points to this line (dataStore.initialize() ).
>
> Any hint? Thank you again!
>
> Gonzalo
>
> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
> news:f0hs7v$ccq$1@build.eclipse.org...
>> Hi Gonzalo,
>> To get rid of the first exception you should set this property:
>> PersistenceOptions.QUALIFY_ENTITY_NAME
>> to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX
>>
>> to set this you can call the setPersistenceProperties on the
>> hibernatedatastore.
>>
>> (note if you set this in a property file then you need to check what the
>> String constant PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and set
>> this string constant in the prop file, the same for the other constant).
>>
>> For the other compiletime error, you should maybe do something like this:
>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>> party.javalang.String myGreatString =
>> PartyFactory.eINSTANCE.createString();
>> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
>> value member/feature in the party.javaLang.String class, but there is
>> probably something there
>> pdi.setAddress(myGreatString); // <----------------- (*)
>>
>> Btw, it would maybe be easier not to use exact java reserved (primitive
>> type) names for your eclass names or efeature names, but this ofcourse
>> depends on the case you want to solve.
>>
>> gr. Martin
>>
>> Gonzalo wrote:
>>> Hello Martin!
>>>
>>> I've read an old post with the same issue, but it didn't help me.
>>>
>>> I get this error (there's String (java.lang) and String (the generated
>>> one in party.javalang):
>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>> more than one EClass with the same name (String in EPackage javalang and
>>> javalang. A different EClassResolver should be used.
>>>
>>> When I try to create an instance of "Pdi" (Pdi is a class that extends
>>> Party)...
>>>
>>> public static void main(String[] args) {
>>>
>>> final String dataStoreName = "SGDDataStore";
>>>
>>> final HbDataStore dataStore =
>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>
>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>> PartyPackageImpl.eINSTANCE,
>>>
>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>> JavautilPackage.eINSTANCE,
>>>
>>> JavautilPackageImpl.eINSTANCE, });
>>>
>>>
>>>
>>>
>>> dataStore.initialize();
>>>
>>>
>>> final SessionFactory sessionFactory = dataStore.getSessionFactory();
>>>
>>> {
>>>
>>> final Session session = sessionFactory.openSession();
>>>
>>> session.beginTransaction();
>>>
>>>
>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>
>>> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>>>
>>>
>>>
>>> session.save(pdi);
>>>
>>> // (continues)
>>>
>>> }
>>>
>>> (*) ... Eclipse says: "the method setAddress (String) in the type Party
>>> is not applicable for the arguments String.
>>>
>>> There's a conflict between the String in (final String dataStoreName =
>>> "SGDDataStore";) and the String in (pdi.setAddress( "Campus, s/n"); ).
>>>
>>> Can you help me? Thanks in advance,
>>>
>>> Gonzalo
>>>
>>>
>>
>> --
>>
>> With Regards, Martin Taal
>>
>> Springsite/Elver.org
>> Office: Hardwareweg 4, 3821 BV Amersfoort
>> Postal: Nassaulaan 7, 3941 EC Doorn
>> The Netherlands
>> Tel: +31 (0)84 420 2397
>> Fax: +31 (0)84 225 9307
>> Mail: mtaal@springsite.com - mtaal@elver.org
>> Web: www.springsite.com - www.elver.org
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] (newbie): More than one EClass with the same name [message #80705 is a reply to message #80689] Mon, 23 April 2007 10:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gonzalinlinWITHOUT_THIS.tiscali.es

Hello Martin, I attach the files.


I tried
System.err.println(dataStore.getMappingXML());

after dataStore.initialize(), but the error is the same.

Thank you!





"Martin Taal" <mtaal@elver.org> escribi
Re: [Teneo] (newbie): More than one EClass with the same name [message #80776 is a reply to message #80705] Mon, 23 April 2007 19:34 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
It worked fine with me, then I looked at your initialization code and the following needs to be
changed. When you call setEPackages in your code, each EPackage is present twice:
PartyPackage.eINSTANCE and PartyPackageImpl.eINSTANCE. These refer to the same EPackage instance, so
only the PartyPackage.eINSTANCE is enough (the same for the other two EPackages javalang javautil).

gr. Martin

Gonzalo wrote:
> Hello Martin, I attach the files.
>
>
> I tried
> System.err.println(dataStore.getMappingXML());
>
> after dataStore.initialize(), but the error is the same.
>
> Thank you!
>
>
>
>
>
> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
> news:f0i1kh$nvt$1@build.eclipse.org...
>> Hi Gonzalo,
>> Can you post/send me the full stack trace and the ecore file? And if you
>> are able to get the
>> hibernate.hbm (call dataStore.getMappingXML() (call this for example in an
>> exception catch block
>> after initialize).
>>
>> gr. Martin
>>
>> Gonzalo wrote:
>>> Hello again.
>>>
>>> Martin: I keep getting the same error, but eith other classes:
>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>> more
>>> than one EClass with the same identifying String (party.Persona in
>>> EPackage
>>> party and party. A different EClassResolver should be used.
>>>
>>> My code is (I've set the Property):
>>> final Properties persistenceProps = new Properties();
>>>
>>> persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
>>> PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);
>>>
>>>
>>>
>>> final String dataStoreName = "SGDDataStore";
>>>
>>> final HbDataStore dataStore =
>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>
>>>
>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>> PartyPackageImpl.eINSTANCE,
>>>
>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>> JavautilPackage.eINSTANCE,
>>>
>>> JavautilPackageImpl.eINSTANCE });
>>>
>>>
>>> dataStore.setPersistenceProperties(persistenceProps);
>>>
>>>
>>>
>>>
>>> dataStore.initialize();
>>>
>>> The error points to this line (dataStore.initialize() ).
>>>
>>> Any hint? Thank you again!
>>>
>>> Gonzalo
>>>
>>> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
>>> news:f0hs7v$ccq$1@build.eclipse.org...
>>>> Hi Gonzalo,
>>>> To get rid of the first exception you should set this property:
>>>> PersistenceOptions.QUALIFY_ENTITY_NAME
>>>> to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX
>>>>
>>>> to set this you can call the setPersistenceProperties on the
>>>> hibernatedatastore.
>>>>
>>>> (note if you set this in a property file then you need to check what the
>>>> String constant PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and
>>>> set
>>>> this string constant in the prop file, the same for the other constant).
>>>>
>>>> For the other compiletime error, you should maybe do something like
>>>> this:
>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>> party.javalang.String myGreatString =
>>>> PartyFactory.eINSTANCE.createString();
>>>> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
>>>> value member/feature in the party.javaLang.String class, but there is
>>>> probably something there
>>>> pdi.setAddress(myGreatString); // <----------------- (*)
>>>>
>>>> Btw, it would maybe be easier not to use exact java reserved (primitive
>>>> type) names for your eclass names or efeature names, but this ofcourse
>>>> depends on the case you want to solve.
>>>>
>>>> gr. Martin
>>>>
>>>> Gonzalo wrote:
>>>>> Hello Martin!
>>>>>
>>>>> I've read an old post with the same issue, but it didn't help me.
>>>>>
>>>>> I get this error (there's String (java.lang) and String (the generated
>>>>> one in party.javalang):
>>>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>>>> more than one EClass with the same name (String in EPackage javalang
>>>>> and
>>>>> javalang. A different EClassResolver should be used.
>>>>>
>>>>> When I try to create an instance of "Pdi" (Pdi is a class that extends
>>>>> Party)...
>>>>>
>>>>> public static void main(String[] args) {
>>>>>
>>>>> final String dataStoreName = "SGDDataStore";
>>>>>
>>>>> final HbDataStore dataStore =
>>>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>>>
>>>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>>>> PartyPackageImpl.eINSTANCE,
>>>>>
>>>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>>>> JavautilPackage.eINSTANCE,
>>>>>
>>>>> JavautilPackageImpl.eINSTANCE, });
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> dataStore.initialize();
>>>>>
>>>>>
>>>>> final SessionFactory sessionFactory =
>>>>> dataStore.getSessionFactory();
>>>>>
>>>>> {
>>>>>
>>>>> final Session session = sessionFactory.openSession();
>>>>>
>>>>> session.beginTransaction();
>>>>>
>>>>>
>>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>>>
>>>>> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>>>>>
>>>>>
>>>>>
>>>>> session.save(pdi);
>>>>>
>>>>> // (continues)
>>>>>
>>>>> }
>>>>>
>>>>> (*) ... Eclipse says: "the method setAddress (String) in the type Party
>>>>> is not applicable for the arguments String.
>>>>>
>>>>> There's a conflict between the String in (final String dataStoreName =
>>>>> "SGDDataStore";) and the String in (pdi.setAddress( "Campus, s/n"); ).
>>>>>
>>>>> Can you help me? Thanks in advance,
>>>>>
>>>>> Gonzalo
>>>>>
>>>>>
>>>> --
>>>>
>>>> With Regards, Martin Taal
>>>>
>>>> Springsite/Elver.org
>>>> Office: Hardwareweg 4, 3821 BV Amersfoort
>>>> Postal: Nassaulaan 7, 3941 EC Doorn
>>>> The Netherlands
>>>> Tel: +31 (0)84 420 2397
>>>> Fax: +31 (0)84 225 9307
>>>> Mail: mtaal@springsite.com - mtaal@elver.org
>>>> Web: www.springsite.com - www.elver.org
>>>
>>
>> --
>>
>> With Regards, Martin Taal
>>
>> Springsite/Elver.org
>> Office: Hardwareweg 4, 3821 BV Amersfoort
>> Postal: Nassaulaan 7, 3941 EC Doorn
>> The Netherlands
>> Tel: +31 (0)84 420 2397
>> Fax: +31 (0)84 225 9307
>> Mail: mtaal@springsite.com - mtaal@elver.org
>> Web: www.springsite.com - www.elver.org
>
>
> 0 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Creating emf data store and registering it under name: SGDDataStore
> 63 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore - Initializing protocol/extension for hibernate
> 79 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Returning created emf data store, initialize this newly created data store!
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - Properties of PersistenceOptions:
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.set_proxy: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.ignore_eannotations: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.always_version: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.always_map_list_as_bag: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.optimistic_locking: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.emap_as_true_map: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.id_feature_as_primary_key: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.default_id_column: e_id
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.also_map_as_class: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.default_cache_strategy: NONE
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.version_column: e_version
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.fetch_containment_eagerly: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.join_table_for_non_contained_associations: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.java_class_entity_names: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.max_sql_name_length: -1
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.strategy: lowercase
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.qualify_entity_name: nsprefix
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.default_id_feature: e_id
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.disable_econtainer: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.default_temporal: TIMESTAMP
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.join_table_naming_strategy: ejb3
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.idbag_id_column_name: ID
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.map_all_lists_as_idbag: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.cascade_all_on_containment: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.set_entity_automatically: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.hibernate_mapping_file: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.runtime.update_schema: true
> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore - Initializing Hb Session DataStore
> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore - >>>>> Creating HB Configuration
> 532 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.2.3
> 547 [main] INFO org.hibernate.cfg.Environment - loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.connection.password=****, hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect, hibernate.connection.url=jdbc:mysql://127.0.0.1:3306/sgd23, hibernate.bytecode.use_reflection_optimizer=false, hibernate.connection.driver_class=com.mysql.jdbc.Driver}
> 547 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : cglib
> 563 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
> 672 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore - Generating mapping file from in-mem ecore
> 704 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Creating pamodel for the following epackages
> 704 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javalang
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javalang
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javautil
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javautil
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Create base pannotated model
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Deprecated eannotations with http://annotations.elver.org or http://ejb.elver.org are ignored.
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Parse annotations
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing package party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Party
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing direccion
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing localidad
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing codPostal
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing provincia
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing telefono1
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing extension
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing telefono2
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing correoE
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing fax
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing web
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Empresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Empresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing cif
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing denominacion
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing nombreComercial
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing cnae
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing contactoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing ContactoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass ContactoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing cargo
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing dptoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing empresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Persona
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Persona
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing nif
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing nombre
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing apellido1
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing apellido2
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing fechaNac
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Pdi
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Pdi
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing catAcademica
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing areaConocimiento
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing dpto
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing centro
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing codCtaCliente
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing remuneracion
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing horasSemanales
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing package javalang
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing javalang
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Object
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Object
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing String
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass String
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing package javautil
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing javautil
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Collection
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Collection
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Iterator
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Iterator
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Date
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Date
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Copying annotations on edatatypes over eattribute annotations!
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Add default annotations
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option: Default inheritance setting: SINGLE_TABLE
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option: Automatically adding entity annotation: true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option: Eagerly load all containment relations: false
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option set cascade all on containment: true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option default id feature name: e_id
> 938 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils - Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case strategy
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Qualify EClass name option: org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - ID Feature as primary key true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionEMapAsTrueMap true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionAlsoMapAsClass true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Maximum column length: -1
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - JoinTableForNonContainedAssociations false
> 938 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl - Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case strategy
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - SQLCaseStrategy org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - JoinTableNamingStrategy ejb3
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionMapListAsBag false
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionMapListAsIdBag false
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class names are to be fully classified, registering all the epackages
> 954 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete classes for package party
> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete classes for package javalang
> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete classes for package javautil
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding default annotations for EPackage party
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EDataTypes
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EClasses
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Party
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Party
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 985 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + direccion/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + localidad/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + codPostal/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + provincia/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + telefono1/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + extension/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + telefono2/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + correoE/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + fax/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + web/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Empresa
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Empresa
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + cif/Empresa does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + denominacion/Empresa does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + nombreComercial/Empresa does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + cnae/Empresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + contactoEmpresa/Empresa does not have a onetomany annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting indexed and unique from ereference because otm was not set manually!
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting unique because is bidirectional (has eopposite) otm
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass ContactoEmpresa
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Persona
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Persona
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + nif/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + nombre/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + apellido1/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + apellido2/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + fechaNac/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: ContactoEmpresa
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + cargo/ContactoEmpresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + dptoEmpresa/ContactoEmpresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + empresa/ContactoEmpresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Pdi
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Pdi
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + catAcademica/Pdi does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + areaConocimiento/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + dpto/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + centro/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + codCtaCliente/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EAttribute remuneracion
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + horasSemanales/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding default annotations for EPackage javalang
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EDataTypes
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EClasses
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Object
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Object
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass String
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: String
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding default annotations for EPackage javautil
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EDataTypes
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EClasses
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Collection
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Collection
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Iterator
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Iterator
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Date
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Date
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Returning created pamodel
> 1094 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils - Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case strategy
> 1094 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl - Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case strategy
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator - Geneting Hibernate mapping for org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl @42552c
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator - Setting auto-import=false because eclassnamingstrategy is not the defaulteclassnamestrategy
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Party
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag class
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Party
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Table `party_party`
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/direccion
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne direccion/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_direccion_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/localidad
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne localidad/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_localidad_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/codPostal
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne codPostal/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_codpostal_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/provincia
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne provincia/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_provincia_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/telefono1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne telefono1/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_telefono1_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/extension
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne extension/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_extension_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/telefono2
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne telefono2/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_telefono2_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/correoE
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne correoE/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_correoe_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/fax
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne fax/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_fax_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/web
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne web/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_web_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Empresa
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Party
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/cif
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne cif/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_cif_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/denominacion
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne denominacion/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_denominacion_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/nombreComercial
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne nombreComercial/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_nombrecomercial_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/cnae
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne cnae/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_cnae_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.OneToManyMapper - Generating one to many bidirectional inverse mapping for EReference/contactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - Adding key columns
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - Column contactoempresa_empresa_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Party
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/nif
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne nif/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_nif_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/nombre
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne nombre/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_nombre_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/apellido1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne apellido1/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_apellido1_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/apellido2
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne apellido2/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_apellido2_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/fechaNac
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javautil.Date
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne fechaNac/party.javautil.Date
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn date_fechanac_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/ContactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.ContactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for ContactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/cargo
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne cargo/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_cargo_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/dptoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne dptoEmpresa/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_dptoempresa_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne empresa/party.Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn contactoempresa_empresa_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Pdi
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Pdi
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for Pdi
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/catAcademica
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne catAcademica/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_catacademica_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/areaConocimiento
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne areaConocimiento/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_areaconocimiento_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/dpto
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne dpto/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_dpto_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/centro
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne centro/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_centro_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/codCtaCliente
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne codCtaCliente/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_codctacliente_e_id
> 1157 [main] DEBUG org.eclipse.
Re: [Teneo] (newbie): More than one EClass with the same name [message #80843 is a reply to message #80776] Tue, 24 April 2007 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gonzalinlinWITHOUT_THIS.tiscali.es

Thank you, Martin! It works :)

I keep getting errors with the types: String vs. Party.javalang.String. I
don't know why I get these packages (party.javalang, party.javautil)... in
the Library example they don't exist and there isn't this problem! The only
difference is that start from an UML diagram (Omondo Eclipse UML plugin) and
not annotated Java.

The first solution you proposed me...

Pdi pdi = PartyFactory.eINSTANCE.createPdi();
party.javalang.String myGreatString =
JavalangFactory.eINSTANCE.createString();
myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
value member/feature in
//the
party.javaLang.String class, but there is probably something there
pdi.setAddress(myGreatString);

.... I think it is complicated for every "String" attribute I could get.
Moreover, there's nothing like "JavalangFactory.eINSTANCE.createString()"
and Party.javalang.String only extends EObject... (i attach the String.java
generated).

So, for the second solution ("Btw, it would maybe be easier not to use exact
java reserved (primitive type) names for your eclass names or efeature
names"), I don't know if I must change "party.javalang.String" for "String"
everywhere in my code. The same for every "party.javalang.String" in the
"hibernate.hbm" generated by Teneo. Is this the best way?

Thanks in advance, Martin.

With regards,

Gonzalo

"Martin Taal" <mtaal@elver.org> escribi
  • Attachment: String.java
    (Size: 0.39KB, Downloaded 122 times)
Re: [Teneo] (newbie): More than one EClass with the same name [message #80844 is a reply to message #80843] Tue, 24 April 2007 08:34 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
I think you should not go in that direction (manually changing the hbm or your generated code).
It seems that the Omondo Uml to ecore mapping creates these types. Although I do not know your case
and I do not know Omondo it seems to me that this is not what you want, the ecore should use the
primitive String type. I don't use Omondo so I can't help you there. I think you should recheck with
the Omondo people to see why the ecore was created like this.

You could also just create the ecore manually and work from there (use the library.ecore as an example).

gr. Martin

Gonzalo wrote:
> Thank you, Martin! It works :)
>
> I keep getting errors with the types: String vs. Party.javalang.String. I
> don't know why I get these packages (party.javalang, party.javautil)... in
> the Library example they don't exist and there isn't this problem! The only
> difference is that start from an UML diagram (Omondo Eclipse UML plugin) and
> not annotated Java.
>
> The first solution you proposed me...
>
> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
> party.javalang.String myGreatString =
> JavalangFactory.eINSTANCE.createString();
> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
> value member/feature in
> //the
> party.javaLang.String class, but there is probably something there
> pdi.setAddress(myGreatString);
>
> .... I think it is complicated for every "String" attribute I could get.
> Moreover, there's nothing like "JavalangFactory.eINSTANCE.createString()"
> and Party.javalang.String only extends EObject... (i attach the String.java
> generated).
>
> So, for the second solution ("Btw, it would maybe be easier not to use exact
> java reserved (primitive type) names for your eclass names or efeature
> names"), I don't know if I must change "party.javalang.String" for "String"
> everywhere in my code. The same for every "party.javalang.String" in the
> "hibernate.hbm" generated by Teneo. Is this the best way?
>
> Thanks in advance, Martin.
>
> With regards,
>
> Gonzalo
>
> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
> news:f0j1o1$22s$1@build.eclipse.org...
>> Hi Gonzalo,
>> It worked fine with me, then I looked at your initialization code and the
>> following needs to be
>> changed. When you call setEPackages in your code, each EPackage is present
>> twice:
>> PartyPackage.eINSTANCE and PartyPackageImpl.eINSTANCE. These refer to the
>> same EPackage instance, so
>> only the PartyPackage.eINSTANCE is enough (the same for the other two
>> EPackages javalang javautil).
>>
>> gr. Martin
>>
>> Gonzalo wrote:
>>> Hello Martin, I attach the files.
>>>
>>>
>>> I tried
>>> System.err.println(dataStore.getMappingXML());
>>>
>>> after dataStore.initialize(), but the error is the same.
>>>
>>> Thank you!
>>>
>>>
>>>
>>>
>>>
>>> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
>>> news:f0i1kh$nvt$1@build.eclipse.org...
>>>> Hi Gonzalo,
>>>> Can you post/send me the full stack trace and the ecore file? And if you
>>>> are able to get the
>>>> hibernate.hbm (call dataStore.getMappingXML() (call this for example in
>>>> an
>>>> exception catch block
>>>> after initialize).
>>>>
>>>> gr. Martin
>>>>
>>>> Gonzalo wrote:
>>>>> Hello again.
>>>>>
>>>>> Martin: I keep getting the same error, but eith other classes:
>>>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>>>> more
>>>>> than one EClass with the same identifying String (party.Persona in
>>>>> EPackage
>>>>> party and party. A different EClassResolver should be used.
>>>>>
>>>>> My code is (I've set the Property):
>>>>> final Properties persistenceProps = new Properties();
>>>>>
>>>>> persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
>>>>> PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);
>>>>>
>>>>>
>>>>>
>>>>> final String dataStoreName = "SGDDataStore";
>>>>>
>>>>> final HbDataStore dataStore =
>>>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>>>
>>>>>
>>>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>>>> PartyPackageImpl.eINSTANCE,
>>>>>
>>>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>>>> JavautilPackage.eINSTANCE,
>>>>>
>>>>> JavautilPackageImpl.eINSTANCE });
>>>>>
>>>>>
>>>>> dataStore.setPersistenceProperties(persistenceProps);
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> dataStore.initialize();
>>>>>
>>>>> The error points to this line (dataStore.initialize() ).
>>>>>
>>>>> Any hint? Thank you again!
>>>>>
>>>>> Gonzalo
>>>>>
>>>>> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
>>>>> news:f0hs7v$ccq$1@build.eclipse.org...
>>>>>> Hi Gonzalo,
>>>>>> To get rid of the first exception you should set this property:
>>>>>> PersistenceOptions.QUALIFY_ENTITY_NAME
>>>>>> to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX
>>>>>>
>>>>>> to set this you can call the setPersistenceProperties on the
>>>>>> hibernatedatastore.
>>>>>>
>>>>>> (note if you set this in a property file then you need to check what
>>>>>> the
>>>>>> String constant PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and
>>>>>> set
>>>>>> this string constant in the prop file, the same for the other
>>>>>> constant).
>>>>>>
>>>>>> For the other compiletime error, you should maybe do something like
>>>>>> this:
>>>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>>>> party.javalang.String myGreatString =
>>>>>> PartyFactory.eINSTANCE.createString();
>>>>>> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
>>>>>> value member/feature in the party.javaLang.String class, but there is
>>>>>> probably something there
>>>>>> pdi.setAddress(myGreatString); // <----------------- (*)
>>>>>>
>>>>>> Btw, it would maybe be easier not to use exact java reserved
>>>>>> (primitive
>>>>>> type) names for your eclass names or efeature names, but this ofcourse
>>>>>> depends on the case you want to solve.
>>>>>>
>>>>>> gr. Martin
>>>>>>
>>>>>> Gonzalo wrote:
>>>>>>> Hello Martin!
>>>>>>>
>>>>>>> I've read an old post with the same issue, but it didn't help me.
>>>>>>>
>>>>>>> I get this error (there's String (java.lang) and String (the
>>>>>>> generated
>>>>>>> one in party.javalang):
>>>>>>> Exception in thread "main" java.lang.IllegalArgumentException: There
>>>>>>> is
>>>>>>> more than one EClass with the same name (String in EPackage javalang
>>>>>>> and
>>>>>>> javalang. A different EClassResolver should be used.
>>>>>>>
>>>>>>> When I try to create an instance of "Pdi" (Pdi is a class that
>>>>>>> extends
>>>>>>> Party)...
>>>>>>>
>>>>>>> public static void main(String[] args) {
>>>>>>>
>>>>>>> final String dataStoreName = "SGDDataStore";
>>>>>>>
>>>>>>> final HbDataStore dataStore =
>>>>>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>>>>>
>>>>>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>>>>>> PartyPackageImpl.eINSTANCE,
>>>>>>>
>>>>>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>>>>>> JavautilPackage.eINSTANCE,
>>>>>>>
>>>>>>> JavautilPackageImpl.eINSTANCE, });
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> dataStore.initialize();
>>>>>>>
>>>>>>>
>>>>>>> final SessionFactory sessionFactory =
>>>>>>> dataStore.getSessionFactory();
>>>>>>>
>>>>>>> {
>>>>>>>
>>>>>>> final Session session = sessionFactory.openSession();
>>>>>>>
>>>>>>> session.beginTransaction();
>>>>>>>
>>>>>>>
>>>>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>>>>>
>>>>>>> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> session.save(pdi);
>>>>>>>
>>>>>>> // (continues)
>>>>>>>
>>>>>>> }
>>>>>>>
>>>>>>> (*) ... Eclipse says: "the method setAddress (String) in the type
>>>>>>> Party
>>>>>>> is not applicable for the arguments String.
>>>>>>>
>>>>>>> There's a conflict between the String in (final String dataStoreName
>>>>>>> =
>>>>>>> "SGDDataStore";) and the String in (pdi.setAddress( "Campus,
>>>>>>> s/n"); ).
>>>>>>>
>>>>>>> Can you help me? Thanks in advance,
>>>>>>>
>>>>>>> Gonzalo
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>>
>>>>>> With Regards, Martin Taal
>>>>>>
>>>>>> Springsite/Elver.org
>>>>>> Office: Hardwareweg 4, 3821 BV Amersfoort
>>>>>> Postal: Nassaulaan 7, 3941 EC Doorn
>>>>>> The Netherlands
>>>>>> Tel: +31 (0)84 420 2397
>>>>>> Fax: +31 (0)84 225 9307
>>>>>> Mail: mtaal@springsite.com - mtaal@elver.org
>>>>>> Web: www.springsite.com - www.elver.org
>>>> --
>>>>
>>>> With Regards, Martin Taal
>>>>
>>>> Springsite/Elver.org
>>>> Office: Hardwareweg 4, 3821 BV Amersfoort
>>>> Postal: Nassaulaan 7, 3941 EC Doorn
>>>> The Netherlands
>>>> Tel: +31 (0)84 420 2397
>>>> Fax: +31 (0)84 225 9307
>>>> Mail: mtaal@springsite.com - mtaal@elver.org
>>>> Web: www.springsite.com - www.elver.org
>>>
>>> 0 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Creating
>>> emf data store and registering it under name: SGDDataStore
>>> 63 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore -
>>> Initializing protocol/extension for hibernate
>>> 79 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Returning
>>> created emf data store, initialize this newly created data store!
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - Properties
>>> of PersistenceOptions:
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.set_proxy: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.ignore_eannotations: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.always_version: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.always_map_list_as_bag: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.optimistic_locking: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.emap_as_true_map: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.id_feature_as_primary_key: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.default_id_column: e_id
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.also_map_as_class: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.default_cache_strategy: NONE
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.version_column: e_version
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.fetch_containment_eagerly: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.join_table_for_non_contained_associations: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.java_class_entity_names: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.max_sql_name_length: -1
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.strategy: lowercase
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.qualify_entity_name: nsprefix
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.default_id_feature: e_id
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.disable_econtainer: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.default_temporal: TIMESTAMP
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.join_table_naming_strategy: ejb3
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.idbag_id_column_name: ID
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.map_all_lists_as_idbag: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.cascade_all_on_containment: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.set_entity_automatically: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.hibernate_mapping_file: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.runtime.update_schema: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
>>> Initializing Hb Session DataStore
>>> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
>>> >>>>> Creating HB Configuration
>>> 532 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.2.3
>>> 547 [main] INFO org.hibernate.cfg.Environment - loaded properties from
>>> resource hibernate.properties: {hibernate.connection.username=root,
>>> hibernate.connection.password=****,
>>> hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect,
>>> hibernate.connection.url=jdbc:mysql://127.0.0.1:3306/sgd23,
>>> hibernate.bytecode.use_reflection_optimizer=false,
>>> hibernate.connection.driver_class=com.mysql.jdbc.Driver}
>>> 547 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name
>>> : cglib
>>> 563 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
>>> java.sql.Timestamp handling
>>> 672 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore -
>>> Generating mapping file from in-mem ecore
>>> 704 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Creating pamodel for the following epackages
>>> 704 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javalang
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javalang
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javautil
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javautil
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Create base pannotated model
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Deprecated eannotations with http://annotations.elver.org or
>>> http://ejb.elver.org are ignored.
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Parse annotations
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing package party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Party
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing direccion
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing localidad
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing codPostal
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing provincia
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing telefono1
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing extension
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing telefono2
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing correoE
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing fax
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing web
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Empresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Empresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing cif
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing denominacion
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing nombreComercial
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing cnae
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing contactoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing ContactoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass ContactoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing cargo
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing dptoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing empresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Persona
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Persona
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing nif
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing nombre
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing apellido1
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing apellido2
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing fechaNac
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Pdi
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Pdi
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing catAcademica
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing areaConocimiento
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing dpto
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing centro
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing codCtaCliente
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing remuneracion
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing horasSemanales
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing package javalang
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing javalang
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Object
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Object
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing String
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass String
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing package javautil
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing javautil
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Collection
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Collection
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Iterator
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Iterator
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Date
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Date
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Copying annotations on edatatypes over eattribute annotations!
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Add
>>> default annotations
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option:
>>> Default inheritance setting: SINGLE_TABLE
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option:
>>> Automatically adding entity annotation: true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option:
>>> Eagerly load all containment relations: false
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option set
>>> cascade all on containment: true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option
>>> default id feature name: e_id
>>> 938 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils -
>>> Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case
>>> strategy
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Qualify
>>> EClass name option:
>>> org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - ID Feature
>>> as primary key true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionEMapAsTrueMap true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionAlsoMapAsClass true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Maximum
>>> column length: -1
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> JoinTableForNonContainedAssociations false
>>> 938 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl -
>>> Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case
>>> strategy
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> SQLCaseStrategy org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> JoinTableNamingStrategy ejb3
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionMapListAsBag false
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionMapListAsIdBag false
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class names
>>> are to be fully classified, registering all the epackages
>>> 954 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
>>> classes for package party
>>> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
>>> classes for package javalang
>>> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
>>> classes for package javautil
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
>>> default annotations for EPackage party
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EDataTypes
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EClasses
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Party
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Party
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 985 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> direccion/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> localidad/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> codPostal/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> provincia/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> telefono1/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> extension/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> telefono2/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> correoE/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> fax/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> web/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Empresa
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Empresa
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> cif/Empresa does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> denominacion/Empresa does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> nombreComercial/Empresa does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> cnae/Empresa does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> contactoEmpresa/Empresa does not have a onetomany annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting
>>> indexed and unique from ereference because otm was not set manually!
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting
>>> unique because is bidirectional (has eopposite) otm
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass ContactoEmpresa
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Persona
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Persona
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> nif/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> nombre/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> apellido1/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> apellido2/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> fechaNac/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: ContactoEmpresa
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> cargo/ContactoEmpresa does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> dptoEmpresa/ContactoEmpresa does not have a manytoone annotation, adding
>>> one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> empresa/ContactoEmpresa does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Pdi
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Pdi
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> catAcademica/Pdi does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> areaConocimiento/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> dpto/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> centro/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> codCtaCliente/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EAttribute remuneracion
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> horasSemanales/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
>>> default annotations for EPackage javalang
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EDataTypes
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EClasses
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Object
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Object
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass String
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: String
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
>>> default annotations for EPackage javautil
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EDataTypes
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EClasses
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Collection
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Collection
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Iterator
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Iterator
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Date
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Date
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Returning created pamodel
>>> 1094 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils -
>>> Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case
>>> strategy
>>> 1094 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl -
>>> Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case
>>> strategy
>>> 1110 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator -
>>> Geneting Hibernate mapping for
>>> org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl @42552c
>>> 1110 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator -
>>> Setting auto-import=false because eclassnamingstrategy is not the
>>> defaulteclassnamestrategy
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> Mapping Entity EClass/Party
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> Creating entity tag class
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> DValue party.Party
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> Table `party_party`
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/direccion
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne direccion/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_direccion_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/localidad
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne localidad/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_localidad_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/codPostal
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne codPostal/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_codpostal_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/provincia
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne provincia/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_provincia_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/telefono1
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne telefono1/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.tene
Re: [Teneo] (newbie): More than one EClass with the same name [message #80849 is a reply to message #80844] Tue, 24 April 2007 14:31 Go to previous message
Eclipse UserFriend
Originally posted by: gonzalinlinWITHOUT_THIS.tiscali.es

Ok Martin.
I'll look for a solution.

Thank you very much! I appreciate your help.

With regards,
Gonzalo

"Martin Taal" <mtaal@elver.org> escribi
Re: [Teneo] (newbie): More than one EClass with the same name [message #604919 is a reply to message #80650] Mon, 23 April 2007 08:54 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
To get rid of the first exception you should set this property:
PersistenceOptions.QUALIFY_ENTITY_NAME
to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX

to set this you can call the setPersistenceProperties on the hibernatedatastore.

(note if you set this in a property file then you need to check what the String constant
PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and set this string constant in the prop file,
the same for the other constant).

For the other compiletime error, you should maybe do something like this:
Pdi pdi = PartyFactory.eINSTANCE.createPdi();
party.javalang.String myGreatString = PartyFactory.eINSTANCE.createString();
myGreatString.setValue("Campus, s/n"); // I am not sure if there is a value member/feature in the
party.javaLang.String class, but there is probably something there
pdi.setAddress(myGreatString); // <----------------- (*)

Btw, it would maybe be easier not to use exact java reserved (primitive type) names for your eclass
names or efeature names, but this ofcourse depends on the case you want to solve.

gr. Martin

Gonzalo wrote:
> Hello Martin!
>
> I've read an old post with the same issue, but it didn't help me.
>
> I get this error (there's String (java.lang) and String (the generated one
> in party.javalang):
> Exception in thread "main" java.lang.IllegalArgumentException: There is more
> than one EClass with the same name (String in EPackage javalang and
> javalang. A different EClassResolver should be used.
>
> When I try to create an instance of "Pdi" (Pdi is a class that extends
> Party)...
>
> public static void main(String[] args) {
>
> final String dataStoreName = "SGDDataStore";
>
> final HbDataStore dataStore =
> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>
> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
> PartyPackageImpl.eINSTANCE,
>
> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
> JavautilPackage.eINSTANCE,
>
> JavautilPackageImpl.eINSTANCE, });
>
>
>
>
> dataStore.initialize();
>
>
> final SessionFactory sessionFactory = dataStore.getSessionFactory();
>
> {
>
> final Session session = sessionFactory.openSession();
>
> session.beginTransaction();
>
>
> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>
> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>
>
>
> session.save(pdi);
>
> // (continues)
>
> }
>
> (*) ... Eclipse says: "the method setAddress (String) in the type Party is
> not applicable for the arguments String.
>
> There's a conflict between the String in (final String dataStoreName =
> "SGDDataStore";) and the String in (pdi.setAddress( "Campus, s/n"); ).
>
> Can you help me? Thanks in advance,
>
> Gonzalo
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] (newbie): More than one EClass with the same name [message #604924 is a reply to message #80667] Mon, 23 April 2007 10:16 Go to previous message
Gonzalo is currently offline GonzaloFriend
Messages: 27
Registered: July 2009
Junior Member
Hello again.

Martin: I keep getting the same error, but eith other classes:
Exception in thread "main" java.lang.IllegalArgumentException: There is more
than one EClass with the same identifying String (party.Persona in EPackage
party and party. A different EClassResolver should be used.

My code is (I've set the Property):
final Properties persistenceProps = new Properties();

persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);



final String dataStoreName = "SGDDataStore";

final HbDataStore dataStore =
(HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);


dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
PartyPackageImpl.eINSTANCE,

JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
JavautilPackage.eINSTANCE,

JavautilPackageImpl.eINSTANCE });


dataStore.setPersistenceProperties(persistenceProps);




dataStore.initialize();

The error points to this line (dataStore.initialize() ).

Any hint? Thank you again!

Gonzalo

"Martin Taal" <mtaal@elver.org> escribi
Re: [Teneo] (newbie): More than one EClass with the same name [message #604926 is a reply to message #80682] Mon, 23 April 2007 10:26 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
Can you post/send me the full stack trace and the ecore file? And if you are able to get the
hibernate.hbm (call dataStore.getMappingXML() (call this for example in an exception catch block
after initialize).

gr. Martin

Gonzalo wrote:
> Hello again.
>
> Martin: I keep getting the same error, but eith other classes:
> Exception in thread "main" java.lang.IllegalArgumentException: There is more
> than one EClass with the same identifying String (party.Persona in EPackage
> party and party. A different EClassResolver should be used.
>
> My code is (I've set the Property):
> final Properties persistenceProps = new Properties();
>
> persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
> PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);
>
>
>
> final String dataStoreName = "SGDDataStore";
>
> final HbDataStore dataStore =
> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>
>
> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
> PartyPackageImpl.eINSTANCE,
>
> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
> JavautilPackage.eINSTANCE,
>
> JavautilPackageImpl.eINSTANCE });
>
>
> dataStore.setPersistenceProperties(persistenceProps);
>
>
>
>
> dataStore.initialize();
>
> The error points to this line (dataStore.initialize() ).
>
> Any hint? Thank you again!
>
> Gonzalo
>
> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
> news:f0hs7v$ccq$1@build.eclipse.org...
>> Hi Gonzalo,
>> To get rid of the first exception you should set this property:
>> PersistenceOptions.QUALIFY_ENTITY_NAME
>> to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX
>>
>> to set this you can call the setPersistenceProperties on the
>> hibernatedatastore.
>>
>> (note if you set this in a property file then you need to check what the
>> String constant PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and set
>> this string constant in the prop file, the same for the other constant).
>>
>> For the other compiletime error, you should maybe do something like this:
>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>> party.javalang.String myGreatString =
>> PartyFactory.eINSTANCE.createString();
>> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
>> value member/feature in the party.javaLang.String class, but there is
>> probably something there
>> pdi.setAddress(myGreatString); // <----------------- (*)
>>
>> Btw, it would maybe be easier not to use exact java reserved (primitive
>> type) names for your eclass names or efeature names, but this ofcourse
>> depends on the case you want to solve.
>>
>> gr. Martin
>>
>> Gonzalo wrote:
>>> Hello Martin!
>>>
>>> I've read an old post with the same issue, but it didn't help me.
>>>
>>> I get this error (there's String (java.lang) and String (the generated
>>> one in party.javalang):
>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>> more than one EClass with the same name (String in EPackage javalang and
>>> javalang. A different EClassResolver should be used.
>>>
>>> When I try to create an instance of "Pdi" (Pdi is a class that extends
>>> Party)...
>>>
>>> public static void main(String[] args) {
>>>
>>> final String dataStoreName = "SGDDataStore";
>>>
>>> final HbDataStore dataStore =
>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>
>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>> PartyPackageImpl.eINSTANCE,
>>>
>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>> JavautilPackage.eINSTANCE,
>>>
>>> JavautilPackageImpl.eINSTANCE, });
>>>
>>>
>>>
>>>
>>> dataStore.initialize();
>>>
>>>
>>> final SessionFactory sessionFactory = dataStore.getSessionFactory();
>>>
>>> {
>>>
>>> final Session session = sessionFactory.openSession();
>>>
>>> session.beginTransaction();
>>>
>>>
>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>
>>> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>>>
>>>
>>>
>>> session.save(pdi);
>>>
>>> // (continues)
>>>
>>> }
>>>
>>> (*) ... Eclipse says: "the method setAddress (String) in the type Party
>>> is not applicable for the arguments String.
>>>
>>> There's a conflict between the String in (final String dataStoreName =
>>> "SGDDataStore";) and the String in (pdi.setAddress( "Campus, s/n"); ).
>>>
>>> Can you help me? Thanks in advance,
>>>
>>> Gonzalo
>>>
>>>
>>
>> --
>>
>> With Regards, Martin Taal
>>
>> Springsite/Elver.org
>> Office: Hardwareweg 4, 3821 BV Amersfoort
>> Postal: Nassaulaan 7, 3941 EC Doorn
>> The Netherlands
>> Tel: +31 (0)84 420 2397
>> Fax: +31 (0)84 225 9307
>> Mail: mtaal@springsite.com - mtaal@elver.org
>> Web: www.springsite.com - www.elver.org
>
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] (newbie): More than one EClass with the same name [message #604929 is a reply to message #80689] Mon, 23 April 2007 10:54 Go to previous message
Gonzalo is currently offline GonzaloFriend
Messages: 27
Registered: July 2009
Junior Member
Hello Martin, I attach the files.


I tried
System.err.println(dataStore.getMappingXML());

after dataStore.initialize(), but the error is the same.

Thank you!





"Martin Taal" <mtaal@elver.org> escribi
Re: [Teneo] (newbie): More than one EClass with the same name [message #604943 is a reply to message #80705] Mon, 23 April 2007 19:34 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
It worked fine with me, then I looked at your initialization code and the following needs to be
changed. When you call setEPackages in your code, each EPackage is present twice:
PartyPackage.eINSTANCE and PartyPackageImpl.eINSTANCE. These refer to the same EPackage instance, so
only the PartyPackage.eINSTANCE is enough (the same for the other two EPackages javalang javautil).

gr. Martin

Gonzalo wrote:
> Hello Martin, I attach the files.
>
>
> I tried
> System.err.println(dataStore.getMappingXML());
>
> after dataStore.initialize(), but the error is the same.
>
> Thank you!
>
>
>
>
>
> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
> news:f0i1kh$nvt$1@build.eclipse.org...
>> Hi Gonzalo,
>> Can you post/send me the full stack trace and the ecore file? And if you
>> are able to get the
>> hibernate.hbm (call dataStore.getMappingXML() (call this for example in an
>> exception catch block
>> after initialize).
>>
>> gr. Martin
>>
>> Gonzalo wrote:
>>> Hello again.
>>>
>>> Martin: I keep getting the same error, but eith other classes:
>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>> more
>>> than one EClass with the same identifying String (party.Persona in
>>> EPackage
>>> party and party. A different EClassResolver should be used.
>>>
>>> My code is (I've set the Property):
>>> final Properties persistenceProps = new Properties();
>>>
>>> persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
>>> PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);
>>>
>>>
>>>
>>> final String dataStoreName = "SGDDataStore";
>>>
>>> final HbDataStore dataStore =
>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>
>>>
>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>> PartyPackageImpl.eINSTANCE,
>>>
>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>> JavautilPackage.eINSTANCE,
>>>
>>> JavautilPackageImpl.eINSTANCE });
>>>
>>>
>>> dataStore.setPersistenceProperties(persistenceProps);
>>>
>>>
>>>
>>>
>>> dataStore.initialize();
>>>
>>> The error points to this line (dataStore.initialize() ).
>>>
>>> Any hint? Thank you again!
>>>
>>> Gonzalo
>>>
>>> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
>>> news:f0hs7v$ccq$1@build.eclipse.org...
>>>> Hi Gonzalo,
>>>> To get rid of the first exception you should set this property:
>>>> PersistenceOptions.QUALIFY_ENTITY_NAME
>>>> to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX
>>>>
>>>> to set this you can call the setPersistenceProperties on the
>>>> hibernatedatastore.
>>>>
>>>> (note if you set this in a property file then you need to check what the
>>>> String constant PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and
>>>> set
>>>> this string constant in the prop file, the same for the other constant).
>>>>
>>>> For the other compiletime error, you should maybe do something like
>>>> this:
>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>> party.javalang.String myGreatString =
>>>> PartyFactory.eINSTANCE.createString();
>>>> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
>>>> value member/feature in the party.javaLang.String class, but there is
>>>> probably something there
>>>> pdi.setAddress(myGreatString); // <----------------- (*)
>>>>
>>>> Btw, it would maybe be easier not to use exact java reserved (primitive
>>>> type) names for your eclass names or efeature names, but this ofcourse
>>>> depends on the case you want to solve.
>>>>
>>>> gr. Martin
>>>>
>>>> Gonzalo wrote:
>>>>> Hello Martin!
>>>>>
>>>>> I've read an old post with the same issue, but it didn't help me.
>>>>>
>>>>> I get this error (there's String (java.lang) and String (the generated
>>>>> one in party.javalang):
>>>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>>>> more than one EClass with the same name (String in EPackage javalang
>>>>> and
>>>>> javalang. A different EClassResolver should be used.
>>>>>
>>>>> When I try to create an instance of "Pdi" (Pdi is a class that extends
>>>>> Party)...
>>>>>
>>>>> public static void main(String[] args) {
>>>>>
>>>>> final String dataStoreName = "SGDDataStore";
>>>>>
>>>>> final HbDataStore dataStore =
>>>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>>>
>>>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>>>> PartyPackageImpl.eINSTANCE,
>>>>>
>>>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>>>> JavautilPackage.eINSTANCE,
>>>>>
>>>>> JavautilPackageImpl.eINSTANCE, });
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> dataStore.initialize();
>>>>>
>>>>>
>>>>> final SessionFactory sessionFactory =
>>>>> dataStore.getSessionFactory();
>>>>>
>>>>> {
>>>>>
>>>>> final Session session = sessionFactory.openSession();
>>>>>
>>>>> session.beginTransaction();
>>>>>
>>>>>
>>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>>>
>>>>> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>>>>>
>>>>>
>>>>>
>>>>> session.save(pdi);
>>>>>
>>>>> // (continues)
>>>>>
>>>>> }
>>>>>
>>>>> (*) ... Eclipse says: "the method setAddress (String) in the type Party
>>>>> is not applicable for the arguments String.
>>>>>
>>>>> There's a conflict between the String in (final String dataStoreName =
>>>>> "SGDDataStore";) and the String in (pdi.setAddress( "Campus, s/n"); ).
>>>>>
>>>>> Can you help me? Thanks in advance,
>>>>>
>>>>> Gonzalo
>>>>>
>>>>>
>>>> --
>>>>
>>>> With Regards, Martin Taal
>>>>
>>>> Springsite/Elver.org
>>>> Office: Hardwareweg 4, 3821 BV Amersfoort
>>>> Postal: Nassaulaan 7, 3941 EC Doorn
>>>> The Netherlands
>>>> Tel: +31 (0)84 420 2397
>>>> Fax: +31 (0)84 225 9307
>>>> Mail: mtaal@springsite.com - mtaal@elver.org
>>>> Web: www.springsite.com - www.elver.org
>>>
>>
>> --
>>
>> With Regards, Martin Taal
>>
>> Springsite/Elver.org
>> Office: Hardwareweg 4, 3821 BV Amersfoort
>> Postal: Nassaulaan 7, 3941 EC Doorn
>> The Netherlands
>> Tel: +31 (0)84 420 2397
>> Fax: +31 (0)84 225 9307
>> Mail: mtaal@springsite.com - mtaal@elver.org
>> Web: www.springsite.com - www.elver.org
>
>
> 0 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Creating emf data store and registering it under name: SGDDataStore
> 63 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore - Initializing protocol/extension for hibernate
> 79 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Returning created emf data store, initialize this newly created data store!
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - Properties of PersistenceOptions:
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.set_proxy: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.ignore_eannotations: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.always_version: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.always_map_list_as_bag: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.optimistic_locking: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.emap_as_true_map: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.id_feature_as_primary_key: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.default_id_column: e_id
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.also_map_as_class: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.default_cache_strategy: NONE
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.version_column: e_version
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.fetch_containment_eagerly: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.join_table_for_non_contained_associations: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.java_class_entity_names: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.max_sql_name_length: -1
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.strategy: lowercase
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.qualify_entity_name: nsprefix
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.naming.default_id_feature: e_id
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.disable_econtainer: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.default_temporal: TIMESTAMP
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.join_table_naming_strategy: ejb3
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.idbag_id_column_name: ID
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.map_all_lists_as_idbag: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.cascade_all_on_containment: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.set_entity_automatically: true
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.mapping.hibernate_mapping_file: false
> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - teneo.runtime.update_schema: true
> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore - Initializing Hb Session DataStore
> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore - >>>>> Creating HB Configuration
> 532 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.2.3
> 547 [main] INFO org.hibernate.cfg.Environment - loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.connection.password=****, hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect, hibernate.connection.url=jdbc:mysql://127.0.0.1:3306/sgd23, hibernate.bytecode.use_reflection_optimizer=false, hibernate.connection.driver_class=com.mysql.jdbc.Driver}
> 547 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : cglib
> 563 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
> 672 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore - Generating mapping file from in-mem ecore
> 704 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Creating pamodel for the following epackages
> 704 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javalang
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javalang
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javautil
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - javautil
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Create base pannotated model
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Deprecated eannotations with http://annotations.elver.org or http://ejb.elver.org are ignored.
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Parse annotations
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing package party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Party
> 907 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Party
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing direccion
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing localidad
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing codPostal
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing provincia
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing telefono1
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing extension
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing telefono2
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing correoE
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing fax
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing web
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Empresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Empresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing cif
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing denominacion
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing nombreComercial
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing cnae
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing contactoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing ContactoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass ContactoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing cargo
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing dptoEmpresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing empresa
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Persona
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Persona
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing nif
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing nombre
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing apellido1
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing apellido2
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing fechaNac
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Pdi
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Pdi
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing catAcademica
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing areaConocimiento
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing dpto
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing centro
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing codCtaCliente
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing remuneracion
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing horasSemanales
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing package javalang
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing javalang
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Object
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Object
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing String
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass String
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing package javautil
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing javautil
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Collection
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Collection
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Iterator
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Iterator
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing Date
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Number of parsed typename annotations 0
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter - Processing eclass Date
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Copying annotations on edatatypes over eattribute annotations!
> 922 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Add default annotations
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option: Default inheritance setting: SINGLE_TABLE
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option: Automatically adding entity annotation: true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option: Eagerly load all containment relations: false
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option set cascade all on containment: true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option default id feature name: e_id
> 938 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils - Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case strategy
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Qualify EClass name option: org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - ID Feature as primary key true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionEMapAsTrueMap true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionAlsoMapAsClass true
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Maximum column length: -1
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - JoinTableForNonContainedAssociations false
> 938 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl - Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case strategy
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - SQLCaseStrategy org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - JoinTableNamingStrategy ejb3
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionMapListAsBag false
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - optionMapListAsIdBag false
> 938 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class names are to be fully classified, registering all the epackages
> 954 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete classes for package party
> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete classes for package javalang
> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete classes for package javautil
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding default annotations for EPackage party
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EDataTypes
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EClasses
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Party
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Party
> 969 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 985 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + direccion/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + localidad/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + codPostal/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + provincia/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + telefono1/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + extension/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + telefono2/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + correoE/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + fax/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + web/Party does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Empresa
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Empresa
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + cif/Empresa does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + denominacion/Empresa does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + nombreComercial/Empresa does not have a manytoone annotation, adding one
> 1000 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + cnae/Empresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + contactoEmpresa/Empresa does not have a onetomany annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting indexed and unique from ereference because otm was not set manually!
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting unique because is bidirectional (has eopposite) otm
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass ContactoEmpresa
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Persona
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Persona
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + nif/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + nombre/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + apellido1/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + apellido2/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + fechaNac/Persona does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: ContactoEmpresa
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + cargo/ContactoEmpresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + dptoEmpresa/ContactoEmpresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + empresa/ContactoEmpresa does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Pdi
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Pdi
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + catAcademica/Pdi does not have a manytoone annotation, adding one
> 1032 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + areaConocimiento/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + dpto/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + centro/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + codCtaCliente/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EAttribute remuneracion
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference + horasSemanales/Pdi does not have a manytoone annotation, adding one
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding default annotations for EPackage javalang
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EDataTypes
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EClasses
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Object
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Object
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass String
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: String
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding default annotations for EPackage javautil
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EDataTypes
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing EClasses
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Collection
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Collection
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Iterator
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Iterator
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating mapping for eclass Date
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding default annotations for EClass: Date
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the superentity of the eclass
> 1047 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Returning created pamodel
> 1094 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils - Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case strategy
> 1094 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl - Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case strategy
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator - Geneting Hibernate mapping for org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl @42552c
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator - Setting auto-import=false because eclassnamingstrategy is not the defaulteclassnamestrategy
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Party
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag class
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Party
> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Table `party_party`
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/direccion
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne direccion/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_direccion_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/localidad
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne localidad/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_localidad_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/codPostal
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne codPostal/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_codpostal_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/provincia
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne provincia/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_provincia_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/telefono1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne telefono1/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_telefono1_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/extension
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne extension/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_extension_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/telefono2
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne telefono2/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_telefono2_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/correoE
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne correoE/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_correoe_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/fax
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne fax/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_fax_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/web
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne web/party.javalang.String
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_web_e_id
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Empresa
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Party
> 1125 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/cif
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne cif/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_cif_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/denominacion
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne denominacion/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_denominacion_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/nombreComercial
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne nombreComercial/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_nombrecomercial_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/cnae
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne cnae/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_cnae_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.OneToManyMapper - Generating one to many bidirectional inverse mapping for EReference/contactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - Adding key columns
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - Column contactoempresa_empresa_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Party
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/nif
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne nif/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_nif_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/nombre
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne nombre/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_nombre_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/apellido1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne apellido1/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_apellido1_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/apellido2
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne apellido2/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_apellido2_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/fechaNac
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javautil.Date
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne fechaNac/party.javautil.Date
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn date_fechanac_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/ContactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.ContactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for ContactoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/cargo
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne cargo/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_cargo_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/dptoEmpresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne dptoEmpresa/party.javalang.String
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_dptoempresa_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne empresa/party.Empresa
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn contactoempresa_empresa_e_id
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Mapping Entity EClass/Pdi
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Creating entity tag subclass
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - Extends party.Persona
> 1141 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper - DValue party.Pdi
> 1141 [main] DEBUG org.eclipse.emf.teneo.annotations.mapper.AbstractProcessingC ontext - Determining inherited features which are mapped locally for Pdi
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/catAcademica
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne catAcademica/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_catacademica_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/areaConocimiento
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne areaConocimiento/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_areaconocimiento_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/dpto
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne dpto/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_dpto_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/centro
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne centro/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_centro_e_id
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process many-to-one EReference/codCtaCliente
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addManyToOne codCtaCliente/party.javalang.String
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - addJoinColumns many-to-one/ no of joincolumns1
> 1157 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper - JoinColumn string_codctacliente_e_id
> 1157 [main] DEBUG org.eclipse.
Re: [Teneo] (newbie): More than one EClass with the same name [message #604963 is a reply to message #80776] Tue, 24 April 2007 08:24 Go to previous message
Gonzalo is currently offline GonzaloFriend
Messages: 27
Registered: July 2009
Junior Member
Thank you, Martin! It works :)

I keep getting errors with the types: String vs. Party.javalang.String. I
don't know why I get these packages (party.javalang, party.javautil)... in
the Library example they don't exist and there isn't this problem! The only
difference is that start from an UML diagram (Omondo Eclipse UML plugin) and
not annotated Java.

The first solution you proposed me...

Pdi pdi = PartyFactory.eINSTANCE.createPdi();
party.javalang.String myGreatString =
JavalangFactory.eINSTANCE.createString();
myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
value member/feature in
//the
party.javaLang.String class, but there is probably something there
pdi.setAddress(myGreatString);

.... I think it is complicated for every "String" attribute I could get.
Moreover, there's nothing like "JavalangFactory.eINSTANCE.createString()"
and Party.javalang.String only extends EObject... (i attach the String.java
generated).

So, for the second solution ("Btw, it would maybe be easier not to use exact
java reserved (primitive type) names for your eclass names or efeature
names"), I don't know if I must change "party.javalang.String" for "String"
everywhere in my code. The same for every "party.javalang.String" in the
"hibernate.hbm" generated by Teneo. Is this the best way?

Thanks in advance, Martin.

With regards,

Gonzalo

"Martin Taal" <mtaal@elver.org> escribi
  • Attachment: String.java
    (Size: 0.39KB, Downloaded 84 times)
Re: [Teneo] (newbie): More than one EClass with the same name [message #604968 is a reply to message #80843] Tue, 24 April 2007 08:34 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Gonzalo,
I think you should not go in that direction (manually changing the hbm or your generated code).
It seems that the Omondo Uml to ecore mapping creates these types. Although I do not know your case
and I do not know Omondo it seems to me that this is not what you want, the ecore should use the
primitive String type. I don't use Omondo so I can't help you there. I think you should recheck with
the Omondo people to see why the ecore was created like this.

You could also just create the ecore manually and work from there (use the library.ecore as an example).

gr. Martin

Gonzalo wrote:
> Thank you, Martin! It works :)
>
> I keep getting errors with the types: String vs. Party.javalang.String. I
> don't know why I get these packages (party.javalang, party.javautil)... in
> the Library example they don't exist and there isn't this problem! The only
> difference is that start from an UML diagram (Omondo Eclipse UML plugin) and
> not annotated Java.
>
> The first solution you proposed me...
>
> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
> party.javalang.String myGreatString =
> JavalangFactory.eINSTANCE.createString();
> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
> value member/feature in
> //the
> party.javaLang.String class, but there is probably something there
> pdi.setAddress(myGreatString);
>
> .... I think it is complicated for every "String" attribute I could get.
> Moreover, there's nothing like "JavalangFactory.eINSTANCE.createString()"
> and Party.javalang.String only extends EObject... (i attach the String.java
> generated).
>
> So, for the second solution ("Btw, it would maybe be easier not to use exact
> java reserved (primitive type) names for your eclass names or efeature
> names"), I don't know if I must change "party.javalang.String" for "String"
> everywhere in my code. The same for every "party.javalang.String" in the
> "hibernate.hbm" generated by Teneo. Is this the best way?
>
> Thanks in advance, Martin.
>
> With regards,
>
> Gonzalo
>
> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
> news:f0j1o1$22s$1@build.eclipse.org...
>> Hi Gonzalo,
>> It worked fine with me, then I looked at your initialization code and the
>> following needs to be
>> changed. When you call setEPackages in your code, each EPackage is present
>> twice:
>> PartyPackage.eINSTANCE and PartyPackageImpl.eINSTANCE. These refer to the
>> same EPackage instance, so
>> only the PartyPackage.eINSTANCE is enough (the same for the other two
>> EPackages javalang javautil).
>>
>> gr. Martin
>>
>> Gonzalo wrote:
>>> Hello Martin, I attach the files.
>>>
>>>
>>> I tried
>>> System.err.println(dataStore.getMappingXML());
>>>
>>> after dataStore.initialize(), but the error is the same.
>>>
>>> Thank you!
>>>
>>>
>>>
>>>
>>>
>>> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
>>> news:f0i1kh$nvt$1@build.eclipse.org...
>>>> Hi Gonzalo,
>>>> Can you post/send me the full stack trace and the ecore file? And if you
>>>> are able to get the
>>>> hibernate.hbm (call dataStore.getMappingXML() (call this for example in
>>>> an
>>>> exception catch block
>>>> after initialize).
>>>>
>>>> gr. Martin
>>>>
>>>> Gonzalo wrote:
>>>>> Hello again.
>>>>>
>>>>> Martin: I keep getting the same error, but eith other classes:
>>>>> Exception in thread "main" java.lang.IllegalArgumentException: There is
>>>>> more
>>>>> than one EClass with the same identifying String (party.Persona in
>>>>> EPackage
>>>>> party and party. A different EClassResolver should be used.
>>>>>
>>>>> My code is (I've set the Property):
>>>>> final Properties persistenceProps = new Properties();
>>>>>
>>>>> persistenceProps.setProperty(PersistenceOptions.QUALIFY_ENTI TY_NAME,
>>>>> PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX);
>>>>>
>>>>>
>>>>>
>>>>> final String dataStoreName = "SGDDataStore";
>>>>>
>>>>> final HbDataStore dataStore =
>>>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>>>
>>>>>
>>>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>>>> PartyPackageImpl.eINSTANCE,
>>>>>
>>>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>>>> JavautilPackage.eINSTANCE,
>>>>>
>>>>> JavautilPackageImpl.eINSTANCE });
>>>>>
>>>>>
>>>>> dataStore.setPersistenceProperties(persistenceProps);
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> dataStore.initialize();
>>>>>
>>>>> The error points to this line (dataStore.initialize() ).
>>>>>
>>>>> Any hint? Thank you again!
>>>>>
>>>>> Gonzalo
>>>>>
>>>>> "Martin Taal" <mtaal@elver.org> escribió en el mensaje
>>>>> news:f0hs7v$ccq$1@build.eclipse.org...
>>>>>> Hi Gonzalo,
>>>>>> To get rid of the first exception you should set this property:
>>>>>> PersistenceOptions.QUALIFY_ENTITY_NAME
>>>>>> to: PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX
>>>>>>
>>>>>> to set this you can call the setPersistenceProperties on the
>>>>>> hibernatedatastore.
>>>>>>
>>>>>> (note if you set this in a property file then you need to check what
>>>>>> the
>>>>>> String constant PersistenceOptions.QUALIFY_ENTITY_NAME_NSPREFIX is and
>>>>>> set
>>>>>> this string constant in the prop file, the same for the other
>>>>>> constant).
>>>>>>
>>>>>> For the other compiletime error, you should maybe do something like
>>>>>> this:
>>>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>>>> party.javalang.String myGreatString =
>>>>>> PartyFactory.eINSTANCE.createString();
>>>>>> myGreatString.setValue("Campus, s/n"); // I am not sure if there is a
>>>>>> value member/feature in the party.javaLang.String class, but there is
>>>>>> probably something there
>>>>>> pdi.setAddress(myGreatString); // <----------------- (*)
>>>>>>
>>>>>> Btw, it would maybe be easier not to use exact java reserved
>>>>>> (primitive
>>>>>> type) names for your eclass names or efeature names, but this ofcourse
>>>>>> depends on the case you want to solve.
>>>>>>
>>>>>> gr. Martin
>>>>>>
>>>>>> Gonzalo wrote:
>>>>>>> Hello Martin!
>>>>>>>
>>>>>>> I've read an old post with the same issue, but it didn't help me.
>>>>>>>
>>>>>>> I get this error (there's String (java.lang) and String (the
>>>>>>> generated
>>>>>>> one in party.javalang):
>>>>>>> Exception in thread "main" java.lang.IllegalArgumentException: There
>>>>>>> is
>>>>>>> more than one EClass with the same name (String in EPackage javalang
>>>>>>> and
>>>>>>> javalang. A different EClassResolver should be used.
>>>>>>>
>>>>>>> When I try to create an instance of "Pdi" (Pdi is a class that
>>>>>>> extends
>>>>>>> Party)...
>>>>>>>
>>>>>>> public static void main(String[] args) {
>>>>>>>
>>>>>>> final String dataStoreName = "SGDDataStore";
>>>>>>>
>>>>>>> final HbDataStore dataStore =
>>>>>>> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore(dataS toreName);
>>>>>>>
>>>>>>> dataStore.setEPackages(new EPackage[] { PartyPackage.eINSTANCE,
>>>>>>> PartyPackageImpl.eINSTANCE,
>>>>>>>
>>>>>>> JavalangPackage.eINSTANCE, JavalangPackageImpl.eINSTANCE,
>>>>>>> JavautilPackage.eINSTANCE,
>>>>>>>
>>>>>>> JavautilPackageImpl.eINSTANCE, });
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> dataStore.initialize();
>>>>>>>
>>>>>>>
>>>>>>> final SessionFactory sessionFactory =
>>>>>>> dataStore.getSessionFactory();
>>>>>>>
>>>>>>> {
>>>>>>>
>>>>>>> final Session session = sessionFactory.openSession();
>>>>>>>
>>>>>>> session.beginTransaction();
>>>>>>>
>>>>>>>
>>>>>>> Pdi pdi = PartyFactory.eINSTANCE.createPdi();
>>>>>>>
>>>>>>> pdi.setAddress( "Campus, s/n"); // <----------------- (*)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> session.save(pdi);
>>>>>>>
>>>>>>> // (continues)
>>>>>>>
>>>>>>> }
>>>>>>>
>>>>>>> (*) ... Eclipse says: "the method setAddress (String) in the type
>>>>>>> Party
>>>>>>> is not applicable for the arguments String.
>>>>>>>
>>>>>>> There's a conflict between the String in (final String dataStoreName
>>>>>>> =
>>>>>>> "SGDDataStore";) and the String in (pdi.setAddress( "Campus,
>>>>>>> s/n"); ).
>>>>>>>
>>>>>>> Can you help me? Thanks in advance,
>>>>>>>
>>>>>>> Gonzalo
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>>
>>>>>> With Regards, Martin Taal
>>>>>>
>>>>>> Springsite/Elver.org
>>>>>> Office: Hardwareweg 4, 3821 BV Amersfoort
>>>>>> Postal: Nassaulaan 7, 3941 EC Doorn
>>>>>> The Netherlands
>>>>>> Tel: +31 (0)84 420 2397
>>>>>> Fax: +31 (0)84 225 9307
>>>>>> Mail: mtaal@springsite.com - mtaal@elver.org
>>>>>> Web: www.springsite.com - www.elver.org
>>>> --
>>>>
>>>> With Regards, Martin Taal
>>>>
>>>> Springsite/Elver.org
>>>> Office: Hardwareweg 4, 3821 BV Amersfoort
>>>> Postal: Nassaulaan 7, 3941 EC Doorn
>>>> The Netherlands
>>>> Tel: +31 (0)84 420 2397
>>>> Fax: +31 (0)84 225 9307
>>>> Mail: mtaal@springsite.com - mtaal@elver.org
>>>> Web: www.springsite.com - www.elver.org
>>>
>>> 0 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Creating
>>> emf data store and registering it under name: SGDDataStore
>>> 63 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore -
>>> Initializing protocol/extension for hibernate
>>> 79 [main] INFO org.eclipse.emf.teneo.hibernate.HbHelper - Returning
>>> created emf data store, initialize this newly created data store!
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions - Properties
>>> of PersistenceOptions:
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.set_proxy: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.ignore_eannotations: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.always_version: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.always_map_list_as_bag: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.optimistic_locking: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.emap_as_true_map: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.id_feature_as_primary_key: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.default_id_column: e_id
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.also_map_as_class: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.default_cache_strategy: NONE
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.version_column: e_version
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.fetch_containment_eagerly: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.join_table_for_non_contained_associations: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.java_class_entity_names: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.max_sql_name_length: -1
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.strategy: lowercase
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.qualify_entity_name: nsprefix
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.naming.default_id_feature: e_id
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.disable_econtainer: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.default_temporal: TIMESTAMP
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.join_table_naming_strategy: ejb3
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.idbag_id_column_name: ID
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.map_all_lists_as_idbag: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.cascade_all_on_containment: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.set_entity_automatically: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.mapping.hibernate_mapping_file: false
>>> 485 [main] DEBUG org.eclipse.emf.teneo.PersistenceOptions -
>>> teneo.runtime.update_schema: true
>>> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
>>> Initializing Hb Session DataStore
>>> 485 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
>>> >>>>> Creating HB Configuration
>>> 532 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.2.3
>>> 547 [main] INFO org.hibernate.cfg.Environment - loaded properties from
>>> resource hibernate.properties: {hibernate.connection.username=root,
>>> hibernate.connection.password=****,
>>> hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect,
>>> hibernate.connection.url=jdbc:mysql://127.0.0.1:3306/sgd23,
>>> hibernate.bytecode.use_reflection_optimizer=false,
>>> hibernate.connection.driver_class=com.mysql.jdbc.Driver}
>>> 547 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name
>>> : cglib
>>> 563 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
>>> java.sql.Timestamp handling
>>> 672 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbDataStore -
>>> Generating mapping file from in-mem ecore
>>> 704 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Creating pamodel for the following epackages
>>> 704 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javalang
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javalang
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javautil
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> javautil
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Create base pannotated model
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Deprecated eannotations with http://annotations.elver.org or
>>> http://ejb.elver.org are ignored.
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Parse annotations
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing package party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Party
>>> 907 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Party
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing direccion
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing localidad
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing codPostal
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing provincia
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing telefono1
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing extension
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing telefono2
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing correoE
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing fax
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing web
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Empresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Empresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing cif
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing denominacion
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing nombreComercial
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing cnae
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing contactoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing ContactoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass ContactoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing cargo
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing dptoEmpresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing empresa
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Persona
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Persona
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing nif
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing nombre
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing apellido1
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing apellido2
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing fechaNac
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Pdi
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Pdi
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing catAcademica
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing areaConocimiento
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing dpto
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing centro
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing codCtaCliente
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing remuneracion
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing horasSemanales
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing package javalang
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing javalang
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Object
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Object
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing String
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass String
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing package javautil
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing javautil
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Collection
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Collection
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Iterator
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Iterator
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing Date
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Number of parsed typename annotations 0
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.parser.EAnnotationParserIm porter -
>>> Processing eclass Date
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Copying annotations on edatatypes over eattribute annotations!
>>> 922 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder - Add
>>> default annotations
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option:
>>> Default inheritance setting: SINGLE_TABLE
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option:
>>> Automatically adding entity annotation: true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option:
>>> Eagerly load all containment relations: false
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option set
>>> cascade all on containment: true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Option
>>> default id feature name: e_id
>>> 938 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils -
>>> Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case
>>> strategy
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Qualify
>>> EClass name option:
>>> org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - ID Feature
>>> as primary key true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionEMapAsTrueMap true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionAlsoMapAsClass true
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Maximum
>>> column length: -1
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> JoinTableForNonContainedAssociations false
>>> 938 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl -
>>> Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case
>>> strategy
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> SQLCaseStrategy org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> JoinTableNamingStrategy ejb3
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionMapListAsBag false
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>>> optionMapListAsIdBag false
>>> 938 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class names
>>> are to be fully classified, registering all the epackages
>>> 954 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
>>> classes for package party
>>> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
>>> classes for package javalang
>>> 969 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
>>> classes for package javautil
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
>>> default annotations for EPackage party
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EDataTypes
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EClasses
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Party
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Party
>>> 969 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 985 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> direccion/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> localidad/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> codPostal/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> provincia/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> telefono1/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> extension/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> telefono2/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> correoE/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> fax/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> web/Party does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Empresa
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Empresa
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> cif/Empresa does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> denominacion/Empresa does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> nombreComercial/Empresa does not have a manytoone annotation, adding one
>>> 1000 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> cnae/Empresa does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> contactoEmpresa/Empresa does not have a onetomany annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting
>>> indexed and unique from ereference because otm was not set manually!
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting
>>> unique because is bidirectional (has eopposite) otm
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass ContactoEmpresa
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Persona
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Persona
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> nif/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> nombre/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> apellido1/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> apellido2/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> fechaNac/Persona does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: ContactoEmpresa
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> cargo/ContactoEmpresa does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> dptoEmpresa/ContactoEmpresa does not have a manytoone annotation, adding
>>> one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> empresa/ContactoEmpresa does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Pdi
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Pdi
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> catAcademica/Pdi does not have a manytoone annotation, adding one
>>> 1032 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> areaConocimiento/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> dpto/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> centro/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> codCtaCliente/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EAttribute remuneracion
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference +
>>> horasSemanales/Pdi does not have a manytoone annotation, adding one
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
>>> default annotations for EPackage javalang
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EDataTypes
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EClasses
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Object
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Object
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass String
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: String
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
>>> default annotations for EPackage javautil
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EDataTypes
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
>>> EClasses
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Collection
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Collection
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Iterator
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Iterator
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>>> mapping for eclass Date
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>>> default annotations for EClass: Date
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
>>> superentity of the eclass
>>> 1047 [main] DEBUG
>>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder -
>>> Returning created pamodel
>>> 1094 [main] DEBUG org.eclipse.emf.teneo.ecore.EClassNameStrategyUtils -
>>> Creating org.eclipse.emf.teneo.ecore.QualifyingEClassNameStrategy as case
>>> strategy
>>> 1094 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl -
>>> Creating org.eclipse.emf.teneo.util.SQLCaseStrategyImpl$LowerCase as case
>>> strategy
>>> 1110 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator -
>>> Geneting Hibernate mapping for
>>> org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl @42552c
>>> 1110 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.HibernateMappingGener ator -
>>> Setting auto-import=false because eclassnamingstrategy is not the
>>> defaulteclassnamestrategy
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> Mapping Entity EClass/Party
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> Creating entity tag class
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> DValue party.Party
>>> 1110 [main] DEBUG org.eclipse.emf.teneo.hibernate.mapper.EntityMapper -
>>> Table `party_party`
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/direccion
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne direccion/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_direccion_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/localidad
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne localidad/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_localidad_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/codPostal
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne codPostal/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_codpostal_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/provincia
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne provincia/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addJoinColumns many-to-one/ no of joincolumns1
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> JoinColumn string_provincia_e_id
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Process
>>> many-to-one EReference/telefono1
>>> 1125 [main] DEBUG
>>> rg.eclipse.emf.teneo.hibernate.mapper.ManyToOneMapper - Target
>>> party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.teneo.hibernate.mapper.AbstractAssociationMa pper -
>>> addManyToOne telefono1/party.javalang.String
>>> 1125 [main] DEBUG
>>> org.eclipse.emf.tene
Re: [Teneo] (newbie): More than one EClass with the same name [message #604992 is a reply to message #80844] Tue, 24 April 2007 14:31 Go to previous message
Gonzalo is currently offline GonzaloFriend
Messages: 27
Registered: July 2009
Junior Member
Ok Martin.
I'll look for a solution.

Thank you very much! I appreciate your help.

With regards,
Gonzalo

"Martin Taal" <mtaal@elver.org> escribi
Previous Topic:Validation - constraintProvider - package
Next Topic:[teneo] EMF 2.2.1 vs EMF 2.3.x for Teneo 0.8x
Goto Forum:
  


Current Time: Fri Apr 19 20:36:09 GMT 2024

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

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

Back to the top