RE: JDO Enhancing error

2004-09-09 Thread GuptaTTG
I got it worked, the issue was that I was ignoring the fact that the
attribute names are case sensitive 
 
Could anybody tell if OJB supports the functionality of specifying "Fetch
groups" in the queries like in case of Kodo (Which I know that its not a JDO
standard)
If not then How can I achieve the same thing in OJB
 
Thanks and Regards
Tarun Gupta

-Original Message-
From: Gupta, Tarun TG (GXS) 
Sent: Thursday, September 09, 2004 4:41 PM
To: OJB Users List
Subject: JDO Enhancing error


Hi
 
I am getting following error while running the Enhancer 
 
com.sun.jdori.enhancer.util.InternalError: assertion failed: JDO metadata:
managed fields exceed annotated fields.
at com.sun.jdori.enhancer.util.Assertion.affirm(Unknown Source)
at com.sun.jdori.enhancer.core.Analyzer.scanFields(Unknown Source)
at com.sun.jdori.enhancer.core.Analyzer.scan(Unknown Source)
at com.sun.jdori.enhancer.core.Controller.scan(Unknown Source)
at com.sun.jdori.enhancer.core.Controller.enhanceClass(Unknown Source)
at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile1(Unknown
Source)
at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unknown
Source)
at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source)
at com.sun.jdori.enhancer.Main.process(Unknown Source)
at com.sun.jdori.enhancer.Main.main(Unknown Source)
Fatal error while enhancing: JDO ENHANCER: An internal error occurred while
enhancing input class; detailed message: assertion failed: JDO metadata:
managed fields exceed annotated fields.
com.sun.jdori.enhancer.EnhancerFatalError: JDO ENHANCER: An internal error
occurred while enhancing input class; detailed message: assertion failed:
JDO metadata: managed fields exceed annotated fields.
at com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unknown
Source)
at com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown Source)
at com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown Source)
at com.sun.jdori.enhancer.Main.process(Unknown Source)
at com.sun.jdori.enhancer.Main.main(Unknown Source)
aborted with errors.
 
The java file is attached and the corresponding entry in the package.jdo is
:

   

   
   

   

 
Could somebody give me a clue on what's wrong in my code.
 
Thanks and Regards
Tarun Gupta



JDO Enhancing error

2004-09-09 Thread GuptaTTG



Hi
 
I am getting following error while running the 
Enhancer 
 
com.sun.jdori.enhancer.util.InternalError: 
assertion failed: JDO metadata: managed fields exceed annotated 
fields.    at 
com.sun.jdori.enhancer.util.Assertion.affirm(Unknown 
Source)    at 
com.sun.jdori.enhancer.core.Analyzer.scanFields(Unknown 
Source)    at 
com.sun.jdori.enhancer.core.Analyzer.scan(Unknown Source)    
at com.sun.jdori.enhancer.core.Controller.scan(Unknown 
Source)    at 
com.sun.jdori.enhancer.core.Controller.enhanceClass(Unknown 
Source)    at 
com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile1(Unknown 
Source)    at 
com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unknown 
Source)    at 
com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown 
Source)    at 
com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown 
Source)    at com.sun.jdori.enhancer.Main.process(Unknown 
Source)    at com.sun.jdori.enhancer.Main.main(Unknown 
Source)Fatal error while enhancing: JDO ENHANCER: An internal error occurred 
while enhancing input class; detailed message: assertion failed: JDO metadata: 
managed fields exceed annotated 
fields.com.sun.jdori.enhancer.EnhancerFatalError: JDO ENHANCER: An internal 
error occurred while enhancing input class; detailed message: assertion failed: 
JDO metadata: managed fields exceed annotated fields.    at 
com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unknown 
Source)    at 
com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown 
Source)    at 
com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown 
Source)    at com.sun.jdori.enhancer.Main.process(Unknown 
Source)    at com.sun.jdori.enhancer.Main.main(Unknown 
Source)aborted with errors.
 
The java file is attached and the corresponding 
entry in the package.jdo is :          
          

 
Could somebody give 
me a clue on what's wrong in my code.
 
Thanks and 
Regards
Tarun 
Gupta
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]