No takers?
Sean Dockery wrote:
Consider the following classes that represent a many-to-many relationship:
public class Category {
private Collection products;
public Collection getProducts() {
return products;
}
public void setProducts(Collection newProducts) {
No takers?
Sean Dockery wrote:
Consider the following classes that represent a many-to-many relationship:
public class Category {
private Collection products;
public Collection getProducts() {
return products;
}
public void setProducts(Collection newProducts) {
No recommendations?
Sean Dockery wrote:
I have an application that uses the ODMG personality of OJB. I query
objects and collections using PersistenceBroker Criteria; the
PersistenceBroker is obtained from a Transaction object (via
TransactionExt). Objects are stored via a tx.lock plus a tx.m
Hi Jakob,
I just wanted to be sure that you now have all the files, namely
src files
o.a.o.b.query.Criteria.java
o.a.o.b.query.SelectionCriteria.java
o.a.o.b.query.BetweenCriteria.java
o.a.o.b.accesslayer.sql.SqlQueryStatement.java
o.a.o.b.accesslayer.sql.SqlSelectStatement.java
srcTest files
ojb
Postgres users:
Has anyone ever gotten the master/slave replication to actually work?
-Brian
On Apr 2, 2004, at 12:15 PM, Antonio Gallardo wrote:
Robert S. Sfeir dijo:
Leandro Rodrigo Saad Cruz wrote:
I am. no problems.
Ditto, no issues, use it for almost all my projects unless client can
p
Robert S. Sfeir dijo:
> Leandro Rodrigo Saad Cruz wrote:
>
>>I am. no problems.
>>
>>
>>
>
> Ditto, no issues, use it for almost all my projects unless client can
> pay for Oracle :-)
Yep. PostgreSQL is my prefered choice too, even if the client can pay for
Oracle or anything else. ;-)
Best Regar
Leandro Rodrigo Saad Cruz wrote:
I am. no problems.
Ditto, no issues, use it for almost all my projects unless client can
pay for Oracle :-)
R
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
On Fri, 2 Apr 2004, Brian McCallister wrote:
> > Both count(*) and 'as' are in the OQL grammar I downloaded from
> > ODMG.org
> > yesterday. The one is in 'aggregateExpr', the other in 'projection'.
> > If, as
> > you say, the selection list (projectionAttributes in the grammar) is
> > merely
>
On Apr 2, 2004, at 9:23 AM, [EMAIL PROTECTED] wrote:
Thank you all for your pointers. I am well aware of the difficulty of
writing good documentatioin when you are an expert in the field;
sometimes
ignorance is a blessing. I shall continue to report omissions or
ambiguities as I find them.
Much a
I am for about 3 projects.
-Clay
Martin I. Levi wrote:
Hello people!
Is there anybody using OJB on a PostgreSQL database?
Please let me know.
Greets,
Martin Ivan Levi
Universitat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
Thank you all for your pointers. I am well aware of the difficulty of
writing good documentatioin when you are an expert in the field; sometimes
ignorance is a blessing. I shall continue to report omissions or
ambiguities as I find them.
More documentation updates then
I think that the docs a
Hi,
we are using ojb with postgresql 7.4.x without any problems.
kr,
gerhard
--
openForce Information Technology GesmbH
www.openforce.com
Am Fre, den 02.04.2004 schrieb Martin I. Levi um 10:34:
> Hello people!
>
> Is there anybody using OJB on a PostgreSQL database?
>
> Please let me know.
>
Hi,
Caused by:
org.apache.ojb.broker.metadata.MetadataException: Can
not read repository class descriptor data, using
repository: repository.xml
Caused by:
org.apache.ojb.broker.metadata.MetadataException:
Exception when reading metadata information, please
check your repository.xml file
indicate
Well, sorry ;) !
Here is the root cause :
java.lang.ExceptionInInitializerError
at
org.apache.ojb.broker.util.BrokerHelper.crossCheckPBKey(BrokerHelper.java:123)
at
org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createPersistenceBroker(PersistenceBrokerFactoryDefa
I am. no problems.
On Fri, 2004-04-02 at 05:34, Martin I. Levi wrote:
> Hello people!
>
> Is there anybody using OJB on a PostgreSQL database?
>
> Please let me know.
>
>
> Greets,
>
>
> Martin Ivan Levi
>
> Universitat Politecnica de Catalunya
> Centre Tecnologic de Transferencia de Calor
Hi Frederic,
could you post the whole stack trace?
It's hard to say what's going wrong from your snip.
regards,
Armin
Frédéric wrote:
Hi everyone,
Switching from rc3 to rc6, i have the following
configuration problem :
java.lang.ExceptionInInitializeError at
org.apache.ojb.broker.util.BrokerHelpe
Ah, thank you for posting the mappings.
Will need to nudge Armin on this, I haven't used joins to map extents
before =(
-Brian
On Apr 2, 2004, at 5:41 AM, Keith Rogers wrote:
Could you clarify what you mean by that?
Here is the relevent part of the config file:
Any chance you could sum up what needs improvement in the docs? As
Thomas put it when I first got involved with OJB, once you get really
close to it, it can be hard to see it from a newcomers perspective =(
There is a *lot* to it. I am personally invested in trying to make it
easy for peopl
On Fri, 2 Apr 2004 [EMAIL PROTECTED] wrote:
> Is there any documentation on what xdoclet does? I have not seen any.
Yep, though not on the website (that will come with the 1.0). Its in the
xdocs folder of the OJB bin or source (rc6 or CVS version). You then
build the html with 'ant htmldoc' (int
Is there any documentation on what xdoclet does? I have not seen any.
|-+->
| | "Matthias Gottschlich"|
| | <[EMAIL PROTECTED]|
| | tionary.de> |
| |
So, apart from one glitch I think that the other points are matters of
clearer documentation.
It is not clear from the Getting Started doc just what one has to do and in
what order. There are also inconsistencies betwen the default
build.properties and *.profiles as towhich variables are required.
On Fri, 2 Apr 2004, Matthias Gottschlich wrote:
> an anonymous foreign key field has one special behaviour. There is no
> class member in the java class.
> Because this, i couldn't declare a ojb.field for this anonymous fk-field.
> The ojb.collection (or ojb.reference) can't point tho this class
Hi everyone,
With the rc3 version and ODMG API, it seems that there
are some transaction isolation problem. I have seen on
OJB apache website that the problem was known : "ODMG
implicit locking is partly implemented but does
currently not maintain transaction isolation properly.
To achieve safe tr
Hi everyone,
Switching from rc3 to rc6, i have the following
configuration problem :
java.lang.ExceptionInInitializeError at
org.apache.ojb.broker.util.BrokerHelper.crossCheckPBKey...
I have replaced the files repository.dtd and
ojb.properties with the new files...
Any help would be useful :)
an anonymous foreign key field has one special behaviour. There is no
class member in the java class.
Because this, i couldn't declare a ojb.field for this anonymous fk-field.
The ojb.collection (or ojb.reference) can't point tho this class member
as foreign key field -because it isn't there.
So
repository.xml wasn't copied in rc5, was a problem, has been fixed in
rc6. If you want to patch manually, change the ant copy in build.xml to
copy respositor*.xml instead of repository_*.xml =)
DB profiles are not copied on purpose, you need to copy the relevant
settings into build.propertie
Hi everyone,
it may interest you, especially those of you that are already using AXgen
for generation of OJB artefacts, that a new AXgen release (AXgen 2.1) is
available for download at http://axgen.sourceforge.net.
Changes in new version:
- enhanced OJB templates
- completely new documentation
On Fri, 2 Apr 2004, Matthias Gottschlich wrote:
> The next TO-DO for the ojb-team could be to enhance the xdoclet-module,
> so that it can handle anonymous foreign keys on the collection or on the
> reference side.
Please elaborate this in more detail ! What is your problem/wish here ? An
A status report on my problems.
I went back to square one and managed to get things to work. However, in
the process I found some glitches. Maybe they are finger trouble on my
part, maybe they are omissions in the code or the documentation.
1.The variable ${jcdAlias} is used in repository_d
The next TO-DO for the ojb-team could be to enhance the xdoclet-module,
so that it can handle anonymous foreign keys on the collection or on the
reference side.
regards
Matthias
Armin Waibel wrote:
[EMAIL PROTECTED] wrote:
As a side issue on documentation. I read this article on how to us
Yep, almost exclusively.
-Brian
On Apr 2, 2004, at 4:01 AM, Andreas Bohnert wrote:
yes, we do.
no problems so far...
regards
andreas
Martin I. Levi wrote:
Hello people!
Is there anybody using OJB on a PostgreSQL database?
Please let me know.
Greets,
Martin Ivan Levi
Universitat Politecnica
[EMAIL PROTECTED] wrote:
As a side issue on documentation. I read this article on how to use
anonymous keys and I was left totally at a loss on what the associated code
should loook like. Maybe a little example would be useful.
put it on my todo-list ;-)
Thanks!
regards,
Armin
|-+-
Could you clarify what you mean by that?
Here is the relevent part of the config file:
As a side issue on documentation. I read this article on how to use
anonymous keys and I was left totally at a loss on what the associated code
should loook like. Maybe a little example would be useful.
|-+>
| | "Armin Waibel" |
|
Hi Thierry,
I will add a note in the docs for m:n relations.
regards,
Armin
Thierry Hanot wrote:
Thks Armin I 'll try that .
But in the documentation on a M-To-N relation or 1-N relation.
When we are using auto-update = false ( aka link ) and auto-delete=false (
aka link ) .The referenced object
Hi Matthias,
for 1:1 relation OJB has a feature called 'anonymous key'
http://db.apache.org/ojb/howto-use-anonymous-keys.html
Thus you don't need to declare the FK in your class, only in metadata
and DB.
For single JVM 2-tier (no serialized persistent capable objects)
projects it is possible u
Hello people!
Is there anybody using OJB on a PostgreSQL database?
Please let me know.
Greets,
Martin Ivan Levi
Universitat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
-
To unsubscribe, e-mail:
yes, we do.
no problems so far...
regards
andreas
Martin I. Levi wrote:
Hello people!
Is there anybody using OJB on a PostgreSQL database?
Please let me know.
Greets,
Martin Ivan Levi
Universitat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
Hi there,
we are coming from j2ee-cmp and want to change to another o/r-mapping
tool (perhaps ojb).
In the Documentation i read, that i have to declare the foreign key as
an extra member of my class, if i want to use a reference to the other
class.
Is this necessary? I came from EJB-CMP/CMR. Th
Thks Armin I 'll try that .
But in the documentation on a M-To-N relation or 1-N relation.
When we are using auto-update = false ( aka link ) and auto-delete=false (
aka link ) .The referenced objects should not be updated nor inserted.
But instances could be delete. It seems to be a bit weird to
40 matches
Mail list logo