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 09:31 Go to next message
Ga'bor Pe'ntek is currently offline Ga'bor Pe'ntek
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 14:45 Go to previous messageGo to next message
Chris Delahunt is currently offline Chris Delahunt
Messages: 1016
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 10:04 Go to previous messageGo to next message
Ga'bor Pe'ntek is currently offline Ga'bor Pe'ntek
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 12:26 Go to previous message
Chris Delahunt is currently offline Chris Delahunt
Messages: 1016
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: Thu Jul 24 23:56:33 EDT 2014

Powered by FUDForum. Page generated in 0.02009 seconds