RE: [JBoss-user] Primary Key warnings

2001-05-18 Thread Rafael Alves Chaves
Norton, Your PK equals method: public boolean equals(Object obj) { GUID compareTo = (GUID)obj; if (_guid.toString().equals(compareTo.toString())) { return(true); } return(false); } The correct would be: ... if

RE: [JBoss-user] Primary Key warnings

2001-05-18 Thread Rafael Alves Chaves
No... The _guid property is private. I've overridden the toString() method to return a _guid.toString(). Ok, but an instance of a class have full access to private fields of another instances of the same class. Norton, could you show us the complete code for GUID class? Bye,

Re: [JBoss-user] Transaction Exceptions with OPTA2000

2001-05-17 Thread Rafael Alves Chaves
Hi, all... On Thu, 17 May 2001, Leonard Kierstead wrote: |The workaround I found was to ignore i-net data sources and use |OPTA 2000 as a JDBC 2.0 Optional Package non-compliant driver: I'm not exactly sure what you mean by this. I'm guessing that by changing : attribute

[JBoss-user] Primary keys

2001-05-16 Thread Rafael Alves Chaves
Hi, In EJB 1.1 specs I found that with CMP beans, primary key classes must have a no-args constructor. But what about using Strings and Integers as primary keys? They are allowed? Where, in the specs, I find this? Thanks in advance, Rafael

Re: [JBoss-user] Transaction Exceptions with OPTA2000

2001-05-14 Thread Rafael Alves Chaves
The workaround I found was to ignore i-net data sources and use OPTA 2000 as a JDBC 2.0 Optional Package non-compliant driver: mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=myDS attribute name=myDSoto25/attribute attribute

[JBoss-user] entity bean properties set to null values

2001-05-09 Thread Rafael Alves Chaves
Hi, I'm having a strange problem with entity beans in JBoss. For debugging purposes, I have instrumented ALL callback and business methods to generate an output identifying the called method and, when useful, its arguments. Below is the trace generated after two different clients are

Re: [JBoss-user] entity bean properties set to null values

2001-05-09 Thread Rafael Alves Chaves
the database concurrently with BMP beans, I will need to turn off the cache? How? Thank you all. Rafael --Victor Rafael Alves Chaves wrote: Hi, I'm having a strange problem with entity beans in JBoss. For debugging purposes, I have instrumented ALL callback and business

[JBoss-user] Transaction Exceptions with OPTA2000

2001-05-08 Thread Rafael Alves Chaves
Hi, I'm trying to use the i-net OPTA 2000 4.0 for MS-SQL Server 2000 evaluation version (limited on two concurrent connections) with JBoss, without success. Every time my BMP beans try to close the database connection, the following exception occurs: javax.transaction.xa.XAException: