Re: User/Password for JDBC Connection

2003-09-30 Thread Armin Waibel
Hi Charles, - Original Message - From: "Charles Anthony" <[EMAIL PROTECTED]> To: "'OJB Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 8:40 AM Subject: RE: User/Password for JDBC Connection > > 3. Another way - and possibly easier than Armins other suggestions - are to

RE: User/Password for JDBC Connection

2003-09-30 Thread Charles Anthony
HI Jay, Armin And All, > -Original Message- > From: Armin Waibel [mailto:[EMAIL PROTECTED] > Sent: 01 October 2003 01:18 > To: OJB Users List > Subject: Re: User/Password for JDBC Connection > > > Hi Jay, > - Original Message - > From: "Xu Jie" <[EMAIL PROTECTED]> > To: <[EMAIL P

RE : RC4 very slower then RC3 ?

2003-09-30 Thread Emmanuel Dupont
Hi Armin ! We're using ODMG. Difficult to tell you where it is slower than before in RC3. I have to investigate. I wanted to know if it was a "normal" behaviour. Our loading treatment (one big load data from database for all our objects) witch is 100% slower than before. After, individual updates

Re: select all from extent?

2003-09-30 Thread Thomas Mahler
Joe Germuska wrote: This seems like it should be obvious, but I'm just not getting it from the JavaDoc or the other docs (or searching the mailing list archives)... Is there an idiomatic way to construct a query to select all members of an extent from the broker? new QueryByCriteria(MyClass,

Re: User/Password for JDBC Connection

2003-09-30 Thread Armin Waibel
Hi Jay, - Original Message - From: "Xu Jie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 1:04 AM Subject: User/Password for JDBC Connection > > All, > > I have a question about using OJB with specific user and password. The > question is two fold, > 1) Can

Re: Re: SequenceManagerStoredProcedureImpl exception

2003-09-30 Thread Armin Waibel
Hi Ralf, hmm, I think the given FieldDescriptor in method SM#getUniqueValue(FieldDescriptor field) is 'null'. But I don't understand why. Did you checked metadata for DListImpl (internal repository stuff) - attribute 'autoincrement' have to set 'true' for field 'id'. regards, Armin - Origina

Re: Can I use multiple Sequence Managers

2003-09-30 Thread Armin Waibel
Hi, - Original Message - From: "Durham David Contr 805 CSPTS/SCBE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 29, 2003 8:36 PM Subject: Can I use multiple Sequence Managers I would like to specify a sequence-manager in and use that sequence manager for most all o

Re: RC4 very slower then RC3 ?

2003-09-30 Thread Armin Waibel
Hi, can give some more details? Which API do you use? What exactly does perform slower? (On CVS I see a performance impact of the odmg-api compared with earlier versions) regards, Armin - Original Message - From: "Emmanuel Dupont" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTE

Re: Questions: High/Low Sequence Manager

2003-09-30 Thread Armin Waibel
Hi, - Original Message - From: "Farnea Massimiliano" <[EMAIL PROTECTED]> To: "ojb-user" <[EMAIL PROTECTED]> Sent: Monday, September 29, 2003 6:10 PM Subject: Questions: High/Low Sequence Manager > Hi all, > > I'm using in my application two implementation (extension) of the > SequenceManag

User/Password for JDBC Connection

2003-09-30 Thread Xu Jie
All, I have a question about using OJB with specific user and password. The question is two fold, 1) Can we encrypt the user and password in repository.xml file? Exposing user and password certainly has some security concerns. 2) If I create JDBC connections by providing user and password at run

select all from extent?

2003-09-30 Thread Joe Germuska
This seems like it should be obvious, but I'm just not getting it from the JavaDoc or the other docs (or searching the mailing list archives)... Is there an idiomatic way to construct a query to select all members of an extent from the broker? I can kind of see how to do it with OQL, but I'm

RE: ojb and mssql and clob

