Hi,
I am new to Castor and I am using version 0.9.3.21. I am
interested in Castor JDO. I got a few problem for my start.
1. example
$example.sh jdo
I got:
[test] Commit transaction
[test] Castor: Loading myapp.ProductGroup (3)
[test] Castor: Loading myapp.ProductDetail (1)
[test] Castor: Loading myapp.ProductDetail (2)
[test] Castor: Loading myapp.Product (4)
Exception in thread "main" java.lang.StackOverflowError
at org.exolab.castor.xml.Validator.validate(Validator.java:106)
at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:251)
at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptorImpl.java:844)
at org.exolab.castor.xml.Validator.validate(Validator.java:118)
at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:251
[test] Castor: Loading myapp.ProductGroup (3)
[test] Castor: Loading myapp.ProductDetail (1)
[test] Castor: Loading myapp.ProductDetail (2)
[test] Castor: Loading myapp.Product (4)
Exception in thread "main" java.lang.StackOverflowError
at org.exolab.castor.xml.Validator.validate(Validator.java:106)
at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:251)
at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptorImpl.java:844)
at org.exolab.castor.xml.Validator.validate(Validator.java:118)
at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:251
2. Test cases
CTFRun.sh -verbose -text -seed 167
src/tests/tests.xml
Verbose on
Running in text mode
Using '167' as seed for the initialization of the pseudo-random number generator
Verbose on
Running in text mode
Using '167' as seed for the initialization of the pseudo-random number generator
Time: 0.001
OK (0 tests)
(Nothing was running!!!)
How to run a specific test case, for example, the cases for
Oracle? And I found no explanation for parameter "testcases" for
test.sh.
Where can I start then?
Thanks.
Albert
