RE: in-memory persistence

2004-10-07 Thread Ajitesh Das
Use a open source in-memory DB .. which supports jdbc 1.0 api. -Original Message- From: jys [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 12:49 PM To: OJB Users List Subject: in-memory persistence I would like to know if it's possible using OJB to persists data to memory

Auto-Commit and Rollback does not work as documented in Repository File

2004-10-06 Thread Ajitesh Das
Again is this a bug? Or I am missing something. The followings are snippets of two jdbc descriptors defined in two different respository xmls. jdbc-connection-descriptor platform=MsSQLServer jcd-alias=zdb default-connection=false jdbc-level=2.0

Criteria.addEqualto() API is not working as documented in javadoc

2004-10-05 Thread Ajitesh Das
Is this a bug? Or I am missing something The following tests are failing: Here is my snippet of repository xml: field-descriptor id=3 name=user column=USR jdbc-type=VARCHAR primarykey=false nullable=true

RE: REPOST: OJB's support for object migration: [e.g torque table schema- how to alter existing table ]

2004-09-21 Thread Ajitesh Das
of something it needs, I'll prolly be happy to put it in. I use this thing pretty much every day. -Brian On Sep 21, 2004, at 7:13 PM, Ajitesh Das wrote: Brian: I am not able to d'load the project or able to find any docs. Can u send me the pointer? ~ajitesh -Original Message- From

OJB's support for object migration: [e.g torque table schema- how to alter existing table ]

2004-09-20 Thread Ajitesh Das
Hi List: I like to know if anybody who uses OJB platform in his product has done anything on object model migration. This seems to be a missing piece in OJB project. Am I missing something? Example Scenario: I have an existing application that uses OJB as OR platform contains a set of business

RE: Configure generated SQL in OJB: HOWTO do that? Will Velocity solve my problem?

2004-09-16 Thread Ajitesh Das
there's no need for a velocity template. if you want to change from equal to like you can use Criteria#addLike. hth jakob Ajitesh Das schrieb: Hi List: I want to store an *supersize* byte array into a db table. How do I control the SQL generated by ojb during queries? Do I have to write my

OJB and debug options

2004-09-15 Thread Ajitesh Das
Hi list: How and what to turn on for ojb debug options, so that I can debug the SQLs, generated from the OJB queries. I am using : MSSQL and jtds driver. Thanks -- A good friend will come bail you out of jail...but, a true friend will be sitting next to you saying, Damn...that was fun.

RE: MSSQL And OJB/Torque issue with image datatype..Will Velocity solve my problem?

2004-09-15 Thread Ajitesh Das
(for a com.xxx.Property): The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. What does the actual SQL look like, and what does the query you are running look like? -Brian On Sep 8, 2004, at 10:07 PM, Ajitesh Das wrote: Hi: I want to store

MSSQL And OJB/Torque issue with image datatype..Will Velocity solve my problem?

2004-09-08 Thread Ajitesh Das
Hi: I want to store an *supersize* byte array into a db table. Below I have described the issues that I have. My question: How do I control SQL for Schema? Do I have to write my own Velocity template and add that path to db.profile. I have made the followings changes: DB

3rd REPOST:OJB:Dynamic association and Colored graph

2004-04-13 Thread Ajitesh Das
All: I have a design question. Let me first describe the problem: I like to store, update, delete, and retrieve a graph where the nodes are colored differently - for e.g. red, blue, yellow, green, black, etc. etc. [A new color could be added in future] The graph will be constructed at runtime.

2nd REPOST:OJB:Dynamic association and Colored graph

2004-04-09 Thread Ajitesh Das
All: I have a design question. Let me first describe the problem: I like to store, update, delete, and retrieve a graph where the nodes are colored differently - for e.g. red, blue, yellow, green, black, etc. etc. [A new color could be added in future] The graph will be constructed at

REPOST: OJB:Dynamic association and Colored graph

2004-04-08 Thread Ajitesh Das
All: I have a design question. Let me first describe the problem: I like to store, update, delete, and retrieve a graph where the nodes are colored differently - for e.g. red, blue, yellow, green, black, etc. etc. [A new color could be added in future] The graph will be constructed at runtime.

Howto: design feedback-OJB:Dynamic association and Colored graph

2004-04-07 Thread Ajitesh Das
All: I have a design question. Let me first describe the problem: I like to store, update, delete, and retrieve a graph where the nodes are colored differently - for e.g. red, blue, yellow, green, black, etc. etc. [A new color could be added in future] The graph will be constructed at runtime.

RE: Repository XML limitation and design question.

2004-01-27 Thread Ajitesh Das
yep, that's what I mean. You arouse my curiosity ;-) Can you explain me why you need this? I am trying to build an editor where the editor can capture the objects from multiple databases and vice-versa. Some classes/tables are also shared between multiple applications i.e MMOG games. But

RE: Repository XML limitation and design question.

2004-01-20 Thread Ajitesh Das
. Thank you so much for providing OJB. -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 11:50 AM To: OJB Users List Subject: Re: Repository XML limitation and design question. Hi Ajitesch, Ajitesh Das wrote: Hi Thomas: Thanks for your

RE: Repository XML limitation and design question.

2004-01-19 Thread Ajitesh Das
to have a class mapped to several Connections you can do this only sequentially! So you you have to simply change the assigned ConnectionDescriptor key of the ClassDescriptor at runtime. This is done through the Metadata API. cheers, Thomas Ajitesh Das wrote: To all OJB gurus: First of all

Repository XML limitation and design question.

2004-01-16 Thread Ajitesh Das
To all OJB gurus: First of all this may not be a limitation on OJB what I have wrote as subject but it seems that there is no easy way to handle this. Here is my problem : I like to write a repository XML file [ please note a single repository file for each case] which captures the

RE: [ann] new release 1.0 RC5

2003-12-15 Thread Ajitesh Das
Congrates! Thank you all for providing such a great stuff. We are currently using OJB-rc4 in massive multiplayer online game engine and fully satisfied with the performance. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, December 14, 2003 1:04 PM To:

RE: REQUEST FOR BUSINESS ASSISTANCE

2003-11-04 Thread Ajitesh Das
Somebody needs money from this Zambian Moron? :) Moderator: please kick him out. -Original Message- From: Ologoma Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, October 30, 2003 12:41 PM To: [EMAIL PROTECTED] Subject: REQUEST FOR BUSINESS ASSISTANCE Dear Friend, I am interested in

