Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » [Teneo] Teneo 1.0.3 generates foreign key index names too long for Oracle(Teneo)
[Teneo] Teneo 1.0.3 generates foreign key index names too long for Oracle [message #661064] Tue, 22 March 2011 23:57
No real name is currently offline No real nameFriend
Messages: 6
Registered: March 2010
Junior Member
Hello Martin,

We are using Teneo 1.0.3 with some minor modifications. We ran into an issue in which there were deadlocks in Oracle because foreign key columns are not indexed by default in Oracle. Then, we set teneo.mapping.add_index_for_fk to true, but indexes were still not created. Apparently, there was some bug in Hibernate 3.2.7 schema export. Fixed that locally, and now indexes are being generated, but not all because the names are too long for Oracle. We already have teneo.naming.max_sql_name_length set to 30, but apparently this does not apply to indexes. So could you please suggest how to get index names that are within this limit (30). Of course, the best way would be a property, but even if there is a file or a method somewhere in the Teneo source that we can modify to suit our purposes - just for foreign key index names - that would be good enough.


Previous Topic:create a independent emf project rather eclipse plugins project
Next Topic:Setting List<String> Attribute for XML-Element
Goto Forum:

Current Time: Thu Feb 25 04:42:16 GMT 2021

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

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

Back to the top