Re: strange OJB behaviour

2004-12-28 Thread Tino Schöllhorn
Hi,
would you post your loop-code, so it is possible to see what changes you 
are doing?

Tino
T. K. Chris wrote:
HI,
I have tried to access a database through a loop.
while the loop is running, I manually modify (in live)
and commit a record in the data base. The modification
is not detected, at the next incrementation within the
running loop.
What could be the problem. It sounds as I am missing
something...
Your help is precious;
Thanks.
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Installation trouble

2004-12-28 Thread Nils Liebelt
Hi everybody,

First of all: I am new to OJB! Got the ojb-blank.jar and made a project out
of it. 
After changing the build.properties and .classpath I can execute the build
target and
Xdoclet target. But I get trouble when I try to use the setup-db. It seems
there are libraries missing!
The build fails with following:

BUILD FAILED: C:\Documents and
Settings\nils\Desktop\ojb-blank\src\schema\build-torque.xml:107: taskdef A
class needed by class org.apache.torque.task.TorqueJDBCTransformTask cannot
be found: org/apache/xerces/dom/CoreDocumentImpl
BUILD FAILED: C:\Documents and
Settings\nils\Desktop\ojb-blank\build.xml:137: Following error occured while
executing this line
C:\Documents and
Settings\nils\Desktop\ojb-blank\src\schema\build-torque.xml:107: taskdef A
class needed by class org.apache.torque.task.TorqueJDBCTransformTask cannot
be found: org/apache/xerces/dom/CoreDocumentImpl
Total time: 3 seconds

I thought ojb-blank is ready to use!? What libraries do I have to install in
order to run the torque task?


Regards,

Nils


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Installation trouble

2004-12-28 Thread Thomas Dudziak
Nils Liebelt wrote:
Hi everybody,
First of all: I am new to OJB! Got the ojb-blank.jar and made a project out
of it. 
After changing the build.properties and .classpath I can execute the build
target and
Xdoclet target. But I get trouble when I try to use the setup-db. It seems
there are libraries missing!
The build fails with following:

BUILD FAILED: C:\Documents and
Settings\nils\Desktop\ojb-blank\src\schema\build-torque.xml:107: taskdef A
class needed by class org.apache.torque.task.TorqueJDBCTransformTask cannot
be found: org/apache/xerces/dom/CoreDocumentImpl
BUILD FAILED: C:\Documents and
Settings\nils\Desktop\ojb-blank\build.xml:137: Following error occured while
executing this line
C:\Documents and
Settings\nils\Desktop\ojb-blank\src\schema\build-torque.xml:107: taskdef A
class needed by class org.apache.torque.task.TorqueJDBCTransformTask cannot
be found: org/apache/xerces/dom/CoreDocumentImpl
Total time: 3 seconds
I thought ojb-blank is ready to use!? What libraries do I have to install in
order to run the torque task?
 

Mmhh, this is an error from Torque about a missing Xerces. What JDK do 
you use ? Seems like it is an older one because 1.4 and newer comes with 
Xerces.

Tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


OJB client-server app

2004-12-28 Thread Sebastian
I read that OJB used to have a client/server mode which has been removed 
from the code base for some reasons.

What is the suggested way to use OJB in a client server environment. I'm 
 thinking about a Swing or SWT based Java client that somehow connects 
to an appserver which utlilizes the OJB PB API or the OTM.

Thanks for any responses.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]