|Re: EclipseLink JPA2.0 orm table name prefix help [message #630308 is a reply to message #630158]
||Fri, 01 October 2010 14:19
| Chris Delahunt
Registered: July 2009
Looks like SQL_TABLE_NAME_PREFIX is a teneo property, or atleast a static string in the org.eclipse.emf.teneo.PersistenceOptions class, not a JPA/Eclipselink property. The Teneo property it refers to is "teneo.mapping.sql_table_name_prefix", and there is no JPA or EclipseLink equivalent. The only way to add a prefix to tables in JPA is to define each table with the prefix. In EclipseLink, you can use a customizer to accesses and modify the tables, but requires advanced native api and internal digging to get at each individual table.
Please file an enhancement to have such a feature implemented in EclipseLink.
[Updated on: Fri, 01 October 2010 14:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02517 seconds