Hello Andy,
-Original Message-
From: Whitaker, Andy [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 9:48 PM
To: [EMAIL PROTECTED]
Subject: Newbie question on field access error
Hello,
I'm new to OJB and I'm maintaining an app that uses OJB 1.0.0
and I'm receiving
?
If your articles are mapped to the same table, that table should probably
have a column ojbConcreteClass. Look into repository_junit for exmples.
Olli
--
Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49 (0) 43 1-53 53-422
fax +49 (0) 43 1-53 53-2 22
email mailto
Hello,
-Original Message-
From: Kollivakkam R. Raghavan [mailto:[EMAIL PROTECTED]
I am getting the following exception with an optimistic locking which
does not happen with rc4. Did something change? We are about to use
OJB in production and I wanted to switch to the release
Hello,
I am currently porting our application from OJB 1.0.0rc4 to OJB 1.0.0
A new problem has been introduced since then in
MtoNCollectionPrefetcher.associateBatched,
as Jakob points out in this source's javadoc:
BRJ: There is a potential problem with the type of the pks used to build the
Hello Ludovic,
(I guess there are some accents missing on your name - sorry for that),
thank you for your quick answer.
-Original Message-
From: Ludovic Maitre (POP - Factory Part)
I have found a way to workaround the problem without modifying the code.
However, that workaround does
Hello,
-Original Message-
From: Thomas Mahler [mailto:[EMAIL PROTECTED]
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
: org.apache.ojb.broker.accesslayer.ListProxy
This is a good error message, isn't it?
The proxy is of type ListProxy, which implements the List interface
but is not assignable to a field of type Vector.
HTH,
Olli
--
Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49
--
Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49 (0) 43 1-53 53-422
fax +49 (0) 43 1-53 53-2 22
email mailto:[EMAIL PROTECTED]
web www.ppi.de
Explore your printnet!
DRUPA 2004
Düsseldorf, Germany, 6 - 19 May 2004, Booth 6E62
Hello,
-Original Message-
com.sybase.jdbc2.jdbc.SybSQLException: Incorrect syntax near
the keyword
'temporary'.
at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2429)
do you use temporary as a column / field name? That
might cause the problem. In order to find out,
Hello Andrew,
I use OJB with Sybase ASE 11.5.
-Original Message-
com.sybase.jdbc2.jdbc.SybSQLException: Incorrect syntax near
the keyword
'temporary'.
at com.sybase.jdbc2.tds.Tds.processEed(Tds.java:2429)
do you use temporary as a column / field name? That
might cause the
--
Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49 (0) 43 1-53 53-422
fax +49 (0) 43 1-53 53-2 22
email mailto:[EMAIL PROTECTED]
web www.ppi.de
Explore your printnet!
DRUPA 2004
Düsseldorf, Germany, 6 - 19 May 2004, Booth 6E62
Hallo Sephan,
What I want was a bidirectional 1:1 relationship but this one is only
unidirectional. I can get the BusinessPartner from the
Customer but not the otherway round.
Also the FK_CUST column in the DB is NULL but I'm not sure if I need
such a column, because in my opinion the key
post also your pc classes
source code.
Olli
--
Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49 (0) 43 1-53 53-422
fax +49 (0) 43 1-53 53-2 22
email mailto:[EMAIL PROTECTED]
web www.ppi.de
Explore your printnet!
DRUPA 2004
Düsseldorf, Germany, 6 - 19
Hej Stephan
-Original Message-
reference-descriptor
[...]
foreignkey
field-ref=fk_cust
here, field-ref should not be xml-content
but an attribute in the opening tag.
/foreignkey
/reference-descriptor
HTH,
Olli
Hello,
-Original Message-
In version 0.9.5 it was possible to use wildcards in where-criteria.
Example :
criteria.addEqualTo(productGroup.groupName,pro*gro?p 1);
This seems not to work anymore in 1.0rc4 ?
Have you tried criteria.addLike()?
Is it a bug ?
I do not think so.
Hello,
I do not know about your model,
but I suppose Aricle has a reference field
productGroup of type ProduktGroup and an Integer
(or String) field of type productGroupId, which is
mapped to a foreign key column.
Let me ask a question: Why is there a setter for
the latter field? Why is that
Hello,
-Original Message-
From: Glauber Andrade [mailto:[EMAIL PROTECTED]
reference-descriptor
name=prestador
class-ref=com..data.Prestador
foreignkey field-ref=id_prestador/
/reference-descriptor
Is the package name correct in your
Hello Andrade,
-Original Message-
From: Glauber Andrade [mailto:[EMAIL PROTECTED]
I am using OJB and Mysql (4.0.16) (with
mysql-connector-java-3.0.9-stable)
in an swing application and the system is too slow. A simple
query whith
2000 registers takes more than 15s to go.
How
Hello Gong,
please start a new thread when you ask a new question.
-Original Message-
class myList and myEntry has a 1:n relationship
each myList has a collection of myEntry(s)
[..]
collection-descriptor
name=entries
collection-class=
Hello,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Just remove the attribute collection-class from the
class-descriptor and try again.
^
oops, I meant the collection-descriptor.
Olli
Hello,
-Original Message-
thanks - I think that was the solution. But I don't think that it was
intended by the developers of OJB that
OJB deletes instances by default, or was it?
no it was not, so OJB did not do it. Then a lot of users
complained, so we changed it. That was
Hello,
-Original Message-
I've got an object which contains a collection. When I change
the object collection OJB wants to delete the related object
in the database.
this is one of the most frequently asked questions.
See any of the threads that contain 'RemovalAwareCollection'.
(or additionally), one could introduce
a method
PersistenceBroker.isDeleted(Object obj)
and implement that method using
markedForDelete.contains(obj)
Olli
--
Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49 (0) 43 1-53 53-422
fax +49 (0) 43 1-53 53-2 22
email
Hello,
-Original Message-
this is the exception stack trace :
java.lang.ClassCastException:
edu.broglie.ws.dto.AppFlulog
at
edu.broglie.ws.dto.AppAppcli.equals(AppAppcli.java:65)
your implementation of equals() does not fulfil the
contract specified in the javadoc of that
Hello Thomas,
-Original Message-
From: Mahler Thomas [mailto:[EMAIL PROTECTED]
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
Hello Robert,
-Original Message-
From: Robert S. Sfeir [mailto:[EMAIL PROTECTED]
The problem is that checkForPrimaryKeys() throws
ClassNotPersistenceCapableException, but it's not handled in the code
above either by throw or by catch.
Am I missing some kind of setup? The imports
Hello Robert,
-Original Message-
From: Robert S. Sfeir [mailto:[EMAIL PROTECTED]
I was wondering what the process is to contribute fixes.
We appreciate any reasonable contribution.
The official guideline is http://db.apache.org/roles.html.
If you bundle changes and post them on the
Hello,
-Original Message-
From: Ken Brewer [mailto:[EMAIL PROTECTED]
class-descriptor class=com.microremedies.pm.persist.AccountImpl
table=ACCOUNT proxy=dynamic
field-descriptor name=uid column=uid jdbc-type=BIGINT
primarykey=true autoincrement=true/
Hello Ken,
-Original Message-
I was able to make it work by pointing the collection-descriptor and
reference-descriptor to AccountImpl instead of Account like
below.
fine.
[..]
Of course I have to cast to Account though.
I do not understand that. Where do you do that cast?
It
Hej Andrew,
-Original Message-
From: Andrew Geery [mailto:[EMAIL PROTECTED]
If the reference exists, everything works perfectly: I can
dereference
like this
person.getLegalName().getFirstName()
[..]
My questions are:
1) Should this method be changed to return a default value
Hello Peter,
-Original Message-
From: Peter Klassen [mailto:[EMAIL PROTECTED]
Hi, i'm in trouble with a painful occurence ;0)
try to create a rowset with the OJBPersistenceBroker. There
is char-field
named 'languageID', which is a foreign-key. OJB returns with
the following
Hello Andre,
-Original Message-
From: A Leg [mailto:[EMAIL PROTECTED]
org.apache.ojb.odmg.locking.InMemoryLockMapImpl is
illegal for key LockMapClass (should be a class, using
It seems that OJB does not find that class. Maybe you
are using an old or corrupted version of OJB?
Hello Daniel,
-Original Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
So my solution would seem to be proxies. The tutorial on
dynamic proxies isn't too clear. It says:
To use dynamic proxies the persistent class in question (in
our case the Article class) must
Hello Daniel,
-Original Message-
A quick question regarding inherritance (assuming I[beanname]
are interfaces
to bean properties):
Job extends BaseBO.
BaseBO implements IBaseBO.
IJob only interfaces the extra methods in Job over BaseBO.
OJB doesnt know about the inherritance
Hello,
-Original Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
One more question:
In the class employee i have
private Job job;
If i proxy this Job reference, should it become:
private IJob job; // where IJob is an interface to Job class.
yes.
So, if i understand
Hello,
-Original Message-
From: A Leg [mailto:[EMAIL PROTECTED]
[..]
[BOOT] ERROR: Cannot get OJB properties file, use default settings!
you should start by fixing that one.
Make sure that the directory that contains your file
OJB.properties (to be found in
Hello Daniel,
-Original Message-
From: Daniel R. Ambrosio [mailto:[EMAIL PROTECTED]
What would be the smarter way to do a count on an entity based on a
criteria?
I believe that getting the Collection (using
getCollectionByQuery()) and
then size() is not the best way to that
Hello Arbona,
-Original Message-
From: Arbona Vincent [mailto:[EMAIL PROTECTED]
I want to know how to use optimistic lock with the PB API.
I know that I have to put a Lock Field as integer or
timestamp, but how OJB manage it?
When a record is considered as locked and when
Hello Florin,
thank you very much for your investigations.
Your information may be very helpful to improve OJB,
and we probabably would not have made such detailed
comparison ourselves.
-Original Message-
From: Florin Pop [mailto:[EMAIL PROTECTED]
[..]
1. If I set the attribute
Hello Andy,
I will have a look at it when I have time.
Please post messages like this to the OJB
users' or developers' list.
Thank you,
Olli
-Original Message-
From: Andy Malakov [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 9:57 PM
To: [EMAIL PROTECTED]
Subject:
Hello,
-Original Message-
From: Florin Pop [mailto:[EMAIL PROTECTED]
I tried:
Criteria crit = new Criteria();
crit.addEqualTo(id, new Long(PERSON_ID));
Query query = new QueryByCriteria(Person.class, crit);
Person person = (Person)
Hello Florin,
-Original Message-
From: Florin Pop [mailto:[EMAIL PROTECTED]
I have tried your suggested approach but curiously the same result.
[..]
I would expect OJB to generate roughly the same
SQL statement. Provided that the execution of the SQL
dominates (which is
Hello,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I am uncertain whether we should fix it because it does
mean a (very minor) change of behaviour. I tend to 'yes'.
I have just committed a fix.
Olli
Hello,
-Original Message-
From: Andy Malakov [mailto:[EMAIL PROTECTED]
Problem: Right after insert, PersistenceBrokerImpl calls
storeCollections () method that performs redundant DELETE FROM...
operation.
The problem has been mentioned by myself in the developer list
together wit
Hello,
-Original Message-
From: Reitsam Andreas [mailto:[EMAIL PROTECTED]
2003-10-28 11:10:45,307 ERROR [STDERR]
org.apache.ojb.broker.OJBRuntimeException: Incorrect field reference
salesPersonId in
[EMAIL PROTECTED]
delete=false,cascade retrieve=true,cascade store=true,is
Hello,
-Original Message-
From: Christophe.Demarey [mailto:[EMAIL PROTECTED]
I correct my repository definition (remove the table attribut from
PersonBaseImpl descriptor) but I still get an exception.
Any idea about it ?
Hello Goncalo,
-Original Message-
From: Goncalo Luiz [mailto:[EMAIL PROTECTED]
I set all debug levels to FATAL but I still getting info
messages. The
logger I'm using is
org.apache.ojb.broker.util.logging.PoorMansLoggerImpl
My application is text-based and I, obviously, don't
Hej Daniel,
-Original Message-
From: Daniel Perry [mailto:[EMAIL PROTECTED]
I'm having trouble mapping a 1:m relationship. (files show below)
I get a:
java.lang.NoClassDefFoundError
at
org.apache.ojb.broker.PersistenceBrokerFactory.getConfigurator(Unknown
Source)
at
Hello,
-Original Message-
From: Boyes, Carl [mailto:[EMAIL PROTECTED]
I've currently
mapped it as a 1:1, but the when the foreign key reference is
null an extra sql statement with a where condition of
fkey = ''
is generated.
this question has been asked fairly often
(for
Hello,
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
No '' should be done.
Sample :
INSERT INTO A (Apk, Bfk) VALUES ('100','');
It should be :
INSERT INTO A (Apk) VALUES ('100');
This problem is addressed by another thread in this list
(also started
Hello Troy,
-Original Message-
From: Taillefer, Troy (EXP) [mailto:[EMAIL PROTECTED]
I have question about build.sh junit, I know it uses Ant and
reads build.xml makefile is there anyway I could pass
command line arguments -Xmx128m -Xss128m to the java command
Hej Brian,
-Original Message-
From: Brian McCallister [mailto:[EMAIL PROTECTED]
I have mixed and matched the value, but it hasn't mattered. I had
thought it might care so I tried various combinations. It in
this vase
being a nebulous entity who thwarts my plans, as to my
Hello Brian,
-Original Message-
From: Brian McCallister [mailto:[EMAIL PROTECTED]
Which concrete class is instantiated
for the list field?
Default - I don't specify anything so should be a Vector.
I bet this is the problem. You'd probably better
use one of the managed
that there is
consensus that version 1.0.0 is a canonical or
even self-evident point to create such a branch.
I propose to create that branch (or extra modul) asap
and then develop versions 1.0.x there.
I offer to help maintain that branch or module.
Olli
--
Oliver Matz
ppi Media GmbH
Deliusstraße
Hello Jan,
since the NPE is due to missing fields in the metadata,
I assume that a workaround is to add field-descriptors.
see below.
-Original Message-
From: Jan Berkel [mailto:[EMAIL PROTECTED]
class-descriptor
class=cabane.templates.Template
table=TEMPLATES
Please
Hej Jan,
-Original Message-
From: Jan Berkel [mailto:[EMAIL PROTECTED]
since the NPE is due to missing fields in the metadata,
I assume that a workaround is to add field-descriptors.
I added field-descriptors to the class descriptor of the Interface
(Template) and it worked
Hello,
I have a siutation where the two folloing snippets
lead to non.equivalent queries:
crit1.addOrCriteria(crit2);
Query qry12 = new QueryByCriteria(BookArticle.class, crit1);
vs
crit2.addOrCriteria(crit1);
Query qry21 = new QueryByCriteria(BookArticle.class, crit2);
In our
Hello Necro,
-Original Message-
From: Necro [mailto:[EMAIL PROTECTED]
i have some problems with proxies. I got a 1:N relationship
between two classes.
which OJB version do you use?
Olli
-
To unsubscribe, e-mail:
Hello Cristof,
-Original Message-
i have some problems with proxies. I got a 1:N relationship
between two classes.
which OJB version do you use?
As far as i can remember it should be cvs just before the
prevayler checkins.
cf. developer list thread
superflous, long
Hello Lasse,
-Original Message-
class-descriptor class=User table=PRODUCTION.USER
.
/class-descriptor
class-descriptor class=User table=PRODUCTION.ORDER
I suppose you mean 'Order' here?
.
/class-descriptor
and
Hej Thomas,
-Original Message-
during the weekend I wrote a new PB implementation that is based on
prevayler (http://sourceforge.net/projects/prevayler/).
don't you have any hobbies? :-)
- A query engine must be implemented. This is the largest
todo. We need a
query engine,
Hello,
-Original Message-
From: Roland Carlsson [mailto:[EMAIL PROTECTED]
the broker have tre methods to handles transactions..
beginTransaction();
broker.commitTransaction();
broker.abortTransaction();
how can I use several (concurrent) transactions using the PB-API.
With
Hello Chris,
-Original Message-
From: Christopher C Worley [mailto:[EMAIL PROTECTED]
Still having problems with this. I have a question about defining
extents. In the below explination would C be the only class I would
have to define the extent classes for or would it be in A?
Hello,
-Original Message-
From: Chris Widhelm [mailto:[EMAIL PROTECTED]
It just seems odd that by removing an item from a collection that it
performs a delete on the object that is in the collection.
This is the behaviour of
Hello Thomas,
-Original Message-
From: Thomas Mahler [mailto:[EMAIL PROTECTED]
Suppose you have three class A, B, C. Suppose
that both A and B have a collection of C. Suppose
furthermore that every C instance is in exactly
one of these collections.
When I map this to a
Hello,
I have a question concerning advanced O/R-mapping.
Suppose you have three class A, B, C. Suppose
that both A and B have a collection of C. Suppose
furthermore that every C instance is in exactly
one of these collections.
When I map this to a relational database, I might want
to have
Hello Lasse,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I have two entries in my db-table, the BEN_IDs are LAMBREC and
AAA
but with the query below I still get both, no matter what I enter
as benId
in the query. What am I doing wrong?
Have you tried
Hello,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I have just encountered a situation that I THINK is a bug in
the Identity
object. The equals method compares the topLevelClass, and I
think it should
be comparing the realClass.
I think others have
Hello,
-Original Message-
From: Thomas Cornet [mailto:[EMAIL PROTECTED]
Here is one I've made, quite a basic one, which just adds 'equal'
criterias.
this seems to be a very useful thing.
Why don't we add it to the OJB code base?
Olli
Hello,
-Original Message-
From: Phil Warrick [mailto:[EMAIL PROTECTED]
Here is my model:
[A] 1--n [B] 1--n [C] 1--1 [D]
| |
C1 C2
I want to query for A objects using a C1 timestamp field as
criteria (C1
is a subclass of C and
Hello Jakob,
-Original Message-
From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]
please see my post in dev-list '[vote] reference to a parent
attribute
in subquery'
this allows you to reference attributes of the enclosing
query. please
be aware that this is a _temporary_
Hello Ron,
-Original Message-
From: Ron Gallagher [mailto:[EMAIL PROTECTED]
I have a similar requirement that I'm satisfying via
QueryCustomizers. The problem is that my customizer isn't
being applied when the P collection is loaded. I submitted
some updates to the developer
Hello,
on 04.08. I have asked a question and have not got any
answer. It is important to me, so I will try to reformulate.
Any help will be appreciated, for example a piece of
code or an explanation how to use the method
Criteria.addIn(String attributeName, Query subQuery)
for something that
()
(independently from INSERT or UPDATE), which in turn does
calls deleteMtoNImplementor().
I am using OJB 1.0.0 rc4.
I you agree that it is desirable, I would like to add a configuration
option to surpress this behaviour.
Olli
--
Dr. Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone
Hello Lyl,
-Original Message-
From: lyl [mailto:[EMAIL PROTECTED]
Can anyone tell me how to disable select by insert.
What do you mean? Do you mean that there is
a select statement preceding any insert statement?
Do you use the PersistenceBroker API? If so,
you might be happy with
Hello,
apart from my previous posting concerning nested queries
with subqueries over extents, I have some more questions
about nested queries.
In the method
Criteria.addIn(String attributeName, Query subQuery)
is the specified attribute allowed to be a collection
attribute? (The method is not
Hello Norival,
-Original Message-
From: Norival Neri Junior [mailto:[EMAIL PROTECTED]
there was a thread about this issue 5 weeks ago.
(search for 'protocol' in the subject).
Try the workarounds mentioned there.
Olli
*/
package org.apache.ojb.broker;
import junit.framework.TestCase;
import org.apache.ojb.broker.query.Criteria;
import org.apache.ojb.broker.query.Query;
import org.apache.ojb.broker.query.QueryFactory;
import java.util.Collection;
/**
* @author a href=mailto:[EMAIL PROTECTED]Oliver Matz
Hello,
in our application there are (collection) fields
for which we sometimes want to use proxies and sometimes
not.
It is possible that different PersistenceBrokers
simulaneously access different instances of that field
in different threads, one should use a proxy and the
other should not.
Hello Thomas,
-Original Message-
From: Thomas Mahler [mailto:[EMAIL PROTECTED]
You could use OJB without a repository.xml, but not without the
OJB.properties!
I would like to discuss that possibility in another thread.
See subject: dynamically switch RepositoryDescriptor
Hello Armin,
thank you for your amazingly quick answer.
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
in our application there are (collection) fields
for which we sometimes want to use proxies and sometimes
not.
I have noticed the
query.
It would be nice to have something like
queryByCrit.addPrefetchedCollections(ps.qs)
to advice the SQLGenerator to do that trick for
the innner collections, too.
Can something like that be implemented?
Olli
--
Dr. Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
Hello,
my comments below.
-Original Message-
From: Michael Wiessler [mailto:[EMAIL PROTECTED]
I've implemented a delte() and several load()-Methods similar to this
save()-Method.
All methods are static.
What do you thik about this implementation ?
I wonder why you want to have
Hello,
-Original Message-
From: Lopez Vellon, Ignacio [mailto:[EMAIL PROTECTED]
I am starting to use OJB and until now everything is fine ,
but there is a little problen,
i can not see the SQL code generated by OJB.
try p6spy. See http://db.apache.org/ojb/faq.html.
HTH,
Ave Cesar,
-Original Message-
From: Cesar [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 12:24 PM
How could I make to incapacitate cache of ojb?
Set the following property in OJB.properties:
ObjectCacheClass=org.apache.ojb.broker.cache.ObjectCacheEmptyImpl
If I want
Hej Cesar,
-Original Message-
From: Cesar [mailto:[EMAIL PROTECTED]
If I have two tables Person and Categories where the
table Person I
don´t want use the cache of ojb and Categories I want use
the cache...so
Set the following property in OJB.properties
Hello,
-Original Message-
From: Joerg Lensing [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 10:12 AM
To: OJB Users List
Subject: mapping
hello,
i have to map several fields which can have a limited number
of values.
e.g. day of week = mon,tue, wed. Because of
Hello,
-Original Message-
From: Joerg Lensing [mailto:[EMAIL PROTECTED]
We use the type-safe enum pattern in our application,
Then we implement a class
DayOfWeekToIntConversion implements
org.apache.ojb.broker.accesslayer.conversions.FieldConversion
i thought about this
Hello Christophe,
-Original Message-
From: Christophe Marcourt [mailto:[EMAIL PROTECTED]
I've got all my simple collections. Not arrays, not
manageable collections only Vectors.
java.util.Vector is evil.
[org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDef
aultImpl]
Hello Peng Tuck,
-Original Message-
From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tools/ant/
Main
please do
echo %CP%
on the command line after you have run bin\build.bat,
an post the output.
Then do
dir
change of
behaviour?
In the latter case, does the combination of an indirection-table
with auto-update=false make sense at all?
BTW, I have not been able to reproduce the problem with the bi-directional
m-n-relation Project - Person.
Regards,
Olli
--
Oliver Matz
ppi Media GmbH
Hej Shane,
-Original Message-
From: Shane Mingins [mailto:[EMAIL PROTECTED]
I am using the ODMG API.
[..]
It would be nice to be able to add and remove the objects from the
collection, persist the object holding the collection (the '1' in the
1-n)and have the state of each object
Hello,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I have an object A that have a collection reference to a list
of objects B.
Is anyone that could help me to understand how can I update
the collection reference of the object A?
It should be updated
Hello,
I have found the batch-mode attribute in the jdbc-connection-descriptor.
Unfortunately, it does not switch off batches completely. In class
org.apache.ojb.odmg.ObjectEnvelopeTable, line 177 ff there is:
// 0. turn on the batch mode
connMan.setBatchMode(true); //
Hello,
-Original Message-
had a similar problem and it is solved (see Armin Waibels
suggestion below):
...
Then it should be possible to disable batch-mode
with batch-mode=false
thank you for your answer, but I already have the
latest version. It does not solve the problem
Hello,
I am using almost fresh OJB head and the ODMG API.
I am still concerned how Proxies can be used in case
null references are allowed and frequent. In our object model,
there are proxied references which are often null.
This causes the following (ugly) warning message when the object is
Hello,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I am still concerned how Proxies can be used in case
null references are allowed and frequent. In our object model,
there are proxied references which are often null.
I just posted a bug report and a
--
Oliver Matz
ppi Media GmbH
Deliusstraße 10
D-24114 Kiel
phone +49 (0) 43 1-53 53-422
fax +49 (0) 43 1-53 53-2 22
email mailto:[EMAIL PROTECTED]
web www.ppi.de
-
To unsubscribe, e-mail: [EMAIL
Hello again,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
The class has a lot of attributes. Maybe there is a size
limitation in sybase.
We have found more information: this is
sybase known issue #202534, see
Hello,
I am using OJB with Sybase 11.5 ASE, JConnect 5.5.
I have a problem that might be specific to sybase, but
maybe someone can help me.
I have an application that writes some objects into the database.
When I write 30 objects, it works, but when I write 35, it fails
with the appended
1 - 100 of 106 matches
Mail list logo