Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] not finding hibernate.properties
[Teneo] not finding hibernate.properties [message #619209] Fri, 06 June 2008 22:40
Eclipse UserFriend
Originally posted by: tskaufma.gmail.com

Hello,

I am using EMF (all in one SDK) 2.4RC3, Teneo SDK 1.0.0RC3 and RCP SDK
3.4RC3 plus a couple other Eclipse 3.4 RC3 plugins in my target platform.

I have a hibernate.properties in the root of a plugin:

net.sf.depcon.core
src/
...
hibernate.properties

and in the MANIFEST.MF for the plugin I have:
Eclipse-RegisterBuddy: net.sf.depcon.hibernate
Bundle-ClassPath: .

so the hibernate.properties should be in the root of the classpath, right?

I also have the Hibernate jar and required jars packaged as plugin. In it's
MANIFEST.MF I have:
Eclipse-BuddyPolicy: registered, global

So Hibernate should be able to find the hibernate.properties, but it
doesn't work.


The Teneo docs (which maybe out of date?) say:
Teneo allows you to configure Hibernate in two ways:

Automatically: by placing the properties in the file
"hibernate.properties" in a root directory of the classpath. We use this
method in this tutorial.
Programmatically: by creating a Properties instance and using
HbDataStore.setProperties().

So this should work.. it does with Teneo 0.8.0.v200802122150 and EMF
2.4.0.v200801292000

Thanks,
Trevor Kaufman
Previous Topic:[Teneo] Can't persist reference when EOpposite is set.
Next Topic:[Teneo] not finding hibernate.properties
Goto Forum:
  


Current Time: Fri Apr 26 23:24:41 GMT 2024

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

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

Back to the top