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.
-Original Message-
From: Thomas Mahler [mailto:[EMAIL PROTECTED]
Sent: 12 April 2004 07:06
To: OJB Users List
Subject: Re: HSQLDB Issue
[...]
The other issue is that I can't seem to find a way to get
OJB to find
the hsqldb script and data files directly within the exploded
On Wed, 2004-04-07 at 13:27, Antonio Gallardo wrote:
I think you can upgrade since there are not too complicated changes. BTW,
I worked without problems with PostgreSQL and RC5. As Thomas suggested
you, I think the problem is related the lack of a sequencer. Take a look
in a simple sequencer
Hi Thomas,
thank you very much for your prompt response.
I've tried to put this very line before the commit of transaction, and
the error is not given any more, but the id of bean2 still can't be
got.(id = 0 got )
Object oid = pm.getObjectId(bean);
Department bean2 = (Department)
From my experience of using both (i ended up doing an ODMG - OTM
conversion!):
Note that i dont any of the more complicated stuff - just storing object
trees, collections, etc, and querying the database. Also i dont use locking
atall (one thing odmg does better i believe).
Go with OTM.
ODMG
Huh, the ODMG slower thing is interesting as Armin just reemed us all
out for letting the OTM get so much slower than ODMG ;-)
Right now there are a couple hidden nasties in the OTM -- I like the
OTM a lot (if just so that I can do a query by identity without casting
to a TransactionImpl) but
Hum won't quite work, but I am still concerned that I can't get an
insert to work with hsqldb, so something is haywire with my DB somewhere
because my code works with other DBs (Postgresql, MySQL and oracle).
Anyone have ANY clues as to what my be happening?
R
Charles Anthony wrote:
hi,
be also aware that HSQLDB in 'stand-alone' mode only allows one connection!
If you use the database in this mode, you may only have one and only one
persistencebroker instantiated at any time!
I don't know if this has got anything to do with your problem though
Roger Janssen
iBanx
Hello again,
I've a problem access data in repository.xml. Is it possible get the
documentation infos 'xxx' and 'yyy' by the
org.apache.ojb.broker.metadata.MetadataManager
class-descriptor
class=ClassA
table=CL_A
Janssen, Roger wrote:
hi,
be also aware that HSQLDB in 'stand-alone' mode only allows one connection!
If you use the database in this mode, you may only have one and only one
persistencebroker instantiated at any time!
I don't know if this has got anything to do with your problem though
Sorry i was being a bit dense early morning after a very long weekend!
My app has a huge amount of db activity, and 99.9% of it doesnt require
locking (concurrent actions on the same objects will never happen as users
only share read-only objects)
So i mainly use the Persistance Broker api
Hi Armin, all,
I have tried your solutions, but I ran into a problem, because I was working
with rc4. ojb rc4 doesn't have the .link() method in the ServiceBrokerHelper
yet.
So I downloaded rc6, ran the ojb-blank target, inserted my files and created
a rc6-version of my project. I got it all to
I think you are asking a broader question.
First, do the Colored nodes need be seperate subclasses? why not
ColoredNode exetends Node: { color, p1,p2,p3},
Also, are the properties actally differernt properties, or just
different values.
I think you can store the Nodes using OJB, or any other
I need to perform the following SQL query against my db. Can anyone steer me
in the right direction?
SELECT * FROM keywords WHERE keyword_id IN
(
SELECT keyword_id FROM listing_keywords WHERE listing_id=3289923 AND
location_id=1007869
intersect
SELECT keyword_id FROM listing_keywords WHERE
Hi Matthew,
I converted the NON-ASCII Strings into ASCII Strings using UTF8 byte
array.
Enclosed is the code snippet I used..
byte[] nameByte = name.getBytes(UTF8);
this.name = new String(nameByte, 8859_1);
To retrieve the Japanese characters, I had to do the reverse.
Update part 2:
I now believe this to be a bug. I am currently using rc5.
I have debugged and ended up replacing the line that retrieves the
base_alias in the buildSuperJoinTree method of SqlQueryStatement. My
code is in between the *** rows.
I have not tested it thoroughly nor
Armin,
I'm happy to report that version rc6 fixed my problem. Am now getting the
primary key returned in the data object upon insert with MS SQL Server.
I can now proceed full steam ahead with my development.
Thanks for your help a few weeks back.
From: Armin Waibel [EMAIL PROTECTED]
On Tuesday 13 April 2004 15:17, Brian McCallister wrote:
Huh, the ODMG slower thing is interesting as Armin just reemed us all
out for letting the OTM get so much slower than ODMG ;-)
Have I missed something? Are there any new performance tests?
When I tested last time, OTM was somewhat faster.
Thanks very much for posting the slides. It is a great place for a
newbie like me to start.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hey guys,
I'm having a problem with regard to OJB-managed objects and their
visibility. Here's the scenario:
1) Create a new object:
Task task = new Task(...);
Transaction tx = _odmg.newTransaction();
tx.begin();
tx.lock(task, Transaction.WRITE);
tx.commit();
Note: task is saved
Hello,
I'm trying to learn OJB but am struggling getting a simple project to
run in Eclipse 2.1.3. I found what appears to be a good tutorial
entitled...
Object-Relational Mapping with Apache Jakarta OJB by Charles Chan
(http://www.onjava.com/lpt/a/2946) dated: 01/08/2003
I've
21 matches
Mail list logo