need help about ODMG, urgent
budi hartono <[email protected]> Thu, 30 Jun 2005 17:52:04 -0700 (PDT)
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
i want ask some question about ODMG sample.
1. i have an ODMG samples from package 1.2 bin and src (might be the same)
i have compiled it and the error like below. would you like to help me.
in my opinion the opp generate wrong code that write double catch in _proxy
it caused by overloading constractor, that in the ODMG sample can accept string parameter
what can i do to solve this problem
2. in ODMG sample i read about remark statement
i don't understand where Ozone doesn't fully support the ODMG compliant?
would you like to show me?
i must get this information to complete my final test in my university.
please help me.
3. i have to implement a simple sample about the ODMG to explain the ozone fiture
i confused with some method and properties in your odmg samples that never been called
like link(), setLink(Auto auto), toString() method; and link properties.
what method and properties used for???
why in toString() method there must be use link to get remoteID?
4. if i just open with odmg enhancedatabase,
create transaction with odmg transaction,
create object with db.createPersistent,
locate object with db.lookup,
use db.bind to associate the object,
and delete the object with delete persistent
but i create a class like usual class (i mean class like handle sample class)
what problem that might be i get in the future?
would ypu like to explain to me, all my question
cause it's very important to me. please..
i'm sure you will help me. thanks a lot
//**************************
[java] Error running compiler: null build\src\odmg\AutoImpl_Proxy.java:42:
exception java.lang.Exception has already been caught catch (Exception e)
{ ^ 1 error
[java] compiling source build\src to build\src
[java] output: null
[java] args: [javac, -classpath, C:\ozone\lib\ant-optional.jar;C:\ozone\lib
\ant.jar;C:\ozone\lib\castor.jar;C:\ozone\lib\cos.jar;C:\ozone\lib\infozone-lexu
s.jar;C:\ozone\lib\infozone-tools.jar;C:\ozone\lib\javaclass.jar;C:\ozone\lib\ja
xen-core.jar;C:\ozone\lib\jndi.jar;C:\ozone\lib\jta-spec1_0_1.jar;C:\ozone\lib\j
unit.jar;C:\ozone\lib\log4j-1.2.jar;C:\ozone\lib\mockobjects-alt-jdk1.4-0.09.jar
;C:\ozone\lib\mockobjects-core-0.09.jar;C:\ozone\lib\mockobjects-jdk1.4-0.09.jar
;C:\ozone\lib\msv.jar;C:\ozone\lib\omquery.jar;C:\ozone\lib\ozoneAdminGui-0.1.ja
r;C:\ozone\lib\ozoneBLOB-0.1.jar;C:\ozone\lib\ozoneCollections-0.2.jar;C:\ozone\
lib\ozoneODMG-0.1.jar;C:\ozone\lib\ozoneServer-1.2.jar;C:\ozone\lib\ozoneServerT
ests-1.2.jar;C:\ozone\lib\ozoneXML-dom-0.2.jar;C:\ozone\lib\ozoneXML-dom4j-0.1.j
ar;C:\ozone\lib\ozoneXML-dom4jTest-0.1.jar;C:\ozone\lib\ozoneXML-domTest-0.2.jar
;C:\ozone\lib\PostgreSql.jar;C:\ozone\lib\PullParser2.jar;C:\ozone\lib\saxpath.j
ar;C:\ozone\lib\tyrex-1.0.1.jar;C:\ozone\lib\xercesImpl.jar;C:\ozone\lib\xmlPars
erAPIs.jar;C:\ozone\lib\xtdash.jar;C:\ozone\samples\odmg\build\classes;C:\ozone\
build\classes;F:\jdk\lib\tools.jar, -g, -deprecation, -sourcepath, build\src, -d
, build\src, build\src\odmg\AutoImpl_Proxy.java]
[java] End Compile proxies
[java] org.ozoneDB.tools.OPP.compiler.CompilerException: Failed to compile
generated resolver
[java] at org.ozoneDB.tools.OPP.compiler.ExternalJavaCompiler.compile(U
nknown Source)
[java] at org.ozoneDB.tools.OPP.OPP.compileSource(Unknown Source)
[java] at org.ozoneDB.tools.OPP.OPP.generate(Unknown Source)
[java] at org.ozoneDB.tools.OPP.OPP.main(Unknown Source)
BUILD FAILED
file:C:/ozone/samples/odmg/build.xml:83: Java returned: 1
Total time: 10 seconds
//*****************************
---------------------------------
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football