Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356858 - [EclipseLink] allow-native-sql-queries persistence unit property added in 2.4
Summary: [EclipseLink] allow-native-sql-queries persistence unit property added in 2.4
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard: EclipseLink
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 16:23 EDT by Karen Butzke CLA
Modified: 2013-08-22 11:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2011-09-06 16:23:57 EDT
/**
 * The <code>"eclipselink.jdbc.allow-native-sql-queries"</code> property 
 * specifies whether any user defined SQL is allowed within a persistence 
 * unit. This is of particular importance within a multitenant to minimize 
 * the potential impact of revealing multi tenant information. By default
 * any persistence unit containing at least one multitenant entity will
 * cause this flag to be set to 'false'. 
 * <p>
 * Allowed Values (String):
 * <ul>
 * <li>"true" - (DEFAULT) allow native SQL
 * <li>"false" - do not allow native SQL.
 * </ul>
 *
 * @see Project#setAllowNativeSQLQueries(boolean)
 */
Comment 1 Neil Hauge CLA 2013-04-30 12:36:12 EDT
Deferred to 3.4.