Hi Dennis,
org.apache.ojb.broker.util.GUIDFactory produces GUIDs that are unique
across different VMs.
cheers,
Thomas
Dennis Bekkering wrote:
Hello all,
I have a situation where i frequently have to merge data from different
databases. Uptill now every database has it's own sequence. That m
Hi Andy,
I did not use it in production, but I evaluated it as a lowcost
clustering solution two years ago.
I didn't find any issues and assume that it will work like a charm with
the latest versions of OJB and C-JDBC too!
cheers,
Thomas
Andy Malakov wrote:
Hello All,
Anybody successful
Hi Thad,
let your domain class implement o.a.ojb.broker.PersistenceBrokerAware
and implent the callback methods beforeUpdate and beforeStore.
For details refer to the JavaDoc:
http://db.apache.org/ojb/api/org/apache/ojb/broker/PersistenceBrokerAware.html
cheers,
Thomas
Thad Welch wrote:
he
Dear Ramakrishna,
We had this feature since 2001!
Please note that OJB is not based on lies !
for details refer to the documentation under
http://db.apache.org/ojb/docu/guides/advanced-technique.html#Mapping+All+Classes+on+the+Same+Table
cheers,
Thomas
Ramakrishna Reddy wrote:
Hi,
Do we have p
Hi Edson,
I guess one of the central social techniques on mailing lists is "Don't
feed the troll".
So I won't exlude the person in question from the mailing list. But
everyone on this list should be warned when he tries to launch the next
thread.
But maybe he has left us for good after detecting
will support clustering with a low-cost migration
from where we are now: ODMG with pessimistic locking.
http://db.apache.org/ojb/docu/howtos/howto-work-with-clustering.html
In OJB will ODMG ever support optimistic locking?
It already does.
http://db.apache.org/ojb/docu/faq.html#optim
Hi Zhe,
I don't know of any major memory issues with OJB.
In the OJB-junit test we execute ten-thousands of OJB calls without any
memory issues.
If your app usaes all memory it might well be because it allocates all
memory to hold the file data.
You should use a memory profiler to find out wher
Hi Ryan,
this sounds as if ojb.properties and/or the repository files were not on
the classpath.
Did you follow the steps required for deploying ojb in an app server?
http://db.apache.org/ojb/docu/guides/deployment.html
cheers,
Thomas
Ryan Layer wrote:
I am able to get OJB to function properly in
Hi Clovis,
Clóvis Wichoski wrote:
Hi,
I'm using PersistenceBroker and need use OQL only for selecting objects,
then I will use OQLQueryImpl, only to make the Query object for me, but
I have two issues in doubt:
1) Executing query with broker
...
OQLQueryImpl oql = new OQLQueryImpl(broker.getPBKe
broker.close();
Stanley Poon wrote:
In our application, there is a need to destroy or release an instance of the
PersistenceBroker. OJB provides
PersistenceBrokerFactory.releaseAllInstances(). However, that will destroy
all other instances that should not be removed.
Is there a way of destroying on
Hi Chris,
Chris Lewington wrote:
Hi all,
A couple of quick questions:
1) When persisting a new object, does the in-memory one get its PK set
automatically by OJB after the operation has committed, or do I have to
search for it afterwards to get at the PK?
The in-memory objected is automatically ass
eigl Maximilian, R235 wrote:
Hi Thomas,
does the plattform setting 'Oracle9i' only affect the client side and can i use it
together with an 8i database, or do i have to use 9i on either side if i use Oracle9i
in my connection descriptor.
Regards
Max
-Ursprüngliche Nachricht-
Von: Tho
Hi Alexey,
you are allocating a new Kvart instance for each Resultset row.
You could change the code to save tons of ram as shown below.
You could also try to commit blocks of say 1 Kvarts. This will save
a lot of JDBC resources.
cheers,
Thomas
[EMAIL PROTECTED] wrote:
Hello everybody!
I made
Hi Enrique,
Enrique Medina wrote:
Hi everyone,
My question is related to the volume of information OJB retrieves from
DB in several ways:
1) When I retrieve any object using getCollectionByQuery(), how many
records are retrieved? Are all the records found in the database?
all records matching y
Hi Christophe,
This is a known problem with Oracles thin driver.
You can try to either use the "thick" driver or to try to use Oracle9i
platform in your connection descriptor.
Thomas
Christophe Lombart wrote:
Hi All,
I'm just wondering how to defined a blob attribute for the Oracle
plateform ?
http://db.apache.org/ojb/faq.html#What%20are%20the%20differences%20between%20the%20PersistenceBroker%20API%20and%20the%20ODMG%20API?%20Which%20one%20should%20I%20use%20in%20my%20applications?
Corey wrote:
Hi all,
Sorry, newbie posting here. I've read all the docs and played with all of
hi marcus,
[EMAIL PROTECTED] wrote:
Hi,
just looking for some advice regarding the design of
a database application that is required associate
archives of XML datafiles with more conventional
relational type data. Each XML file will be
approximately 10-50K bytes and the archive rate will
be m
ing a DatabaseLockManager along with the
current implementations. A fair number of people prefer this behavior.
-Brian
On May 10, 2004, at 3:21 PM, Thomas Mahler wrote:
Hi NiX,
Ojb provides several Locking strategies. You can use Optimistic
locking based on versioning. Or you can use pessim
Hi NiX,
Ojb provides several Locking strategies. You can use Optimistic locking based on
versioning. Or you can use pessimistic locking.
The pessimistic locking mechanism is implemented as a pluggable component.
We ship two implementations:
1. an in-memory Lockmanager implementation that can be u
Hi NiX,
Ojb provides several Locking strategies. You can use Optimistic locking based on
versioning. Or you can use pessimistic locking.
The pessimistic locking mechanism is implemented as a pluggable component.
We ship two implementations:
1. an in-memory Lockmanager implementation that can be u
Original Message
Subject:mapping associations(1:1,1:n) seems not working with Oracle9i
Date: Thu, 6 May 2004 22:31:45 +0100
From: Carla Avelans <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Hi,
I’m using OJB (db-ojb-1.0.rc5) to access Oracle9i (Windows XP) and
Hi Jason,
During a typical ODMG session there will be thousands of calls to the
LockServlet.
The faster each call is handled, the faster the whole ODMG app will run.
So the overall rule is to make the locking calls as local as possible!
If all your servlets are running within one JVM it is much
Hi Oliver,
problems like this are typically caused by settings in the
repository.xml files.
pleasse post the mappings for your classes for further diagnostics.
cheers,
Thomas
Oliver wrote:
Hi,
My m:n assiciation is qualified.
I did the m:n mapping exactly like tutorial 3 explains it.
In princi
Hi Doug,
This seems like a problem with your build classpath settings in eclipse.
Try to load OJB from CVS HEAD with eclipse. In CVS we have the eclipse
.project and .claspath files that eclipse needs to build OJB.
Thomas
Doug Poland wrote:
Hello,
I'm trying to learn OJB but am struggling gett
Use ANT.
Using ANT to build OJB should work without problems on any platform.
Thomas
Charles N. Harvey III wrote:
I'm having a lot of trouble building from HEAD. Do I use "maven" or "ant"?
I get the STRANGEST error when I try to use ant. Its probably something
with
my maven/ant installation tho
Hi Philippe,
Please try to obtain the OID before committing the transaction:
Object oid = pm.getObjectId(bean);
pm.currentTransaction().commit();
The error message indicates that the JDO engine complains about a
non-open (in your case already committed) transaction.
cu,
Thomas
Philippe Guil
Hi Robert
Robert S. Sfeir wrote:
All,
I am trying to setup my app so I can use hsqldb. First time using that
db with OJB. I've pointed the repository's connection info so it will
find the DB files at /application-data dir, and it finds them fine since
my select works, however if I try to do
Dear all,
We've got a new release! Given we find no showstoppers during the next
week we will approach the Project Management Committee (PMC) of the
db.apache.org project to get approval to relabel this release as the
final 1.0 version.
Armin worked hard to get our regression testbed rocksolid
Hi Francesco,
OJB provides support for JTA integration, so you should be able to use
it in distributed BMT (and also CMT) environments.
Our JTA Mechanism works well with several J2EE containers and also Non
J2EE-JTA implementation (as some CORBA ORB's with TransactionServer
implementation)
I d
Hi Angus,
Angus Berry wrote:
I appreciate the insight.
I understand that the JDORI plugin has some additional administrative
work, but is it production stable?
It is production stable. But it does not scale.
The JDORI has some specific limitations that will become a problem if
you run OJB/JDORI
instantiating a broker does not open connections, so why should it throw
any db related exception at that time?
Thomas
Christian Eugster wrote:
Hi
I am using rc4 and I test my application by trying to connect to a shut-down
mysql-server to see what happens:
broker = PersistenceBrokerFactory.cre
+1 for changing the logging
Thomas Dudziak wrote:
On Mon, 8 Mar 2004, Edson Carlos Ericksson Richter wrote:
I don't want to start a fight. Ok, in programming world has several
(thousands, maybe million) of ways to do exactly same work using same
language.
But I have more than 12 lines of cod
Hi Sukesh,
If you can see by debugging (or easier by using the P6Spy jdbc tracer)
that ojb executes the correct insert or update, then the problem can not
be cause dby cache / gc interaction.
The only explanation i have for such a behaviour is that a database
commit is not done after executing
The factory should be delatred for class B too
Ziv Yankowitz wrote:
Folks,
We are using The factory-class and factory-method to create a class instance.
however when we use reference descriptor to persist this class it ignores the
factory-class and method.
can anyone please help?
here is our Cl
Hi Edson,
I'd like to integrate your RemovalAwareArrayList!
Please post it to my email address.
Thomas
Edson Carlos Ericksson Richter wrote:
I don't know if help, but analizing Vector I've seen that when need more
space, it double allocated space. ArrayList, at other side, does a less
agressive a
Hi,
Glauber Andrade wrote:
My system doesn't work anymore. I got this error when I try to get the
object Prestador (+- 600 registers).
What should I do ?
Without knowing more about your system this is hard to answer.
If there are no problems with your repository.xml it could be that you
simply
Hi Daniel,
Please foolow the Tutorial step by step.
It' not suffient to launch the prepare-tutorials target.
as mentioned in the tutorial you must call
ant with-jdori prepare-tutorials enhance-jdori
cheers,
Thomas
Daniel R. Ambrosio wrote:
Hello everybody,
I could not find any reference to the fo
Hi Raymond,
here is my approach to implemen t this:
1. store your BookingStatus fields as INTEGER columns
2. in the field-descriptors of those fields declare to use a
ConversionStrategy.
3. Implement your own ConversionStrategy that reads an int value from
and maps it to the corresponding Book
Original Message
Subject: problem with sequence manager in MySQL
Date: Sun, 15 Feb 2004 22:16:32 +0530
From: balaji sampath <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Hi all,
I am new to OJB and using OJB with Struts. When i need to include
the
auto increment field in my R
Original Message
Subject: persistence broker
Date: Thu, 12 Feb 2004 15:33:15 -0600
From: MORRIS, JAMES (CONTRACTOR) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Thomas,
Is there any way to release a single instance of a persistence broker
that has been closed? I see the relea
Hi Bastian,
Your understanding of that other message is correct.
As the JDORI plugin mechanism does not provide any abstraction of
performing selections.
This is a deficit of SUN's JDORI and not of OJB!
The bad news is that there is no way to get around this problem.
SO all you can do for the mo
Hi David,
Yes, the ODMG and OTM layer provide support for long transactions.
They both provide means to transfer Objects back to transactions (aka
swizzling).
Thomas
David Hooker wrote:
Does OJB support "long transactions"?
-
Hi all,
I agree that it would be nice to have a declaration of initial and
default values, etc. in the repository.xml.
So we would need a little "sub language" that allows you to specify the
semantics you want. For simple cases it will be only constant of
arbitrary java types. For other cases
Original Message
Subject:Fw: Can anyone help me with this Join question?
Date: Thu, 29 Jan 2004 08:43:49 -0800
From: Jay Xu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Tom,
I saw your posting quite frequently on the board. So maybe you can help me
on this or s
Hi Hubert,
Please post the xml ClassDescriptors of your classes. I could imagine
that there is some trouble with the auto-update attributes of your
reference- and/or collection-descriptors
Thomas
Hubert Behaghel wrote:
Hi there,
I am trying to make a miniframework with OJB, based on its JDO p
forwarded to the ojb-user list.
Thomas
Original Message
Date: Thu, 22 Jan 2004 09:17:13 -0800
From: He, Paul (EDS) <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Thomas,
I am just starting to use OJB recently. Oracle application server (Orion
server) is our ch
forwarded you question to the ojb user list.
Thomas
Original Message
Subject: Problems with "super"
Date: Thu, 22 Jan 2004 13:29:41 -0500
From: Ankur Gupta <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Hello Thomas,
I have been having some problems using "super" to map an inherit
"VENKATESH, SUMA (SBCSI)" <[EMAIL PROTECTED]> schrieb am 19.01.04 20:06:04:
Hi Suma,
1. Please post questions to the user list and not to individual developers.
>
> Hi
> All,
>
> Iam having some fun with JDO API. I tried to run tutorial5 . I have
> followed evey step in it. I get the following
Hello Ajitesh,
Case A works without any problems. You simply define a set of
ConnectionDescriptors and a set of ClassDescriptors in the Repository.
In each ClassDescriptor you have a key pointing to the associated
ConnectionDescriptor.
Case B works too, but needs some consideration. At a given
Please follow precicely the steps in the tutorial!
You must enhance your Product class (The tutorial explains how to do it).
Thomas
VENKATESH, SUMA (SBCSI) wrote:
Hi
Iam trying to run tutorial 4 on JDO API.
I get the following error:
javax.jdo.JDOUserException: Class given to getExtent,
org.apac
Hi Ronen,
Ronen Yaari wrote:
All,
I noticed that the Cache Mechanism works only with the Broker API, Is it true ?
No.
I want to use the ODMG API, is it possible somehow to use the Cache Mechanism with this API ?
yes!
What exactly is your problem?
Thomas
Thanxs,
Ronen Yaari
Traiana Technologies
Hi Guilaume,
Guillaume Nodet wrote:
I've got an object model with strongly typed collections:
class A {
private BList bs;
public BList getBs();
}
class B {
...
}
class BList implements Collection {
Hi Pedro,
Pedro Salgado wrote:
Sure, this is much cleaner. But my code is only one line ;-)
Yes, but if I make an additional util class I can get the same effect (1
line) and abstract from the JDO implementation ;)... Maybe one more private
attribute for the pmf on usecase implementation clas
Hi pedro,
Pedro Salgado wrote:
In tutorial 4 I found something like:
factory = new OjbStorePMF();
Isn't this a better way to create a PersistenceManagerFactory?
Properties props = new Properties();
props.setProperty("javax.jdo.PersistenceManagerFactoryClass",
"org.apache.ojb.jdori.s
Hi Suma
[EMAIL PROTECTED] wrote:
Hi
I posted the below question 3 days ago. Is it that new joiners are
not answered OR is my question too obvious !!!
Your question was answered within 6 hours by Ron Gallagher. I've also
forwarded his posting to you in case you missed it.
cheers,
thomas
Iam c
taffmix.nurse.competencies.Trait;
import com.staffmix.nurse.competencies.TraitImpl;
/**
* Insert the type's description here.
* Creation date: (04.03.2001 10:34:15)
* @author Thomas Mahler
*/
public class UCEnterNewPerson extends AbstractUseCase
{
/**
* UCEnterNewProduct constructor comment.
*/
Hi Sean,
Sean Dockery wrote:
Thanks. I've downloaded it and will look at it later this weekend.
Is OpenEMed an example of a typical OJB application?
Mhh, What do you mean by typical? OJB is used in large variety of
application scenarios. (E.G. in Swing based clients, in Servlets, in EJB
Sessi
Hi Sean,
We have a page listing reference usages and user testimonials:
http://db.apache.org/ojb/references.html
some of these projects are open source.
We also have sample apps in our contributions package. You'll find more
details on this page: http://db.apache.org/ojb/links.html#OJB tutorials
Original Message
Subject:How to call a select store procedure in OJB
Date: Fri, 9 Jan 2004 14:56:15 -0800 (PST)
From: Suma Venkatesh <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Hi
Iam working on using store procedures using OJB. I wan
hi again,
"OJB Users List" <[EMAIL PROTECTED]> schrieb am 09.01.04 15:52:22:
>
> Am I right in that the type returned by the query can be configured via
> the OqlCollectionClass property ?
yes, that's right!
>So I could use a base collection such as
> ManageableArrayList instead of the odmg co
Hi tom,
yes, that's possible!
You can execute an OQL query without using ODMG transactions at all!
(internally we are using an implicit transaction to make this possible).
Simply perform the query and work with the returned Objects and store them with the
PB. No problem.
cu,
thomas
"OJB Use
Hi Brian,
Brian Sam-Bodden wrote:
Thomas,
Could you give us a short and sweet version of how OJB came to be?
:-)
Ok, here it goes.
After working with several proprietary o/r layers I finally got the
chance to work with ODMG compliant OO databases (POET and Objectivity)
in a project.
I was im
Hi Claudio,
To work with sequence numbering you have to declare the respective
attribute as autoincrement="true".
If you don't do this you can not expect the sequence manager to work for
those tables!
Thomas
Claudio Romano wrote:
Hi all,
i updated OJB from the rc3 to rc5. Now i have a problem
Hi 蔡博至!
I guess you should use \" instead of ':
select allproducts from org.apache.ojb.tutorial2.Product where name ="小黑"
The Lexer does not complain about the chinese characters but about the
missing \" !
hope that help!
Thomas
蔡博至 wrote:
> Hi!
> Does anyone use tranditional-Chinese(n
Hi Luis,
Luis Cruz wrote:
Hello,
To use the Optimistic Locking feature provided by OJB does the
ACKOPTLOCK column have to be added to every table, or just the ones
defined in the user mapping?
You have to add a version column only for those classes that have an
optimistic locking attribute (= c
Hi Sebastian,
Did you read
http://db.apache.org/ojb/tutorial3.html#Setting%20Load,%20Update,%20and%20Delete%20Cascading
?
You encounter the interference of two features here: the cascading
operations feature and the removal-aware collection.
1. If you remove a Child and then delete the parent
beleive
it is related to running under Junit.
-Gus
For reference here is my JDO file..
http://java.sun.com/dtd/jdo_1_0.dtd";>
and the repository.xml info for IdManager:
-gus
Thomas Mahler wrote:
Hi Gus,
I assume
Hi Gus,
I assume that there is a wrong sequence of initialization calls. EIther
in your code or in mine...
By just looking at you stacktrace I don't get an idea what might have
gone wrong.
Please post the relevant code that provoke the error. It looks as if
some things are not yet initialized
Hi again,
Luis Cruz wrote:
So if an object is registered to a tx and then selected by a query, then
the same instance is returned by the query.
I disagree. This is only true if the object is "cachable" and if an
empty cache implementation is not used.
You are right. I simplified the situatio
Hi João,
João Mota wrote:
->Using Pb with ODMG Question:
When you use the PB methods with the ODMG broker, the query includes the
objects touched by the current transaction?
All queries, PB and OQL queries always are executed against the database.
If an object returned by a query is in the cache
Hi Pierre,
we have a dependency against several j2ee APIs. Our recommendation is to
have the j2ee.jar on the classpath.
During the build we check against certain classes an print out a warning
to include the j2ee.jar, if those classes are not present.
I guess this should be safe enough for mos
Hi Hubert,
did you compile the jdori source with JDK 1.3 or 1.4 ?
AFAIK only 1.3 is supported by SUN.
I really can't tell you what's up with the JDORI sources. But it's not
an OJB issue at least ;-)
Thomas
Hubert Behaghel wrote:
Hi all,
Since two days I couldn't get rid of this failure when in
Mhh, I guess you should add a class-descriptor for each Decorator class
into the reository.
then you have to define a class-descriptor for the IF and add extent
class definitions for all decorator classes.
Thomas
[EMAIL PROTECTED] wrote:
Hi,
I want to map a table to an interface.
I have some p
Dear all,
After a long time of preparation we finally managed to assemble a new
release of OJB.
We fixed a lot of bugs and we also improved the performance for all APIs.
This is the last release candidate for 1.0. If no major bugs are
detected within the next two weeks this release will be rel
Hi Sebastian,
Please have a closer look at http://db.apache.org/ojb/tutorial4.html.
to get the tutorial app up an running you have to execute the follwing
ant targets: with-jdori prepare-tutorials enhance-jdori
the enhance-jdori target does the bytecode enhancement.
if you habe a look at this
Hi Mehboo,
Please direct further question directly to the OJB user list. I do not
provide OJB support on a personal basis.
To answer your question: The ObjectNotPersistence Capable exception is
thrown when persistent classes are not enhanced with the JDORI Bytecode
enhancer.
Please make sure
Hi Gus,
IMO that's nothing to worry about. This is clearly only meant as a
copyright protection for the sources. It does not contain any
"infectious" clauses regarding the redistribution of binary stuff.
cu,
thomas
Gus Heck wrote:
IANAL, but this sentance worries me:
You may add Your own
Hi Bob,
The ASF Licence, being based on the BSD license, is one of the most
liberal license available in the open source arena.
It's one of the declared aims of the ASF to allow any usage that does
not violate copyrights even in commercial projects.
So your company could even take OJB, add som
Hi diane,
Jewett, Diane C wrote:
I'm going through tutorial2(ODMG) and with the following:
// 3. set the OQL select statement
query.create("select allproducts from " +
Product.class.getName());
Where does allproducts get defined?
allproducts is just a place
Hi Claus,
Claus Radloff wrote:
Hi,
when we started, we had two distinct tables, but this solution was too
slow, as we have a few hundred thousand texts. So we put our texts in
one table. This improved the performance significantly.
Hmm, a decent database should be able to handle a foreign key rel
Hi Gary,
Yes, we now have full support for specifying factory classes and methods
in the class-descriptor. These settings are respected everywhere in OJB,
also in the RowReaderDefaultImpl.
If you find a place where the Factory settings are not respected, please
let us know.
enJoy OJB!
Thomas
The most easy approach is to use instance callbacks.
See http://db.apache.org/ojb/tutorial3.html#instance%20callbacks.
you can place the additional lookup logic into the afterLookup callback
The storage logic can be placed in the afterInsert callback.
Only "disadvantage" of this approach: you per
Hi all,
Good news! Thanks to Gus getting me started. I've fixed this pita bug at
last!
it's in CVS HEAD already.
cu,
thomas
Thomas Mahler wrote:
Hi Gus,
Gus Heck wrote:
Well, since I am relatively stuck I peeked under the hood and took a
stab at fixing this, based on the assumptio
Hi Gus,
Gus Heck wrote:
Well, since I am relatively stuck I peeked under the hood and took a
stab at fixing this, based on the assumption that the analysis in the
previous news group discussion of a missing state manger is the problem.
thanks for helping! Yes I guess the missing state managers
Hi Stephan,
In mapping an inheritance hierachy is not different for OJB/JDO. So if
you mapping is correct everything should work fine.
I've some questions regarding your classes and mapping:
Stephan Wannenwetsch wrote:
Hallo,
I'm trying to store an object which inherits some attributes from a
Original Message
Subject: How collection data stored in db
Date: Tue, 2 Dec 2003 20:33:22 +0100 (MET)
From: Damir Dulitz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
In the ojb tutorial (http://db.apache.org/ojb/tutorial3.html) there is
example for a 1:n mapping.
But how and where
Hi Gong,
You declare your collection attribute as java.util.List. That's fine!
But then you have to be careful:
If you *load* you collection from the db first, then OJB will
automagically use a RemovalAwareCollection to fill your collection
attribute.
But if you do not load the collectio from
Hi Michael,
OJB puts all loaded entities (also those in collection attributes) into
the cache.
So if you can make sure that the updates are executed on exactly the
same instances (and not a copy) of the photos stored in your collection
everything should be fine.
But this is exactly the problem
Hi all,
Thomas Dudziak wrote:
On Tue, 25 Nov 2003, eric barbe wrote:
Hi,
Honestly, I did not test Hibernate, I only read the documentation.
Hibernate works the other way around from OBJ for modeling the XML.
What I saw for string list is this :
Hi again Max,
Max Rydahl Andersen wrote:
I had at short look at the Hibernate CVS, I did find a DCollection
implementation but no DList or DMap implementation.
These ODMG collections are meant to store "everything". Thus you'll need
some table to store the "pointers" (Identities in OJB) to the re
Hi again Max,
OJB manages the locking of lazy objects and Collection by a deferred
locking
mechanism.
We are not using database mechanism for locking (e.g. row level
locking) but
our own LockManager mechanism.
We are not using any JVM locking or synchronization mechanisms!
EH!!? Huh! explain p
Hi Ken,
Hibernate does have many good points too. It has some nice roundtrip
generation tools which really worked. I coded only the mapping file(easy),
then the tools create/modofiy your classes and db automatically, I think
they can go in the other direction too.
I agree, OJB should improve in
Hi Ken,
Ken Brewer wrote:
I just started using OJB and so far so good. I'm confused about the dynamic
proxies. Previous to OJB, my object model used inheritance but no
interfaces. Because I want lazy loading, I created an interface for nearly
every class. I simply named these interfaces 'I + class
Hi Bob,
Robert J Celestino wrote:
Hello All,
Trying to get my own example running using ODMG and I feel like I am
missing something very basic.
My simple class has 2 simple string attributes (field descriptors),
one referenced attribute (reference descriptor), and one collection
(collection descr
Hi,
Jair da Silva Ferreira Júnior wrote:
Hi, I am using ojb1.0_rc4, ODMG api with OJB queries and mysql4. My
questions are: 1) What happens when two different ODMG transactions
try to write lock the same object at the same time? A
LockNotGrantedException is thrown
yes!
in one of the transactions
Hi again Andre,
Where exactly di you get this 1.0.1 version?
Our stuff was build against the 1.0 version
(jdori-1_0-fcs-src-04_Mar_2002.zip):
http://jcp.org/aboutJava/communityprocess/final/jsr012/index.html
Please point me to the 1.0.1 release and I'll check if there are any
compilation probl
Hi Andre,
To follow an index you'll need an order by clause for the indexed
column.
(http://db.apache.org/ojb/api/org/apache/ojb/broker/query/Criteria.html#addOrderBy(java.lang.String,%20boolean))
If you do not use an order by clause the RDBMS is not forced to serve
rows in a certain sequence.
Hi Antonio,
Antonio Gallardo wrote:
Hi:
Thanks! It works.
I wondering why OJB does not support BOOLEAN, since it is a valid type for
JDBC 3.0.
No special reason. Only laziness ;-)
cu,
Thomas
Best Regards,
Antonio Gallardo
Gelhar, Wallace Joseph dijo:
Hi Antonio,
Try using BIT as the type.
Hi Sylvain,
[EMAIL PROTECTED] wrote:
>
The servlet engine uses parallel WorkerThreads to handle all incoming
requests.
So you have to make sure that parallel servlet threads don't
access the
broker variable without proper synchronization.
How could I be sure?
I answered this in my original repl
Hi Sören,
Sören Kress wrote:
Hi,
I am new to OJB and I would like to read some more documentation about ODMG.
Are there any (general) documents about ODMG available (free on the
internet)? The ODMG seems to have stopped its activities.
I guess you are right about the ODMG. Unfortunately there was
1 - 100 of 455 matches
Mail list logo