Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » How can you enable delimited-identifiers programatically?
How can you enable delimited-identifiers programatically? [message #557550] Wed, 08 September 2010 00:52
Rich Mayfield is currently offline Rich Mayfield
Messages: 44
Registered: August 2010
Member
In some circumstances I need to enable delimited-identifiers and others I need this disabled. I know in orm.xml you enable this by including:

<persistence-unit-metadata>
<persistence-unit-defaults>
<delimited-identifiers/>
</persistence-unit-defaults>
</persistence-unit-metadata>

What I would like to do is remove this from orm.xml and then programatically enable the functionality when I detect that it is necessary.

We do use Spring ORM 3.0.3 (with org.springframework.orm.jpa.LocalContainerEntityManagerFacto ryBean to make entity manager factory available). It is not clear to me if the solution is in EclipseLink or Spring to be honest, but after a fair amount of poking around the source nothing leaps out.

Any pointers are greatly appreciated. Thanks much.
Previous Topic:eclispselink doesn't generate primary key constraint [@ElementCollection]
Next Topic:[Teneo/Eclipselink] Incorrect Id mappings for subclasses
Goto Forum:
  


Current Time: Fri Aug 22 06:05:03 EDT 2014

Powered by FUDForum. Page generated in 0.02657 seconds