Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1680 | major | always | 04-10-07 17:06 | 04-10-07 18:52 | |
|
|||||
Reporter: | westrupp | Platform: | |||
Assigned To: | OS: | ||||
Priority: | urgent | OS Version: | |||
Status: | closed | Product Version: | 3.1.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.1 | ||
|
|||||
Summary: | 0001680: Amber/EJB3 and multiple data sources | ||||
Description: |
At least there is a missing functionality for the <exclude-unlisted-classes/> which will cause Amber to validate the bean fields against the wrong database. <persistence xmlns="http://java.sun.com/xml/ns/persistence" [^] version="1.0"> <persistence-unit name="hello"> <jta-data-source>jdbc/db1</jta-data-source> <class>hello.HelloBean</class> <exclude-unlisted-classes/> </persistence-unit> <persistence-unit name="test"> <jta-data-source>jdbc/db2</jta-data-source> <class>hello.TestBean</class> <exclude-unlisted-classes/> </persistence-unit> </persistence> com.caucho.config.ConfigException: 'TESTBEAN' is not a valid database table. Either the table needs to be created or the create-database-tables attribute must be set. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|