-Ursprüngliche Nachricht-
Von: Ravi Aramanethota [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. August 2005 15:52
An: [EMAIL PROTECTED]
Betreff: OJB 1.0.3 : afterLookUp() in PersistencebrokerAware
Hi Thomas
We are using OJB 0.9.8 for last two years and now when I upgrade it to
hi all,
I used the tool sloccount (http://www.dwheeler.com/sloccount/) to run some
elemantary Lines-of-Code code statistics on the OJB source code.
The cool thing about sloccount it also gives a cocomo based cost estimate.
cheers,
Thomas
SLOCDirectory SLOC-by-Language (Sorted)
63446
Hi all,
Armin is right, my Prevayler code is far from being complete. For instance
there is no query implementation available. You can lookup objects only by
Identity. The Prevayler PB does also not rely on repository.xml information.
Currently the Prevayler PB is undocumented and not recommended
Hi,
I am trying to use the JTA Transaction with OJb. Can you please give
me some articles / code links where i can get a reference implementation. I
want to use it with weblogic server.
Thanks and regards,
Sudhakar
Cognizant Technology Solutions India Pvt Ltd.
Tidel Park - 6th Floor,
Hi Nathan,
If you have a compound primary key of say 7 columns and 6 of them are (or
can be) blank or null then only the seventh column can be used as a real
primary key.
So from an OJB point of view you could just solve the issue by declaring on
the seventh column as primary key in the
Hi Björn,
Yes, that's possible.
The OJB default Collection implementation RemovalAwareCollection provides tracking
of removing and adding objects.
Thomas
-Original Message-
From: Björn Voigt [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 3:32 PM
To: [EMAIL PROTECTED]
Hi Zhe,
It depends on the API you use.
PB and JDO Transactions do not provide checkpoints.
But ODMG and OTM do:
org.apache.ojb.otm.core.Transaction.checkpoint()
org.odmg.Transaction.checkpoint()
cheers,
Thomas
-Original Message-
From: ZZZ Liu [mailto:[EMAIL PROTECTED]
Sent:
Dear all,
I'm very happy to announce the final 1.0 release of OJB.
After a long series of release candidates we finally got enough confidence in our
software
to call it ready for prime time.
As you can see by our ever growing list of junit tests we pay attention to quality
assurance.
So the
Hi Norbert,
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 6:49 PM
To: [EMAIL PROTECTED]
Subject: Dynamic statement, urgent
Hello,
OJB uses prepared statements to run select statements. Is
there a way to
convince OJB to use
Hi,
It's not neccessary to store Maps and Sets in Blobs.
You can store HashMaps as any other collections by using a
collectiondescriptor:
Java:
HashMap myHashMap;
Repository:
collection-descriptor
name=myHashMap
element-class-ref=my.elementClass
Which cache implementation are you using?
how are your reference- and collection-descriptors defined?
Thomas
-Original Message-
From: Nadir Timanga [mailto:[EMAIL PROTECTED]
Sent: Friday, March 05, 2004 3:56 PM
To: [EMAIL PROTECTED]
Subject: Possible circular reference BUG
Hye,
Hi Gavin,
The ojb-blank target is a template for your own projects.
To simply build ojb use the target release.
Thomas
-Original Message-
From: Gavin Paul Selvaratnam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 7:46 AM
To: '[EMAIL PROTECTED]'
Subject: Newbie Question
Hi Sven,
The client-server stuff has been removed from the distribution quite some
time ago.
It's not longer supported. I've also removed clientserver.html page.
If you have any further question, don't hesitate to ask.
Thomas
-Original Message-
From: Sven Alisch [mailto:[EMAIL
If you use Identity queries you will load objects from the cache.
But if you use criteria based queries an SQL query is executed against the
DB.
-Original Message-
From: Ziv Yankowitz [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 4:34 PM
To: OJB Users List; [EMAIL
Hi Gus,
-Original Message-
From: Gus Heck [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 4:42 PM
To: OJB Users List
Subject: Re: JDO Query Performance
SO all you can do for the moment is to wait for our own full JDO
implementation that will not have such
Hi Gus,
The current JDO implementation does not inherit the ODMG stuff.
You should use simple java.util.Collection attributes for your collections.
You'll have to define collection-descriptors with
auto-retrieve=true, auto-update=false and auto-delete=false.
cheers,
Thomas
-Original
Hi Saman,
The ojb-tags are part of the contributions package. This archive contains
contributions that are not part of the maintained distribution.
The Ojb Tags library was developed by Jacob Hookom (Jacob.Hookom at
redline.mckhboc.com) for 1.0.RC3.
I think it makes sense to talk directly to
OK, so we'll wait a bit longer...
cheers,
Thomas
-Original Message-
From: Thomas Dudziak [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 10:55 AM
To: OJB Users List
Subject: RE: New XDoclet OJB module version
On Mon, 19 Jan 2004, Mahler Thomas wrote:
Hi Tom
Hi Tom,
Wow, what a large cvs commit! This must have been a lot of work! Thanks for
your hard work!
Do you think it's reasonable to bring out 1.0 next weekend including your
updated version?
Or should we wait a bit longer to check in any possible fixes?
cheers,
Thomas
-Original
Hi Gonzalo,
Currently there is no documentation available that covers the prevayler
stuff!
The reason for this is that the prevayler based PersistenceBroker
implementation is not yet finished!
It works fine for the basic persistence Operations (.getObjectByID(),
.store(), .delete()), But I did
Hi Sebastian,
Does your class have a public default constructor?
-Original Message-
From: Sebastian Muench [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 1:42 AM
To: OJB Users List; [EMAIL PROTECTED]
Subject: R: JDO - Unable to build object instance
Oh, the file
This should get you started: http://db.apache.org/ojb/getting-started.html
-Original Message-
From: De Swert Pierre (GFDI) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 10:33 AM
To: OJB Users List
Subject: Sample ant build files for OJB?
Hi all,
I have
-Original Message-
From: Mahler Thomas
Sent: Tuesday, December 16, 2003 2:10 PM
To: 'Stefan Schlösser'
Subject: RE: Unusual object relation mapping possible with OJB ?
Hi Stephan,
Hi Thomas,
Sure, I need the link table.
I read throught the examples in the link
Hi Stefan,
What you describe is in essence a m:n association between Address and
Person.
A Person may have multiple Adresses
An Address may have multiple Persons associated.
Apart from the tables ADDRESS and PERSON you also need an intermediary table
LINK
OJB provides out of the box support
Hi Sebastian,
You encounter a version conflict here.
OJB/JDO RC4 is written against JDORI 1.0
OJB/JDO RC5 (current CVS HEAD) is written against JDORI 1.0.1.
It seems that you downloaded the new 1.0.1 Version of the JDORI.
So you could either work with the latest CVS HEAD or download the 1.0
exactly!
-Original Message-
From: Jewett, Diane C [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 7:17 PM
To: OJB Users List; [EMAIL PROTECTED]
Subject: RE: How does ODMG work?
So does it mean that it is no different then:
select * from Product
-Original
of debugging through the JDORI. But in
the end the coding itself took only a few hours.)
I will review your patch this weekend. So I hope we get
you started
by next week!
thanks for your patience and also for sharing your patch!
- thomas
-Gus
Mahler Thomas wrote:
Hi
Hi Gerhard,
we will continue to provide JDK1.2 and JDK1.3 support.
All compilation dependencies will be fixed by next weekend.
cu,
thomas
-Original Message-
From: Gerhard Grosse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 3:58 PM
To: [EMAIL PROTECTED]
Subject: JDK
Hi Matthias,
Hi
I try again to get help from some one. We try to run
multiple users (up to 3000) to a webbased prototype that uses OJB and
runs on Websphere 4.x on z/OS. The Database is DB2.
Run the tests with one user works. Run the test with more
then one (50 or
100) we get
in moste
through
the discussion referenced below and having trouble picking out what
exactly the work around is... If you or someone else could post a
direct workaround for getting a list of all objects of a
class that are
persistant it would help a lot.
TIA,
Gus
Mahler Thomas wrote:
Hi
Hi Michael,
The ODMG exceptions do contain the original SQL exceptions to provide user
with helpful information.
I think you could easily patch the RollbackException to wrap the odm
exception.
cu,
Thomas
-Original Message-
From: Michael Becke [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Hi Max,
YAC (Yet another clarification):
snip
EH!!? Huh! explain please ;) How can you synchronize/lock
in memory
without
locking or synchronization mechanisms ?!
You are right, we do the lock management with a pluggable component
called LockManager.
I just wanted to say
Hi there is a very nice feature in OJB to handle this:
1. Define your DB coulm as VARCHAR.
2. in the repository_user.xml you set
conversion=org.apache.ojb.broker.accesslayer.conversions.StringVector2Varch
arFieldConversion
3. That's all!
All strings of your Vector get concatened and written to
OJB does not support row level locking. But you can use the Optimistic
Locking feature of the PersistenceBroker:
http://db.apache.org/ojb/faq.html#How%20to%20set%20up%20Optimistic%20Locking
cu,
Thomas
-Original Message-
From: Rama Mohan Pacific Net [mailto:[EMAIL PROTECTED]
Sent:
KISS == Keep It Simple, Stupid
-Original Message-
From: Markus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 9:38 AM
To: OJB Users List
Subject: Re: Persistence frameworks
Hello,
I've followed the descussion about hibernate and OJB.
Yes - that's probably the
Hi again,
some more clarifications ;-)
snip
Ok - this sounds VERY much similar to what Hibernate provides
in the core.
The ODMG implementation *does not* require any additional
tables in general!
- If you want to use special persistent collections (DList,
DMap, etc) you
must
regards,
Max
-Original Message-
From: Mahler Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 4:53 AM
To: 'OJB Users List'
Subject: RE: Persistence frameworks
Hi Max,
Hi!
Just want to ask/clarify some stuff on this one - sorry for
the late answer
Hi Antonio,
I have no problems with the Druid discussion so far.
cheers,
Thomas
-Original Message-
From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 9:04 PM
To: [EMAIL PROTECTED]
Subject: About Druid.
Hi:
I am happy of the growing interest in
Hi Nick,
Hi-
An earlier thread on this list:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg03832.html
describes a _serious_ bug in the JDO interface to OJB.
I posted about this last week and haven't gotten a response yet. I'm
really hoping that someone can shed some light on the
Hi again,
I am just looking for a link, from db.apache.org which is
easy to find,
and always working. If I have to use google to do a
+site:www.archive.dom/path then so beit.
Just a link, is that too much to ask for?
1. Giving you the link is a problem if the target URLs are
Hi again,
-Original Message-
From: A Leg [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 9:17 AM
To: OJB Users List
Subject: Re: Question about getIteratorByQuery
Thomas
Thanks for you answer.
Ok for a simple database call, but when we make this call to the
Hi Brian,
there are two OJB Presentations online that might serve as a starting point:
http://cvs.apache.org/viewcvs.cgi/*checkout*/db-ojb/contrib/cavaness-ajug-sl
ides.pdf?rev=HEAD
http://cvs.apache.org/viewcvs.cgi/*checkout*/db-ojb/contrib/ojb-dataccess.pd
f?rev=HEAD
Currently Martin Poeschl
Hi Sylvain,
snip
Just some question to be sure to understand:
How could you define a thread in this case?
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
Hi Florin,
snip
Regards,
Florin
PS: I have another question: is it possible in OJB to map an
object field to
a calculated value. For example I have a birthday column in
PERSON table and
I want to have in the Person class a field age containing the
age of the
person(
age =
Hello Vincent,
Hi,
How can I use a lock mechanism with the PB API?
The OJB PB does support optimistic locking based on timestamps and versions.
http://db.apache.org/ojb/faq.html#How%20to%20set%20up%20Optimistic%20Locking
Is there a way to use pessimistic lock mechanism with this API?
Hi Anton,
You should direct questions regarding OJB to our user mailing list.
To answer your question:
The standard ODMG OqlQuery does *not* provide iterator facilities.
That's one of the reasons why we provide an enhanced query that is a
*superset* of the standard Query.
It provides
Hi again,
snip
My argument here is that the JDO spec does not contain an Identity
object. It does also not contain any formal contract
between Identity
objects and the PersistencecManager.
So using Identity.serialize() is not against the JDO.
Here I'm not agree with you.
may be misunderstodd as there is no clear
distinction between PB and ODMG API.
Sorry for the confusion
Thanks,
Jair Jr
- Original Message -
From: Mahler Thomas [EMAIL PROTECTED]
To: 'OJB Users List' [EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 9:44 AM
Subject: RE: how
Hi
Hi Thomas,
Correct me please if I am wrong, ObjectEnvelopeTable and
related cache
cleaning on abort-transaction is an ODMG feature.
exactly!
The
PersistenceBroker
API does not offer this feature, so the documentation at
http://db.apache.org/ojb/objectcache.html is correct
In OQL Queries strings must be escaped:
String id = \7f653507-0a28-0c51-0153-e0c0206f7a20\;
Thomas
-Original Message-
From: Robert J Celestino [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 10:20 PM
To: OJB Users List
Subject: Custom SequenceManager
Hello,
I
Hi Christophe,
The OjbStoreManager implements newObjectIdInstance as follows:
public Object newObjectIdInstance(Class pcClass, String str)
{
return Identity.fromByteArray(str.getBytes());
}
The input this method expects is a String generated by a call to
Identity.serialize()
Hello Jair,
OJB ODMG stores each registered Objects in an o.a.ojb.odmg.ObjectEnvelope.
All ObjectEnvelopes are kept in an o.a.ojb.odmg.ObjectEnvelopeTable.
ObjectEnvelopeTable has a public method
public Enumeration elements();
which returns an Enumeration of all ObjectEnvelopes.
The each OJB
Yes you can execute any SQL code with QueryBySQL
-Original Message-
From: Axel Hohaus [mailto:[EMAIL PROTECTED]
Sent: Friday, September 19, 2003 10:13 AM
To: OJB Users List
Subject: Sql command to compact database
Hi,
Is it possible to send a SQL-statment to database with
Hi Roman,
I think this is a simple classpath problem. You have to make sure that the
ojb jar is on the classpath for the Xdoclet process.
Thomas
Hello All,
I am using XDoclet to create mappings and torque files. In my
classes I am
using OJB implementation of Map interface
DMapImpl for
Hi Joss,
Hi,
I know it sounds obvious but perhaps the Prevayler project
team may consider changing the license to ASF. It might be
worth asking the question at least.
Yes, I will contact them. It could even make sense to host prevayler as part
of db.apache.org.
Does the ASF license
Hi Michael,
The example I gave was for GPL. I know that things are different for LGPL.
But still there is a very strict policy at Apache, not to ship any LGPL or
GPL stuff.
They even rewrote certain libraries (Regexp
http://jakarta.apache.org/regexp/index.html id a well known example) only
Hi Rick,
please post further requests to the ojb user list, not to developers
directly.
To answer you question.
If you select a person object, OJB will load all Application objects that
belong to that person.
You have to selct from the Application class and must use criteria that
specify the
1. In your table you need a dedicated column of type INTEGER or
TIMESTAMP . Say the column is typed as INTEGER and named
VERSION_MAINTAINED_BY_OJB .
2. You then need a (possibly private) attribute in your java class
corresponding to the column. Say the attribute is defined as:
Hi Neil,
The module is distributed with OJB rc4. you'll find it in the lib directory.
the documentation ships with the conribution package:
http://db.apache.org/builds/ojb/1.0.rc4/db-ojb-1.0.rc4-contrib.tgz
There is an ant target repository-files in the build.xml file that
demonstrates the
Hi Lasse,
Poet has excellent material on ODMG in their community area:
http://community.fastobjects.com/community_documentation_oss61.htm
You have to sign in, but it's really worth it.
cheers,
Thomas
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
Hi all,
There's a survey at Websphere-world on persistence frameworks:
http://www.websphere-world.com/modules.php?name=SurveyspollID=23
They want to know which persistence layer you are using.
I'd be happy to see some more OJB votes !
cheers,
Thomas
-Original Message-
From: Partani, Sunil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 11:31 PM
To: [EMAIL PROTECTED]
Subject: RE: Good/Best Practices with OJB
Hi, I was curious if you have any examples on how to use
nested fields in repository.xml? I am trying
Hi again,
Thomas,
Is there any equivalent features in ODMG api?
No, In ODMG the tx.lock(obj) performs the check against the DB to assign the
correct state to the locked instance.
There is no way to modify this behaviour.
cheers,
Thomas
-Original Message-
From: [EMAIL PROTECTED]
Hi Ketan,
Thomas,
I was wondering if you'd been able to determine the right way
to proceed
with this.
I hope to fix the problem within the next 3 weeks.
If I understood correctly before, the JDO layer is broken
and has been for some time. But that can't be right, since
other
Hi Ben,
Dear List,
O.k. so maybe we can use the persitance broker for our
commercial project.
if there is no license issues. BUT could anyone comment on
the following
project requirements, and say how effective ojb is to do the task ?
1) Should be able to work with IBM DB2, SQLserver
http://cvs.apache.org/viewcvs/db-ojb/src/test/org/apache/ojb/OJB.properties.
diff?r1=1.47r2=1.55diff_format=h
-Original Message-
From: Julian Exenberger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 3:43 PM
To: OJB Users List; Armin Waibel
Subject: RE: Problem with RC4
Hi Akhil,
Because java.util.IdentityHashMap is used soem where...
I need to compile using JDK1.3 becuase our environement can
not migrate to
JDK1.4 for long time
any known ways/plans to work arround...
We are commited to ship OJB compatible for JDK 1.2, 1.3, 1.4.
So I'm sorry for this
Hi Akhil,
Hi all,
I just ran junit target for RC3 and found 8 test cases
failed.. rest all
passed.
also there was one error in test-db creation... is this normal...
We do not check against DB2 on a regular basis, so I assume it's normal that
some things go out of sync.
If certain DDL
Hi Antonio,
Hi:
The package jdo.jar already include a jdo.dtd. My question is:
The file jdo.dtd located into jdo.jar is the same as the one
provided with
OJB distribution?
Yes, it's the same file!
I am currently using the jdo.dtd provided with OJB, but if
this file is
the same,
Hi Antonio,
-Original Message-
From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 1:59 PM
To: [EMAIL PROTECTED]
Subject: Question about org.apache.ojb.jdori.sql
Hi:
In order to run the tutorial5 (JDO) we use the classes stored in:
Hi agaian Aaron,
Thomas,
Excellent response. I think I'll be spending some time mastering an
OODBMS sometime soon. I have a few additional questions of
clarification.
1) I have some ambient experience with ODMG and I've read an
article on
JDO :). Any sites/tutorials/articles you
Hi Chris,
If you want to use the EmptyCacheImpl you have to make sure that you do not
use cyclic data structures (e.g. A referencing B, B referencing A).
loading cyclic structures with the empty cache results in stackoverflows.
cheers,
Thomas
-Original Message-
From: Chris Halverson
Hi Christopher,
I worked through all of the gory details of getting
ojb wired into jboss. i know have a dynamic
persistence mechanism that writes data to any schema
on the fly. i don't think cmp supports that!
great job guys!!!
thanks for the compliments.
Can you share some more
Hi Thorsten,
Hi!
OJB and ODMG is new for me, but not OR-Mapping!
I have questions about fundamental principles
of the ODMG-concepts/the OJB-Implementation:
BINDING OF TRANSACTIONS AND THREADS
Can I use the ODMG-API within a J2EE-EJB-Container?
Yes. You can integrate it via JTA
Hi,
The JDO implementation is fully functional.
Please follow the steps mentioned in http://db.apache.org/ojb/tutorial4.html
cheers,
thomas
-Original Message-
From: Antonio Gallardo [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject: About
Hi Jason,
didn't you see my response from yesterday:
Hi again,
Jacob just contacted me. He said that according to popular demand he
wants to have a working version finished within a week.
cheers,
Thomas
Thomas Mahler wrote:
I have not heared any news from Jacob so far.
I'll
Hi,
-Original Message-
From: Ajitesh Das [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 11:12 AM
To: [EMAIL PROTECTED]
Subject: OJB 1.0 r3:Tutorial 1 : PersistentFieldClass and
PersistentFieldDefaultImpl bug/Issue
If I have understood correctly, this
Hi all,
there is an Article on OJB in the latest issue of the german JavaMagazin:
http://www.entwickler.com/itr/online_artikel/psecom,id,392,nodeid,11.html
The article is in german and there is also a short interview Sven had with
me earlier this year.
cheers,
Thomas
thanks Charles,
of course it must be OH-JAY-BEE !
YWIII
-Ursprüngliche Nachricht-
Von: Charles Anthony [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 2. Juli 2003 08:43
An: 'OJB Users List'
Betreff: RE: Pronunciation of JDO?
ITYM OH-JAY-BEE as OH-JEE-BEE = OGB
HTH
TTFN
Charles.
When i'm saying in my application broker.strore(General) OJB doesn't
makes any records in PARTICLE table.
Ahh! That's easy:
You have to change the collection-descriptor as follows:
collection-descriptor
name=particles
element-class-ref=Particle
orderby=particleId
sort=DESC
*
* [EMAIL PROTECTED] *
*===*
-Original Message-
From: Timofey Korolev [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 9:11 AM
To: OJB Users List
Subject: RE: 1:n mapping
On Mon, 2003-06-30 at 17:08, Mahler Thomas wrote
Hi,
RC4 is not yet released. But in CVS the version is already incremented to
RC4.
So RC4 is currently a synonym for CVS HEAD.
cheers,
thomas
-Original Message-
From: Brown, Melonie S. - Contractor [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 5:58 PM
To: '[EMAIL PROTECTED]'
Hi again Edson,
Congrats for getting your project fly!
And of course thanks for the warm words!
I'm looking forward to reading your tutorial ;-)
cheers,
Thomas
-Original Message-
From: Edson Carlos Ericksson Richter
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 6:14 PM
To:
Hi Julia,
I think it has to do with the extra quotes.
You should have a look at the generated SQL statements (either by enabling
log level DEBUG for SqlGenerator or by using the P6Spy tracer (as documented
in the FAQ))
another option would be to use oql parameter binding.
cheers,
Thomas
to generate OJB queries. We did not
modify the structure of the grammar itself.
cheers,
Thomas
Julia.
-Ursprüngliche Nachricht-
Von: Mahler Thomas [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 27. Juni 2003 15:18
An: 'OJB Users List'
Betreff: RE: OQL Query
Hi Julia,
I think it has
hi Joerg,
http://db.apache.org/ojb/repository.html#attribute for reference.
You can use this tag for user defined attrbites that you want to add to your
field-, reference, collection and class-decsriptors.
This allows you to keep special information within the DescriptorRepository.
For instance
Hi again Scott
I was looking at the DescriptorRepository class and I feel I
could easily patch it to walk the inheritance tree for
invisible mappings via inheritance. I will patch it if
this functionality desired.
Sure, just give it a try. We are happy to review the patch.
cheers,
working against CVS HEAD is prefered as it make the committers life easier
:-)
-Original Message-
From: Weaver, Scott [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 5:24 PM
To: 'OJB Users List'
Subject: RE: extents and mapping inheritence
Will this patch correctly into
Hi,
Are you sure proxy is working ???
There are tons of testcases proving that it works!
I'm working with OJB 1.0 rc3.
I've got all my simple collections. Not arrays, not
manageable collections only Vectors.
Everytime I turned on the proxy in my repository.xml, always
the same
Hi jeroen,
are you sure you properly close all broker instances after usage?
If you don't close broker instances after usage they are not made available
to the pool and thus a shortage of available db connections is likely to
happen!
cheers,
Thomas
-Original Message-
From: J Pielage
I agree!
http://db.apache.org/ojb/platforms.html gives some more deatils about the
OJB internal tables.
I changed the two LONGVARBINARY columns for OJB_DMAP_ENTRY already in cvs.
So there should be less problems with oracle + junit tests in the future.
cheers,
Thomas
-Original Message-
Hi Eric,
Is it appropriate to update a persisted object by creating an
new object
with same id as the persisted object and then persisting the
new object?
I don't think this is best practise. But there may be reasons to such
things...
At least from an OJB point of view I see no
-Original Message-
From: Dougall Squair [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:34 AM
To: 'OJB Users List'
Subject: OJB XDoclet module
Hi,
Will the sourece code for the XDoclet OJB module be included
within standard
XDoclet distribution?
hi again,
snip
... I was thinking along these lines myself. But I was afraid
that I would
also have to change my field-declarations to 'DList' instead
of 'List'. Glad
that I don't have to :-)
Still have to find a way make the proper factory-object
available in all
places where it
Hi Ilia,
The Interface you describe comes very close to the OJB Interface
PersistenceBroker:
http://db.apache.org/ojb/api/org/apache/ojb/broker/PersistenceBroker.html
As The Beer4all example is meant as a simple Struts + OJB tutorial there is
no need to introduce an additional service interface.
Hi Mete,
Set the loglevel for XmlRepositoryHandler to DEBUG in OJB.properties.
This will trace the complete parsing of the repository and will stop at the
problematic position.
A second option is to use an XML editory like XMLSpy and validate the
repository.xml against the DTD.
This will help
Just place the drivers jar file in the OJB lib directory.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 12:13 AM
To: OJB Users List
Subject: Re: Problem with junit testing on Oracle 8.1.7
It looks like the JVM that is executing
use UPGRADE to ugrade from an existing READ lock to a WRITE-lock.
there is no semantic difference between UPGRADE and WRITE locks.
-Original Message-
From: Henrik Berg [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 12:55 PM
To: [EMAIL PROTECTED]
Subject: ODMG locking
Hi,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 8:51 AM
To: OJB Users List
Subject: Problem of dynamic proxy?
Hi!
I declare a class-descriptor of A. Its proxy property is
set dynamic. I try to load it from DB by oql
Hi Shivaken,
There is no way to do this with QueryByCriteria queries.
You could use QueryBySQL to use use your own handcoded SQL.
an additional option would be to implement your own SqlGenerator
Implementation that use your special SQL code.
But this will be more work.
cheers,
thomas
1 - 100 of 156 matches
Mail list logo