|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: [Announce] EMFT TENEO 0.8.0 I200708101732 is available [message #93272 is a reply to message #93209] |
Sat, 11 August 2007 10:08 |
Eclipse User |
|
|
|
Originally posted by: Olaf.Groeger.gmx.de
I have problems to unzip the examples zip. After some research it turned out
that it is a matter of file length. Windows has a length restriction of 260
chars. The worst file name length i found in the zip is 225:
eclipse\plugins\org.eclipse.emf.teneo.samples_0.8.0.v2007081 01732\org\eclipse\emf\teneo\samples\emf\detach\detachfeature map\presentation\DetachfeaturemapModelWizard$Detachfeaturema pModelWizardInitialObjectCreationPage$1.class
So, for the basename to which you want to extract, remain 35 chars. As
example, "C\java\eclipse-3.3\extension-teneo_I200708101732\" is to long.
Though i think that this basename is not that unusual.
Olaf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: [Announce] EMFT TENEO 0.8.0 I200803172035 is available [message #115105 is a reply to message #115022] |
Wed, 19 March 2008 13:35 |
Eclipse User |
|
|
|
Originally posted by: frederic.ventura.eurogiciel.fr
Hi martin
I've installed the new update of teneo in my application and now I've got
a problem :
when I launch my application with an empty database, tables were created
with the old teneo version.
now with new version, if database is empty, tables are not created...
code I use to establish connexion and create database is :
Properties props = new Properties();
props.setProperty(Environment.DRIVER, driver);
props.setProperty(Environment.USER, user);
props.setProperty(Environment.PASS, password);
props.setProperty(Environment.URL, url);
props.setProperty(Environment.DIALECT, dialect);
HbDataStore dataStore =
(HbDataStore)HbHelper.INSTANCE.createRegisterDataStore("protoTournoi ");
if (dataStore == null) {
return;
}
dataStore.setEPackages(new EPackage[] { ProtoTournoiPackage.eINSTANCE});
dataStore.setProperties(props);
dataStore.initialize();
is it a bug or my code has to be changed to work properly with new Teneo
version?
|
|
|
Re: [Announce] EMFT TENEO 0.8.0 I200803172035 is available [message #115118 is a reply to message #115105] |
Wed, 19 March 2008 13:50 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Fred,
I removed the PersistenceOptions.UPDATE_SCHEMA option. You should now use the hibernate
hibernate.hbm2ddl_auto option (set it to update). I will change the default behavior back to update
in the next build.
gr. Martin
fred wrote:
> Hi martin
>
> I've installed the new update of teneo in my application and now I've
> got a problem :
>
> when I launch my application with an empty database, tables were created
> with the old teneo version.
> now with new version, if database is empty, tables are not created...
>
> code I use to establish connexion and create database is :
>
> Properties props = new Properties();
> props.setProperty(Environment.DRIVER, driver);
> props.setProperty(Environment.USER, user);
> props.setProperty(Environment.PASS, password);
> props.setProperty(Environment.URL, url);
> props.setProperty(Environment.DIALECT, dialect);
> HbDataStore dataStore =
> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore("protoTournoi ");
> if (dataStore == null) {
> return;
> }
> dataStore.setEPackages(new EPackage[] { ProtoTournoiPackage.eINSTANCE});
> dataStore.setProperties(props);
> dataStore.initialize();
>
>
> is it a bug or my code has to be changed to work properly with new Teneo
> version?
>
--
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: [Announce] EMFT TENEO 0.8.0 I200803172035 is available [message #615932 is a reply to message #115105] |
Wed, 19 March 2008 13:50 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Fred,
I removed the PersistenceOptions.UPDATE_SCHEMA option. You should now use the hibernate
hibernate.hbm2ddl_auto option (set it to update). I will change the default behavior back to update
in the next build.
gr. Martin
fred wrote:
> Hi martin
>
> I've installed the new update of teneo in my application and now I've
> got a problem :
>
> when I launch my application with an empty database, tables were created
> with the old teneo version.
> now with new version, if database is empty, tables are not created...
>
> code I use to establish connexion and create database is :
>
> Properties props = new Properties();
> props.setProperty(Environment.DRIVER, driver);
> props.setProperty(Environment.USER, user);
> props.setProperty(Environment.PASS, password);
> props.setProperty(Environment.URL, url);
> props.setProperty(Environment.DIALECT, dialect);
> HbDataStore dataStore =
> (HbDataStore)HbHelper.INSTANCE.createRegisterDataStore("protoTournoi ");
> if (dataStore == null) {
> return;
> }
> dataStore.setEPackages(new EPackage[] { ProtoTournoiPackage.eINSTANCE});
> dataStore.setProperties(props);
> dataStore.initialize();
>
>
> is it a bug or my code has to be changed to work properly with new Teneo
> version?
>
--
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|