Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001680 [Resin] major always 04-10-07 17:06 04-10-07 18:52
Reporter westrupp View Status public  
Assigned To
Priority urgent Resolution fixed  
Status closed   Product Version 3.1.0
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.
Additional Information
Attached Files

- Relationships

- Notes
(0001831)
westrupp
04-10-07 18:52

jpa/1631
 

- Issue History
Date Modified Username Field Change
04-10-07 17:06 westrupp New Issue
04-10-07 18:52 westrupp Status new => closed
04-10-07 18:52 westrupp Note Added: 0001831
04-10-07 18:52 westrupp Resolution open => fixed
04-10-07 18:52 westrupp Fixed in Version  => 3.1.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker