Broker = Connection ?

2003-07-25 Thread Lopez Vellon, Ignacio

I believed thar a Broker class contains one connection to the DataBase, but yesterday
i read a e-mail that explain the diference , I am not be able to find this email again
so , Could anyone tell me the difference between  this two classes ?
is the broker number equals to connection number ?


thank you ?
---
Este mensaje puede contener información confidencial y/o privilegiada. Si Vd. no es el 
destinatario/receptor indicado en este mensaje (o el responsable de entregar el 
mensaje al destinatario/receptor), no debe copiar o entregar este mensaje a nadie.

En ese caso, Vd. debe destruir este mensaje y rápidamente notificárselo al emisor 
mediante de un correo electrónico. Por favor, avise inmediatamente si Vd. o su empresa 
no consienten correo electrónico con mensajes de este tipo.

Las opiniones, conclusiones o cualquier otra información incluidas en este mensaje y 
que no haga referencia al negocio y la actividad de Indra Sistemas, S.A.. se entenderá 
que ni han sido dados, ni aprobados o respaldados por la misma.

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



RE: Database views

2003-07-23 Thread Lopez Vellon, Ignacio
Hello Peter

I am using database views in my project without any problem.
you have to map your object to your databaseview like you do it with any table

-Mensaje original-
De: Peter Costa [mailto:[EMAIL PROTECTED]
Enviado el: Wednesday, July 23, 2003 7:16 PM
Para: [EMAIL PROTECTED]
Asunto: Database views


I was wondering if it is possible to map a class in the
repository_user.xml to a database view. If it is possible do I just put
the view name in the table column on the class descriptor? If you have
any other thoughts on how to implement database views, that would be
appreciated also. Thank you.
 
Peter
Este mensaje puede contener información confidencial y/o privilegiada. Si Vd. no es el 
destinatario/receptor indicado en este mensaje (o el responsable de entregar el 
mensaje al destinatario/receptor), no debe copiar o entregar este mensaje a nadie.

En ese caso, Vd. debe destruir este mensaje y rápidamente notificárselo al emisor 
mediante de un correo electrónico. Por favor, avise inmediatamente si Vd. o su empresa 
no consienten correo electrónico con mensajes de este tipo.

Las opiniones, conclusiones o cualquier otra información incluidas en este mensaje y 
que no haga referencia al negocio y la actividad de Indra Sistemas, S.A.. se entenderá 
que ni han sido dados, ni aprobados o respaldados por la misma.


complex SQL

2003-07-16 Thread Lopez Vellon, Ignacio
I am using OJB for a month without any problem , but today i wanted execute something 
like
this :

select * FROM 

(SELECT rownum numFile, A0.MS_NB_USUARIO_ALTA
   FROM OPENCOWNER.CRM_V_EXPEDIENTE A0 
 WHERE A0.MS_NB_USUARIO_ALTA = '1') 

WHERE numFile = '5' AND numFile = '15'

and i do not know how do it, i read the documentation and I did not find a solution

I am using Oracle 9i database .

does anyone know how to do it ?

thank you.

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



how select count(*)

2003-07-10 Thread Lopez Vellon, Ignacio
Does anyone know how to perform select count(*) against a table in my database using 
OJB?

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



find my SQL

2003-07-02 Thread Lopez Vellon, Ignacio

I am starting to use OJB and until now everything is fine , but there is a little 
problen,
i can not see the SQL code generated by OJB.

I  changed the OJB.properties , and every logger  is in debug state now.
but when i run the program i receive a huge information  on the screen
but no sq at all.

In my OJB.properties the sql logger is in debug state:

org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.LogLevel=DEBUG

does anyone  know how my problem can be solve?

I am usin OJB 1.0 RC 3 

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