Skip to main content


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 04:52
Rich Mayfield is currently offline Rich MayfieldFriend
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: Thu Sep 26 08:10:57 GMT 2024

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

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

Back to the top