RE: multiple databases

2003-10-17 Thread Ajitesh Das
Earlier this used to support the tables can be in different different database using repository.xml. Nowadays you can have only PBs accessing different database. They claim that this earlier design makes the impl. complex - for e.g. 2 ph. commit is not needed anymore. But if you use the multiple

Turning off INFO/DEBUG message

2003-10-14 Thread Ajitesh Das
Hi All: I would like to disable this initial message. This comes on the console as soon as I start up the OJB- application. Is there any property in the OJB.properties that can turn off these message? FooServer[org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl] I NFO: Create new

REPOST: OJB/Torque : Migrating OJB application

2003-07-21 Thread Ajitesh Das
All: Wondering if there is any way/ojb support to migrate an existing OJB application with a newer application version. Here are some requirements: * The newer version has some table identical to old version and I do not WANT to delete them. * The newer version has some new tables and I like

OJB/Torque : Migrating OJB application

2003-07-19 Thread Ajitesh Das
All: Wondering if there is any way/ojb support to migrate an existing OJB application with a newer application version. Here are some requirements: * The newer version has some table identical to old version and I do not WANT to delete them. * The newer version has some new tables and I

OJB 1.0 r3:Tutorial 1 : PersistentFieldClass and PersistentFieldDefaultImpl bug/Issue

2003-07-08 Thread Ajitesh Das
If I have understood correctly, this PersistentFieldDefaultImpl uses java bean introspection to determine the accessors and mutators. Here are steps I did: My persistable Test object contains following properties : int id; int age; int height; Here is the snap

RE: inserting reused objects in a loop

2003-07-05 Thread Ajitesh Das
(); Was that a BUG in OJB 0.9.8 ? thanks again for your help. ~ajitesh -Original Message- From: Ajitesh Das [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 7:11 PM To: OJB Users List; Armin Waibel Subject: RE: inserting reused objects in a loop Hi Armin: thanks for your reply. I am using

OJB : broken Cache (Insert-Insert-Query cycle)

2003-07-04 Thread Ajitesh Das
All: while trying with a following test code, I am getting the wried results. (i) The second store() actually doing nothing ...i.e not saving the object in the database [ bold], (ii) The query return only DB Id correctly and rest are all zero. == Test code

inserting reused objects in a loop

2003-07-04 Thread Ajitesh Das
When I am trying to reuse the object to store again, I am getting the silent failure. If I create a new object before the failed store call, the store method passes thro' fine. Does OJB marks the object as already used? The following code reproduces the issue: broker =

inserting reused objects in a loop

2003-07-04 Thread Ajitesh Das
When I am trying to reuse the object to store again, I am getting the silent failure. If I create a new object before the failed store call, the store method passes thro' fine. Does OJB marks the object as already used? The following code reproduces the issue: broker =

RE: inserting reused objects in a loop

2003-07-04 Thread Ajitesh Das
- Original Message - From: Ajitesh Das [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 04, 2003 9:33 PM Subject: inserting reused objects in a loop When I am trying to reuse the object to store again, I am getting the silent failure. If I create a new object before the failed store call