Hi Patrick,
Thanks for the pointer, I think something might be better than nothing -
I will use this approach to test the Enhancer!
When you say 'majority Kodo test suite has not yet made it into OpenJPA'
- do you mean that this is scheduled to happen sometime?
If not, are there plans to put together such tests into OpenJPA itself?
Thanks,
Rahul
Patrick Linskey wrote:
You could also just test that the class implements
org.apache.openjpa.enhance.PersistenceCapable. Such a check assumes that
the OpenJPA enhancement is happening correctly under the covers, but
should be a good first approximation at least.
FTR, yes, there are tests for this stuff. Sadly, the majority of the
Kodo test suite has not yet made it into OpenJPA.
-Patrick