Re: Oracle Blob Clob Lob Problem

2007-02-07 Thread Vamsi Atluri
Hi Josef, Did you try inserting this large data outside of OJB using the driver that you are using inside of OJB (Or connection pool). I saw several issues with Oracle's drivers (I forget whether they are thin or OCI drivers). My guess is it's a driver issue than OJB issue. -Vamsi -

Re: Clustering for OJB

2006-05-18 Thread Vamsi Atluri
implementation - but in what OJB version it was implemented, and what JVM it is compatible with, I am not sure. I do not believe it would be difficult create wrapper around any distributed cache for OJB. Cheers, Charles -Original Message- From: Vamsi Atluri [mailto:[EMAIL PROTECTED] Sent: 17 May

Re: Clustering for OJB

2006-05-18 Thread Vamsi Atluri
] 26650656 SystemOut O TRANSACTION ROLLED BACK Does this give any of you any idea what is happening? I am worried about why I am getting this: Unexpected exception when start intern pb-tx. Any help is appreciated. Thanks, -Vamsi - Original Message From: Vamsi Atluri [EMAIL PROTECTED

Clustering for OJB

2006-05-17 Thread Vamsi Atluri
Hi all, I am getting some errors when I move from a non-clustered environment in our testbed to a clustered environment in QA. I have read the document about setting up OJBs in a clustered environment, however, in our cluster, there is no session sharing between various nodes in the cluster.

Strange OJB error

2006-05-16 Thread Vamsi Atluri
Hello all, We have an application that does broker.store() on about 20 tables in one go in a single transaction using a single broker instance. We are using OJB 1.0.1 on WSAD 5.1 using JDK 1.3.1. On and off I see this error happen: org.apache.ojb.broker.core.proxy.ListProxyDefaultImpl not

Intermitter error ...

2006-05-11 Thread Vamsi Atluri
Hello all, I am getting this error when I am doing a broker.getCollectionByQuery() very intermittently. The same piece of code works some times and fails some times with this error: [5/11/06 10:02:15:498 EDT] 24df24df SystemErr R java.lang.NullPointerException [5/11/06 10:02:15:498 EDT]

Re: Intermitter error ...

2006-05-11 Thread Vamsi Atluri
instance? regards, Armin Vamsi Atluri wrote: Hello all, I am getting this error when I am doing a broker.getCollectionByQuery() very intermittently. The same piece of code works some times and fails some times with this error: [5/11/06 10:02:15:498 EDT] 24df24df SystemErr R

Re: Intermitter error ...

2006-05-11 Thread Vamsi Atluri
- Original Message From: Armin Waibel [EMAIL PROTECTED] To: OJB Users List ojb-user@db.apache.org Sent: Thursday, May 11, 2006 1:17:00 PM Subject: Re: Intermitter error ... Vamsi Atluri wrote: Hi Armin, I am using OJB1.0.1 on WSAD 5.1 using JDK1.3.1. I have a simple table

Help needed for OJB transactions

2006-05-04 Thread Vamsi Atluri
Hello all, I am having problems with OJB transactions. I am currently using OJB1.0.1 on WSAD 5.1.2 using JDK 1.3.1. My settings and code are as follows: useAutoCommit=0 ignoreAutoCommitExceptions=false

Re: Help needed for OJB transactions

2006-05-04 Thread Vamsi Atluri
12:45:28 PM Subject: Re: Help needed for OJB transactions Hi Vamsi, Vamsi Atluri wrote: Hello all, I am having problems with OJB transactions. I am currently using OJB1.0.1 on WSAD 5.1.2 using JDK 1.3.1. My settings and code are as follows: useAutoCommit=0

Re: Help needed for OJB transactions

2006-05-04 Thread Vamsi Atluri
needed for OJB transactions Vamsi Atluri wrote: Hi Armin, Thanks a lot for your response. Currently, my code looks like this: javax.transaction.UserTransaction userTx = null; PersistenceBroker broker = null; try { InitialContext initCtx = new InitialContext(); userTx

Help needed for Transaction Rollbacks

2006-02-20 Thread Vamsi Atluri
Hello all, I am having problem with getting my transactions rolled back. I have read the documentation a bit about OTM but I am not clear about what I should do in my situation. I am using OJB1.0.1 for DB2 and running on WAS 5.0 (currently testing on WSAD 5.1.2). My data save code looks

Re: Help needed for Transaction Rollbacks

2006-02-20 Thread Vamsi Atluri
, -Vamsi --- Vamsi Atluri [EMAIL PROTECTED] wrote: Hello all, I am having problem with getting my transactions rolled back. I have read the documentation a bit about OTM but I am not clear about what I should do in my situation. I am using OJB1.0.1 for DB2 and running on WAS 5.0

rrayIndexOutOfBoundsException when updating objects

2005-12-27 Thread Vamsi Atluri
Hello all, I am currently using ojb 1.0.1. I have a table with several references. The first time when I insert to this table everything inserts correctly. The next time, when I need to update this row, I retrieve the reference from DB, update the values and call broker.store() again. That's when

Re: Help needed regarding updating objects.

2005-12-21 Thread Vamsi Atluri
Hi Thomas, When table A is defined, the primary key is not defined with an autogenerated sequence. CREATE TABLE A ( A_ID INTEGER NOT NULL, ... Hence in repository.xml, I declare the PK for A as such: class-descriptor class=A table=A field-descriptor name=aId column=A_ID

Help needed regarding updating objects.

2005-12-19 Thread Vamsi Atluri
Hello all, I am running into a strange update issue using OJBs. I am currently using OJB 1.0.1. My DB setup is as follows: TABLE A: CREATE TABLE A ( A_ID INTEGER NOT NULL, B_ID INTEGER, X_ID INTEGER, Y_ID INTEGER, A_NAME VARCHAR (40),

OJB CLOB Support

2005-12-08 Thread Vamsi Atluri
Hello all, In our application we use OJBs extensively. However, we have a CLOB field that needs to be populated within the application. I was trying to find documentation about OJB's support for *LOB objects at this link: http://db.apache.org/ojb/docu/howtos/howto-use-lobs.html However, all I

Re: optimistic locking problems (P6Spy question)

2005-08-19 Thread Vamsi Atluri
Hello all, Sorry to hijack the thread into a question about P6Spy. The P6Spy document that Armin pointed out here says that we have to modify the driver parameter in the jdbc-connection-descriptor of the repository.xml file. However, I have a managed environment (WSAD/WAS) wherein I do not

Question about OJB_DMAP_ENTRIES

2005-04-12 Thread Vamsi Atluri
Hello, I was looking at the ojb core tables and their structures and came across this XML description of the OJB_DMAP_ENTRIES table: table name=OJB_DMAP_ENTRIES description=DMap entry table column name=ID required=true primaryKey=true type=INTEGER/ column name=DMAP_ID required=true

Re: Question about OJB_DMAP_ENTRIES

2005-04-12 Thread Vamsi Atluri
Tom, Thanks for your response. Where can I look it up to make sure that that value is correct. -Vamsi --- Thomas Dudziak [EMAIL PROTECTED] wrote: I was looking at the ojb core tables and their structures and came across this XML description of the OJB_DMAP_ENTRIES table: table

Problem with WSAD

2005-03-14 Thread Vamsi Atluri
Hello, I am currently using WebSphere Studio Application Developer (WSAD) v5.1.2 as my development environment. I created a WebSphere v5.1 Test Environment server within this and created a Data source with __ Do You Yahoo!? Tired of spam? Yahoo!

Problem with WSAD

2005-03-14 Thread Vamsi Atluri
Hello, I am currently using WebSphere Studio Application Developer (WSAD) v5.1.2 as my development environment. I created a WebSphere v5.1 Test Environment server within this and created a Data source with JNDI name jdbc/OJBTestDataSource using COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource as

Unique DB setup

2005-03-08 Thread Vamsi Atluri
Hello, I am facing a unique (unique for my experience) DB setup that I am at a loss to replicate in OJB. The tables look something like this: 1) Table 'A': A_ID INTEGER NOT NULL , A_NAME CHARACTER (40) NOT NULL , PRIMARY KEY (A_ID) 2) Table 'B': B_ID INTEGER NOT NULL ,

Re: Unique DB setup

2005-03-08 Thread Vamsi Atluri
Hello Tom, I really appreciate your immediate response. I will test this out (I am sure it will work). Did you use any tool to generate all of this? Please let me know. Thank you, -Vamsi --- Thomas Dudziak [EMAIL PROTECTED] wrote: How about this: /** * @ojb.class table=A */ class A