Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] HibernateResource with mapping file
[Teneo] HibernateResource with mapping file [message #76804] Tue, 27 March 2007 19:18 Go to next message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
I am using the HibernateResource to get my Teneo resource, but now I want
to use a static hibernate mapping XML file. How do I specifiy that the
mapping file should be used, or any other persistence options, when using
a resource.?

I have tried specifying the option in the load() method call with no
success.

Thanks,
Mark.
Re: [Teneo] HibernateResource with mapping file [message #76820 is a reply to message #76804] Tue, 27 March 2007 19:54 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Mark,
The persistenceoptions are relevant only for the initialization of the HbDataStore. One of the
persistenceoptions is: PersistenceOptions.USE_MAPPING_FILE. If you set this true when initializing a
datastore then it should use a static hibernate mapping file (it searches in the classpath of the
generated java classes).

The few extra options relevant for a hibernateresource are mentioned on this page:
http://www.elver.org/hibernate/hibernateresources.html

gr. Martin

Mark wrote:
> I am using the HibernateResource to get my Teneo resource, but now I
> want to use a static hibernate mapping XML file. How do I specifiy that
> the mapping file should be used, or any other persistence options, when
> using a resource.?
>
> I have tried specifying the option in the load() method call with no
> success.
>
> Thanks,
> Mark.
>


--

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] HibernateResource with mapping file [message #76837 is a reply to message #76820] Tue, 27 March 2007 19:57 Go to previous messageGo to next message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

So I must use a datastore then.??

Currently I am not creating a datastore explicitly.

Thanks,
Mark.
Re: [Teneo] HibernateResource with mapping file [message #76851 is a reply to message #76837] Tue, 27 March 2007 20:07 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Mark,
I think you mentioned that you use a ehb file. In the version of Teneo from beginning of March you
can also specify all persistenceoptions in the ehb file.

gr. Martin

Mark wrote:
> Martin,
>
> So I must use a datastore then.??
>
> Currently I am not creating a datastore explicitly.
>
> Thanks,
> Mark.
>


--

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] HibernateResource with mapping file [message #76867 is a reply to message #76851] Tue, 27 March 2007 20:56 Go to previous messageGo to next message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

By the time I saw your reply I had converted to use a datastore...

Now, when I specify the mapping file I can not access or load any objects.
If I don't specify the mapping file everything works.

I get an error for the initial query that says "Object" not mapped...

1535 [main] DEBUG org.hibernate.jdbc.JDBCContext - after transaction begin
1535 [main] DEBUG
org.eclipse.emf.teneo.hibernate.resource.HibernateResource - Loading
resource hibernate://?dsname=SrdV4&query1=FROM Echostar using defined
queries
1539 [main] DEBUG org.hibernate.engine.query.QueryPlanCache - unable to
locate HQL query plan in cache; generating (FROM Echostar)
1599 [main] DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - parse() -
HQL: FROM Echostar
1608 [main] DEBUG org.hibernate.hql.ast.AST - --- HQL AST ---
\-[QUERY] 'query'
\-[SELECT_FROM] 'SELECT_FROM'
\-[FROM] 'FROM'
\-[RANGE] 'RANGE'
\-[IDENT] 'Echostar'

1608 [main] DEBUG org.hibernate.hql.ast.ErrorCounter -
throwQueryException() : no errors
1653 [main] DEBUG org.hibernate.hql.antlr.HqlSqlBaseWalker - select <<
begin [level=1, statement=select]
1698 [main] ERROR org.eclipse.emf.teneo.hibernate.HbMapperException -
Exception when saving resource SrdV4
org.hibernate.hql.ast.QuerySyntaxException: Echostar is not mapped [FROM
Echostar]
at
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClass Persister(SessionFactoryHelper.java:158)
at
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement (FromElementFactory.java:87)
at
org.hibernate.hql.ast.tree.FromClause.addFromElement(FromCla use.java:70)

Mark.
Re: [Teneo] HibernateResource with mapping file [message #76884 is a reply to message #76867] Tue, 27 March 2007 21:04 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Mark,
It seems that it can't find the hbm mapping file. When you turn on logging then when initializing a
datastore you should the following line:
Searching hbm files in class paths of epackages

and then the list of paths it looks for the hbm file.

Can you check if the hbm file is actually there in the output folder in one of these paths (with me
such files don't always get copied to the output folder without first explicitly setting it in the
build.properties)?
The file should be called hibernate.hbm.xml.

gr. Martin

Mark wrote:
> Martin,
>
> By the time I saw your reply I had converted to use a datastore...
>
> Now, when I specify the mapping file I can not access or load any
> objects. If I don't specify the mapping file everything works.
>
> I get an error for the initial query that says "Object" not mapped...
>
> 1535 [main] DEBUG org.hibernate.jdbc.JDBCContext - after transaction begin
> 1535 [main] DEBUG
> org.eclipse.emf.teneo.hibernate.resource.HibernateResource - Loading
> resource hibernate://?dsname=SrdV4&query1=FROM Echostar using defined
> queries
> 1539 [main] DEBUG org.hibernate.engine.query.QueryPlanCache - unable to
> locate HQL query plan in cache; generating (FROM Echostar)
> 1599 [main] DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - parse() -
> HQL: FROM Echostar
> 1608 [main] DEBUG org.hibernate.hql.ast.AST - --- HQL AST ---
> \-[QUERY] 'query'
> \-[SELECT_FROM] 'SELECT_FROM'
> \-[FROM] 'FROM'
> \-[RANGE] 'RANGE'
> \-[IDENT] 'Echostar'
>
> 1608 [main] DEBUG org.hibernate.hql.ast.ErrorCounter -
> throwQueryException() : no errors
> 1653 [main] DEBUG org.hibernate.hql.antlr.HqlSqlBaseWalker - select <<
> begin [level=1, statement=select]
> 1698 [main] ERROR org.eclipse.emf.teneo.hibernate.HbMapperException -
> Exception when saving resource SrdV4
> org.hibernate.hql.ast.QuerySyntaxException: Echostar is not mapped [FROM
> Echostar]
> at
> org.hibernate.hql.ast.util.SessionFactoryHelper.requireClass Persister(SessionFactoryHelper.java:158)
>
> at
> org.hibernate.hql.ast.tree.FromElementFactory.addFromElement (FromElementFactory.java:87)
>
> at
> org.hibernate.hql.ast.tree.FromClause.addFromElement(FromCla use.java:70)
>
> Mark.
>


--

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] HibernateResource with mapping file [message #76901 is a reply to message #76884] Tue, 27 March 2007 21:21 Go to previous messageGo to next message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

I did have a problem generating the mapping file with manually, so I just
called getMappingXML() after the store is initialized.

Yes it seems as though it is found...

567 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
java.sql.Timestamp handling
626 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
classes for package srd
742 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
Searching hbm files in class paths of epackages
745 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - >>>> Building or
descriptor file List
747 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
:hibernate.hbm.xml
751 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/srd/hibernate.hbm.xml
773 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/hibernate.hbm.xml
780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/srd/impl/hibernate.hbm.xml
780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - !!Found!!
781 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/org/eclipse/emf/ecore/impl/hibernate.hbm.xml
784 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/org/eclipse/emf/ecore/hibernate.hbm.xml
789 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/org/eclipse/emf/hibernate.hbm.xml
7
Re: [Teneo] HibernateResource with mapping file [message #76917 is a reply to message #76901] Tue, 27 March 2007 21:26 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
and echostar is mapped in the hbm file?

You can also turn on debugging for hibernate to get some more info:
log4j.logger.org.hibernate=debug

Also if you debug into the hbdatastore then you should see that it passes the hbm to the hibernate
configuration. Does it do that?

gr. Martin

Mark wrote:
> Martin,
>
> I did have a problem generating the mapping file with manually, so I
> just called getMappingXML() after the store is initialized.
>
> Yes it seems as though it is found...
>
> 567 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
> java.sql.Timestamp handling
> 626 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
> classes for package srd
> 742 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
> Searching hbm files in class paths of epackages
> 745 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - >>>> Building
> or descriptor file List
> 747 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> :hibernate.hbm.xml
> 751 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /srd/hibernate.hbm.xml
> 773 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /hibernate.hbm.xml
> 780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /srd/impl/hibernate.hbm.xml
> 780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - !!Found!!
> 781 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /org/eclipse/emf/ecore/impl/hibernate.hbm.xml
> 784 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /org/eclipse/emf/ecore/hibernate.hbm.xml
> 789 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /org/eclipse/emf/hibernate.hbm.xml
> 7
>


--

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] HibernateResource with mapping file [message #76976 is a reply to message #76917] Tue, 27 March 2007 21:55 Go to previous message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

Solved. The mapping file being used was empty, from my attempt at manual
creation.

Mark.
Re: [Teneo] HibernateResource with mapping file [message #603888 is a reply to message #76804] Tue, 27 March 2007 19:54 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Mark,
The persistenceoptions are relevant only for the initialization of the HbDataStore. One of the
persistenceoptions is: PersistenceOptions.USE_MAPPING_FILE. If you set this true when initializing a
datastore then it should use a static hibernate mapping file (it searches in the classpath of the
generated java classes).

The few extra options relevant for a hibernateresource are mentioned on this page:
http://www.elver.org/hibernate/hibernateresources.html

gr. Martin

Mark wrote:
> I am using the HibernateResource to get my Teneo resource, but now I
> want to use a static hibernate mapping XML file. How do I specifiy that
> the mapping file should be used, or any other persistence options, when
> using a resource.?
>
> I have tried specifying the option in the load() method call with no
> success.
>
> Thanks,
> Mark.
>


--

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] HibernateResource with mapping file [message #603892 is a reply to message #76820] Tue, 27 March 2007 19:57 Go to previous message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

So I must use a datastore then.??

Currently I am not creating a datastore explicitly.

Thanks,
Mark.
Re: [Teneo] HibernateResource with mapping file [message #603894 is a reply to message #76837] Tue, 27 March 2007 20:07 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Mark,
I think you mentioned that you use a ehb file. In the version of Teneo from beginning of March you
can also specify all persistenceoptions in the ehb file.

gr. Martin

Mark wrote:
> Martin,
>
> So I must use a datastore then.??
>
> Currently I am not creating a datastore explicitly.
>
> Thanks,
> Mark.
>


--

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] HibernateResource with mapping file [message #603897 is a reply to message #76851] Tue, 27 March 2007 20:56 Go to previous message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

By the time I saw your reply I had converted to use a datastore...

Now, when I specify the mapping file I can not access or load any objects.
If I don't specify the mapping file everything works.

I get an error for the initial query that says "Object" not mapped...

1535 [main] DEBUG org.hibernate.jdbc.JDBCContext - after transaction begin
1535 [main] DEBUG
org.eclipse.emf.teneo.hibernate.resource.HibernateResource - Loading
resource hibernate://?dsname=SrdV4&query1=FROM Echostar using defined
queries
1539 [main] DEBUG org.hibernate.engine.query.QueryPlanCache - unable to
locate HQL query plan in cache; generating (FROM Echostar)
1599 [main] DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - parse() -
HQL: FROM Echostar
1608 [main] DEBUG org.hibernate.hql.ast.AST - --- HQL AST ---
\-[QUERY] 'query'
\-[SELECT_FROM] 'SELECT_FROM'
\-[FROM] 'FROM'
\-[RANGE] 'RANGE'
\-[IDENT] 'Echostar'

1608 [main] DEBUG org.hibernate.hql.ast.ErrorCounter -
throwQueryException() : no errors
1653 [main] DEBUG org.hibernate.hql.antlr.HqlSqlBaseWalker - select <<
begin [level=1, statement=select]
1698 [main] ERROR org.eclipse.emf.teneo.hibernate.HbMapperException -
Exception when saving resource SrdV4
org.hibernate.hql.ast.QuerySyntaxException: Echostar is not mapped [FROM
Echostar]
at
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClass Persister(SessionFactoryHelper.java:158)
at
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement (FromElementFactory.java:87)
at
org.hibernate.hql.ast.tree.FromClause.addFromElement(FromCla use.java:70)

Mark.
Re: [Teneo] HibernateResource with mapping file [message #603898 is a reply to message #76867] Tue, 27 March 2007 21:04 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Mark,
It seems that it can't find the hbm mapping file. When you turn on logging then when initializing a
datastore you should the following line:
Searching hbm files in class paths of epackages

and then the list of paths it looks for the hbm file.

Can you check if the hbm file is actually there in the output folder in one of these paths (with me
such files don't always get copied to the output folder without first explicitly setting it in the
build.properties)?
The file should be called hibernate.hbm.xml.

gr. Martin

Mark wrote:
> Martin,
>
> By the time I saw your reply I had converted to use a datastore...
>
> Now, when I specify the mapping file I can not access or load any
> objects. If I don't specify the mapping file everything works.
>
> I get an error for the initial query that says "Object" not mapped...
>
> 1535 [main] DEBUG org.hibernate.jdbc.JDBCContext - after transaction begin
> 1535 [main] DEBUG
> org.eclipse.emf.teneo.hibernate.resource.HibernateResource - Loading
> resource hibernate://?dsname=SrdV4&query1=FROM Echostar using defined
> queries
> 1539 [main] DEBUG org.hibernate.engine.query.QueryPlanCache - unable to
> locate HQL query plan in cache; generating (FROM Echostar)
> 1599 [main] DEBUG org.hibernate.hql.ast.QueryTranslatorImpl - parse() -
> HQL: FROM Echostar
> 1608 [main] DEBUG org.hibernate.hql.ast.AST - --- HQL AST ---
> \-[QUERY] 'query'
> \-[SELECT_FROM] 'SELECT_FROM'
> \-[FROM] 'FROM'
> \-[RANGE] 'RANGE'
> \-[IDENT] 'Echostar'
>
> 1608 [main] DEBUG org.hibernate.hql.ast.ErrorCounter -
> throwQueryException() : no errors
> 1653 [main] DEBUG org.hibernate.hql.antlr.HqlSqlBaseWalker - select <<
> begin [level=1, statement=select]
> 1698 [main] ERROR org.eclipse.emf.teneo.hibernate.HbMapperException -
> Exception when saving resource SrdV4
> org.hibernate.hql.ast.QuerySyntaxException: Echostar is not mapped [FROM
> Echostar]
> at
> org.hibernate.hql.ast.util.SessionFactoryHelper.requireClass Persister(SessionFactoryHelper.java:158)
>
> at
> org.hibernate.hql.ast.tree.FromElementFactory.addFromElement (FromElementFactory.java:87)
>
> at
> org.hibernate.hql.ast.tree.FromClause.addFromElement(FromCla use.java:70)
>
> Mark.
>


--

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] HibernateResource with mapping file [message #603901 is a reply to message #76884] Tue, 27 March 2007 21:21 Go to previous message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

I did have a problem generating the mapping file with manually, so I just
called getMappingXML() after the store is initialized.

Yes it seems as though it is found...

567 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
java.sql.Timestamp handling
626 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
classes for package srd
742 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
Searching hbm files in class paths of epackages
745 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - >>>> Building or
descriptor file List
747 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
:hibernate.hbm.xml
751 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/srd/hibernate.hbm.xml
773 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/hibernate.hbm.xml
780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/srd/impl/hibernate.hbm.xml
780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - !!Found!!
781 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/org/eclipse/emf/ecore/impl/hibernate.hbm.xml
784 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/org/eclipse/emf/ecore/hibernate.hbm.xml
789 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
/org/eclipse/emf/hibernate.hbm.xml
7
Re: [Teneo] HibernateResource with mapping file [message #603903 is a reply to message #76901] Tue, 27 March 2007 21:26 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
and echostar is mapped in the hbm file?

You can also turn on debugging for hibernate to get some more info:
log4j.logger.org.hibernate=debug

Also if you debug into the hbdatastore then you should see that it passes the hbm to the hibernate
configuration. Does it do that?

gr. Martin

Mark wrote:
> Martin,
>
> I did have a problem generating the mapping file with manually, so I
> just called getMappingXML() after the store is initialized.
>
> Yes it seems as though it is found...
>
> 567 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4
> java.sql.Timestamp handling
> 626 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
> classes for package srd
> 742 [main] DEBUG org.eclipse.emf.teneo.hibernate.HbSessionDataStore -
> Searching hbm files in class paths of epackages
> 745 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - >>>> Building
> or descriptor file List
> 747 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> :hibernate.hbm.xml
> 751 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /srd/hibernate.hbm.xml
> 773 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /hibernate.hbm.xml
> 780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /srd/impl/hibernate.hbm.xml
> 780 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - !!Found!!
> 781 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /org/eclipse/emf/ecore/impl/hibernate.hbm.xml
> 784 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /org/eclipse/emf/ecore/hibernate.hbm.xml
> 789 [main] DEBUG org.eclipse.emf.teneo.util.StoreUtil - Try path:
> /org/eclipse/emf/hibernate.hbm.xml
> 7
>


--

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] HibernateResource with mapping file [message #603916 is a reply to message #76917] Tue, 27 March 2007 21:55 Go to previous message
Mark Geib is currently offline Mark GeibFriend
Messages: 432
Registered: July 2009
Senior Member
Martin,

Solved. The mapping file being used was empty, from my attempt at manual
creation.

Mark.
Previous Topic:[Teneo] Problem using JOINED value for PersistenceOptions.INHERITANCE_MAPPING
Next Topic:Remove whitespaces from generation
Goto Forum:
  


Current Time: Fri Mar 29 00:18:02 GMT 2024

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

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

Back to the top