This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 146893 - Enhancement: persistence using more than one database schema
Summary: Enhancement: persistence using more than one database schema
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dongmei Cao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-11 09:10 UTC by rrohm
Modified: 2016-07-07 08:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rrohm 2008-09-11 09:10:45 UTC
It would be very useful to have the "Create Entity Classes From Database" and "Create Persistence Unit" features work
with a database connection without schema definition, so that you can access tables from different schemata with the
same persistence unit. 

Rationale: 
In databases that support schemata you can use them to organize tables according to a "separation of concerns"
paradigma, e.g. if you need to separate or modularize the database. In such cases you often have one schema providing
containing basic information (e.g., application user data) that is relevant all over the application. Beside this, there
are other schemata concerned with narrow, isolated aspects of the app. The data they contain is also mostly isolated,
but needs to reference the user data in the first schema. If you want to persist entities of the second schema, the
persistence manager also needs to know the first schema. 
Or is there some other solution to this problem?
I would be very grateful for any tips and a short note to info@aeonium-systems.de!
Comment 1 Martin Balin 2016-07-07 08:55:40 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss