openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Query test no longer working?
Date Wed, 08 Nov 2006 00:28:55 GMT

IIUC, JPA does not disallow dynamic persistent class registration.  
But if you want the tests to be portable (why?) then you have to  
statically register them in persistence.xml.

Or did I misunderstand this issue?



On Nov 7, 2006, at 4:09 PM, Abe White wrote:

>> With today's changes from SVN, I am hitting the following error  
>> when running
>> the test bucket
> Darn static class registration... can you just add that type to the  
> list of types registered in when getting the EMF in setUp() and see  
> if it fixes things?  I probably should have created a new class  
> hierarchy for the new tests.
> ______________________________________________________________________ 
> _
> Notice:  This email message, together with any attachments, may  
> contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and   
> affiliated
> entities,  that may be confidential,  proprietary,  copyrighted   
> and/or
> legally privileged, and is intended solely for the use of the  
> individual
> or entity named in this message. If you are not the intended  
> recipient,
> and have received this message in error, please immediately return  
> this
> by email and then delete it.

Craig Russell

View raw message