Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Create table fails in Integration Build I200704230019
[Teneo] Create table fails in Integration Build I200704230019 [message #607010] Mon, 18 June 2007 14:24
Eclipse UserFriend
Originally posted by: bsu.bergauer.ch

Hello Martin,

Maybe this could be of any help to you...?

I upgraded my development enviroment from Eclipse 3.3M5 to Eclipse 3.3RC3
today. As I anyway was retrieving newer builds I thought I might as well
update Teneo. Until now I have successfully been using Integration Build
I200702130950. Now I downloaded and installed Integration Build
I200704230019.

As I started up a new project (where a new Derby database gets created) I
encountered the following problem while creating the tables:

[start extract console log]
....
10594 [ModalContext] DEBUG org.hibernate.tool.hbm2ddl.SchemaUpdate - create
table "connectable" ("id" integer not null unique, "dtype" varchar(255) not
null, "version" integer not null, "name" varchar(255),
"environment_connectables_id" integer, "environment_connectables_idx"
integer, econtainer_class varchar(255), e_container varchar(255),
e_container_featureid integer, primary key ("id")) (SchemaUpdate.java:149)
10625 [ModalContext] ERROR org.hibernate.tool.hbm2ddl.SchemaUpdate -
Unsuccessful: create table "connectable" ("id" integer not null unique,
"dtype" varchar(255) not null, "version" integer not null, "name"
varchar(255), "environment_connectables_id" integer,
"environment_connectables_idx" integer, econtainer_class varchar(255),
e_container varchar(255), e_container_featureid integer, primary key ("id"))
(SchemaUpdate.java:155)
10625 [ModalContext] ERROR org.hibernate.tool.hbm2ddl.SchemaUpdate -
Constraints 'SQL070618024717651' and 'SQL070618024717650' have the same set
of columns, which is not allowed. (SchemaUpdate.java:156)
10625 [ModalContext] DEBUG org.hibernate.tool.hbm2ddl.SchemaUpdate - create
table "connection" ("id" integer not null unique, "dtype" varchar(255) not
null, "version" integer not null, "connectable_source_id" integer,
"connectable_target_id" integer, "description" varchar(255), "port" integer,
"connectable_connections_id" integer, "connectable_connections_idx" integer,
econtainer_class varchar(255), e_container varchar(255), e_container_feature
id integer, primary key ("id")) (SchemaUpdate.java:149)
10625 [ModalContext] ERROR org.hibernate.tool.hbm2ddl.SchemaUpdate -
Unsuccessful: create table "connection" ("id" integer not null unique,
"dtype" varchar(255) not null, "version" integer not null,
"connectable_source_id" integer, "connectable_target_id" integer,
"description" varchar(255), "port" integer, "connectable_connections_id"
integer, "connectable_connections_idx" integer, econtainer_class
varchar(255), e_container varchar(255), e_container_featureid integer,
primary key ("id")) (SchemaUpdate.java:155)
10625 [ModalContext] ERROR org.hibernate.tool.hbm2ddl.SchemaUpdate -
Constraints 'SQL070618024717671' and 'SQL070618024717670' have the same set
of columns, which is not allowed. (SchemaUpdate.java:156)
....
[end extract console log]

Needless to say, the application failed to start, so I used Integration
Build I200702130950 again, and the application started as expected.

Attached you will find both console logs. I used the same model and
generated code and tested this both with code that was generated before and
after upgrading EMF and Teneo.

It is basically no problem for me, as I can continue to use Integration
Build I200702130950, but it might indicate that something has got broken?

Kind regards
Bjoern


Previous Topic:EMF Compare - Diffing EMF UML2 XMI
Next Topic:EMF Compare - Diffing EMF UML2 XMI
Goto Forum:
  


Current Time: Mon Jan 25 15:03:03 GMT 2021

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

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

Back to the top