Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » How do you select delimit-identifiers at runtime?
How do you select delimit-identifiers at runtime? [message #557547] Wed, 08 September 2010 00:36 Go to previous message
Rich Mayfield is currently offline Rich Mayfield
Messages: 44
Registered: August 2010
Member
In some circumstances I need to enable delimit-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.
 
Read Message
Read Message
Previous Topic:EclipseLink 2.1 does not work together with obfuscated jar
Next Topic:NoSuchMethodError _persistence_set(Ljava/lang/String;Ljava/lang/Object;)V
Goto Forum:
  


Current Time: Thu May 23 00:48:44 EDT 2013

Powered by FUDForum. Page generated in 0.01830 seconds