Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Too long identifiers for oracle(Eclipselink sometimes generates too long identifiers)
Too long identifiers for oracle [message #830322] Tue, 27 March 2012 13:31 Go to next message
Ga'bor Pe'ntek is currently offline Ga'bor Pe'ntekFriend
Messages: 16
Registered: July 2009
Junior Member
Hi All,

is there a way to tell eclipselink not to generate longer identifiers than 30 characters on Oracle platform?


Thanks,
Gabor
Re: Too long identifiers for oracle [message #831311 is a reply to message #830322] Wed, 28 March 2012 18:45 Go to previous messageGo to next message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
Can you give an example where you see the identifier being used being too long? JPA requires that the defaults used match that attribute names in a particular way, so in some cases you may need to override the defaults to something more suitable.

Best Regards,
Chris
Re: Too long identifiers for oracle [message #832727 is a reply to message #831311] Fri, 30 March 2012 14:04 Go to previous messageGo to next message
Ga'bor Pe'ntek is currently offline Ga'bor Pe'ntekFriend
Messages: 16
Registered: July 2009
Junior Member
@Entity
@Customizer(CMCHistoryCustomizer.class)
@Table(name = "CreditsCatalogueElement", schema="CMC")
@Inheritance(strategy = InheritanceType.JOINED)
@Index(columnNames = { "dtype" },name="INX_CrdCatalogueElmnt_dtype" )
public abstract class CreditsCatalogueElement extends CMCEntity {


Best Regards,
Gábor
Re: Too long identifiers for oracle [message #832825 is a reply to message #832727] Fri, 30 March 2012 16:26 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
More information is needed to reproduce what you are seeing. Can you show what generated identifier is longer 30 characters?

Regards,
Chris
Previous Topic:Validate against database schema
Next Topic:Problem with LEFT JOIN and long field
Goto Forum:
  


Current Time: Fri Apr 26 05:54:10 GMT 2024

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

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

Back to the top