2003-09-30 Thread frank . renaers
Hi, I wrote a unit test and everything seems to work well. CLOB and mssql : - Java datatype : String - Jdbc datatype : LONGVARCHAR - Column datatype : TEXT When I use the CLOB jdbc datatype, the insert works, but a read causes a SQLException. Greetings, Frank Renaers > -Original Messag

Re: jUnit-Test Proxies

2003-09-30 Thread joss . wright
If you're writing a web application then put them into your classes directory in WEB-INF. Regards, Joss > Hello, > >I am trying to use OJB rc4 with JRun 3.1, but i don´t know where to put xml >files like: repository.xml, repository.dtd, OJB.properties. > >Tks > > >-

Re: jUnit-Test Proxies

2003-09-30 Thread Decio (TSO)
Hello, I am trying to use OJB rc4 with JRun 3.1, but i don´t know where to put xml files like: repository.xml, repository.dtd, OJB.properties. Tks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

V2.0 of generator Axgen released

2003-09-30 Thread Thimo König
Hi, a new release of AXgen is available on http://axgen.sf.net AXgen is a code generator using XMI as input and Velocity templates for transformation. AXgen comes with a bundle of ready to use templates for generating OJB specific stuff like: - Entity Classes - XML Repository - SQL script to bu

Re: jUnit-Test Proxies

2003-09-30 Thread Joerg Lensing
Hi Armin, the problem is solved by updating to rc4 tx joerg Joerg Lensing wrote: Hi Armin, I wrote a testcase for my proxy/interface-problem. Thank you for effort - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Antwort: 1:1-Mapping

2003-09-30 Thread Rémi Bars
ok thanks it s working now remi - Original Message - From: <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 30, 2003 3:47 PM Subject: Antwort: 1:1-Mapping The problem is that your field descriptor and reference descriptor have the same name attribut

Re: 1:1-Mapping

2003-09-30 Thread Rémi Bars
i only use integer in my repository.xml, and i use int in my classes - Original Message - From: <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 30, 2003 3:28 PM Subject: Re: 1:1-Mapping > Have you tried using int, instead of Integer? > > - Origi

Antwort: 1:1-Mapping

2003-09-30 Thread Gerhard . Grosse
The problem is that your field descriptor and reference descriptor have the same name attributes. The name of your field-descriptor must correspond to an Integer property of your class. The name of the reference descriptor must correspond to an Object (ThemeSurveurImpl) property of your class.

Re: 1:1-Mapping

2003-09-30 Thread denis
Have you tried using int, instead of Integer? - Original Message - From: "Rémi Bars" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 30, 2003 9:25 AM Subject: 1:1-Mapping > Hi all > > i m trying to do a 1:1 mapping on rc4 with the xml file at the e

1:1-Mapping

2003-09-30 Thread Rémi Bars
Hi all i m trying to do a 1:1 mapping on rc4 with the xml file at the end when i try to store a Catalogue i get this error : Thanks for ur help org.apache.ojb.broker.PersistenceBrokerException: org.apache.ojb.broker.PersistenceBrokerException: org.apache.ojb.broker.metadata.ClassNotPersistence

RE: ojb and mssql and clob

2003-09-30 Thread Carlos Henrique Leclerc De Oliveira
Title: RE: ojb and mssql and clob Hi Frank, there are many solutions for CLOB and BLOB. I have a expirience with oracle, but see the attached emails. This emails are in list. regards, Carlos  -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: segunda-fe

Re: Proxy / 1:1-Mapping

2003-09-30 Thread Joerg Lensing
Problem solved! problem with classpath for rc4 - still rc3-jars were active - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Criteria.addOrCriteria() not commutative? (inner vs outer join)

2003-09-30 Thread oliver . matz
Hello, I have a siutation where the two folloing snippets lead to non.equivalent queries: crit1.addOrCriteria(crit2); Query qry12 = new QueryByCriteria(BookArticle.class, crit1); vs crit2.addOrCriteria(crit1); Query qry21 = new QueryByCriteria(BookArticle.class, crit2); In our p