Person class-descriptor.
In the result set array the 'count(id)' column is returned as Integer
and NOT as String (using hsql and mysql). Could you give me a hint how
to reproduce your issue?
regards,
Armin
JohnE
Armin Waibel wrote:
johne wrote:
In first testing th
johne wrote:
In first testing the 1.0.5 RC, I get the error below. This worked as is in
1.0.4. Something different with the count use in the RC?
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to
java.lang.Long which comes from this line as shown in more detail below:
Hi JohnE,
johne wrote:
We may actually have to go with the 1.0.5 release in production
because of our desire to use one of the newer features. The last RC
came out 29JAN2008 with the last code changes in subversion on
30JAN2008, so the RC1 does not contain some fixes.
Is there anything
you c
Hi Jenish,
Jenish wrote:
Hello All,
We have a project which uses OJB to talk with DB. It was working fine with
jconnect driver. Now we have changed our design and now we are trying
iAnywhere driver instead of jConnect2.
Now we are facing the problem that after some time of deployment we are
ge
Hi Cleverson,
Schmidt wrote:
Hi,
Considerer the following hierarchy:
Person <- Employee <- Boss
Each class is maped to a distinct table (Mapping Classes on Multiple Joined
Tables)
In this case, if I create an employee, two records are persisted in the DB
(1 person and 1 employee). What if thi
documentation).
regards,
Armin
We might think of 1.5 , depending upon what you say.
Thanks and Regards,
Somendra Paul.
- Original Message
From: Armin Waibel <[EMAIL PROTECTED]>
To: OJB Users List
Sent: Sunday, September 21, 2008 9:05:06 PM
Subject: Re: Handling
Hi Paul,
Somendra Paul wrote:
Hi All, I am using OJB1.4 against Oracle10g with classes12.jar. We
are trying to export data from the DB, using SQL query which returns
60 records , what we found out that is when we do iterator =
query.getIteratorByQuery(),and iterate over the results, we find
Hi John,
the LOB-support of OJB 1.0.4 is very rudimentary (AFAIK OJB always
expects that LOB's are byte[] or String fields on java object level).
The upcoming OJB 1.0.5 have more experienced LOB-support (don't remind
me that I announced the release long ago ;-)).
I recommend to give OJB 1.0.
Hi Frank,
Hiller, Frank RD-PT31 wrote:
I'm using PB version 1.0.3. Database user and password are in
repository_database.xml. How can one hide usr + pwd? I'd prefer to
have placeholders there and set both in source code.
http://db.apache.org/ojb/docu/faq.html#userPasswordNeeded
If you like t
Hi Jason,
Jason wrote:
I have been away from the OJB community for a few years. Based on the
state of the website and the SVN repository, it looks like this
project has stalled... the last commits were months ago and the last
release was in 2005. Is OJB dead, or is active work being done
somewhe
hat proxies are only used when retrieving a collection
through a relation (1:n or m:n, e.g. ShoppingCart.getArticles() - see
below)...
If you declare proxy="true" on collection-/reference-descriptor level
(1:1, 1:n or m:n relation) then yes you are right.
regards,
Armin
Regard
Hi Hans,
Hans Novak wrote:
Hi,
my prg works fine with ojb.
But now i have to open 2 different Databases (on the same host), because
i want to import/export something.
How can i do that ?
I have only one "build.properties" file !?
OJB can handle different DB at the same time:
http://db.apach
Hi Hans,
Hans Novak wrote:
Hi,
how can i update the Database, if i change my Java-sourcecode and with
that the database structure, without loosing any data.
Until now i use the mysql command to import the SQL-Ascii File, created
from OJB with ant.
But this deletes first all tables.
The upc
Hi Vasily,
could you please open an issue on OJB-JIRA
http://issues.apache.org/jira/browse/OJB
and add a detailed description about how to reproduce the issue (then
I'm able to write a test case).
regards,
Armin
Vasily Ivanov wrote:
Hello,
I'm using Oracle 10.2.0.4.0 thin Jdbc driver, Oracl
Hi Abid,
Abid Hussain wrote:
Hi again,
I think this issue has to something with the materialization of objects
(when using proxies). But I thought that proxies are only used, when
retrieving a corresponding collection of an object (in 1:n and m:n
relations, e.g. ShoppingCart.getArticles()...
Hi,
johne wrote:
Hey all,
Been a while since I had need to post. I am looking forward to the new
release as I am still on 1.0.3. Thank you for all of the hard work Armin.
Using 1.0.3, I am getting an unexpected result with one query using the PB.
I am using this query:
QueryByCrite
Hi Abid,
Abid Hussain wrote:
Hi everybody,
I've a table with quite a lot of columns. When using
broker.update(object) all columns are updated. Is there a way to only
update the columns which actually changed? I'm looking for something
like UPDATE MyTable SET MyTableColumn = WHERE ID=xxx.
1.0.5RC
during the next week.
regards,
Armin
Best regards,
Mario Curcija
Armin Waibel <[EMAIL PROTECTED]> schrieb am 21.03.2008 03:42:13:
Hi Mario,
Mario Curcija wrote:
Hi ojb-users,
yesterday, I ran into a problem during testing against 1.0.5rc1.
Many thanks for testing RC1!
Hi Andre,
Andre_LAU wrote:
Hello,
I'm trying to generate the O/R Mapping information for my project using the
XDoclet module. There is some syntax errors that I can't understand.
Follow my project and the log generated:
http://www.nabble.com/file/p16311031/java.rar java.rar
http://www.nabble.
Hi Mario,
Mario Curcija wrote:
Hi ojb-users,
yesterday, I ran into a problem during testing against 1.0.5rc1.
Many thanks for testing RC1!
The
following two tests:
- testTransactionFlush() and
- testTransactionFlush_2()
(both coming from org.apache.ojb.odmg.ODMGRollbackTest) are faili
Armin Waibel wrote:
I don't find information to configure it with OJB. Can
anybody help me ?
If you use OJB 1.0.5rc1 change the object-cache element within your
jdbc-connection-descriptor to
one global cache region:
a cache region for each class:
For version 1.0.4 specifiy the
Hi Cedric,
Cédric Talon wrote:
Hi, I am new on this mailing list and so it is my first message.
welcome to this list!
I am working on a project which is using OJB in a distributed
environment. The distributed issue is my problem ! I have read there
are important points to respect in this c
Hi Sascha,
Sascha Broich wrote:
Hi Armin
yep, this is the intended behavior. This method (beside user specific
ManageableCollection implementations) only allow base collection
classes
(List, Set,...).
The mentioned line is similar to:
Set.class.equals(fieldClass)
Okay, if this is intended.
Hi Sascha,
Sascha Broich wrote:
Hi Armin,
The method CollectionTypes#getCollectionClass is correctly
implemented.
First this method checks for user specific collection class
implementations (implementations of ManageableCollection), then this
method try to resolve the collection class implem
Hi Sascha,
thank you very much for testing the RC1!
Sascha Broich wrote:
Hello,
I found a bug in
org.apache.ojb.broker.core.CollectionTypes#getCollectionClass(Collection
Descriptor).
The "isAssignableFrom" check has to be inverted.
For instance:
HashSet.class.isAssignableFrom(Set.class) yiel
Hi Roger,
Janssen, Roger wrote:
Hi,
Just a general question about sql statement execution.
Is it possible to force OJB not to execute a prepared statement, but to
execute the sql as a regular sql statement?
Sorry no! The use of prepared statements is deeply rooted in the OJB core.
The
with that..
If we make it configurable you can choice which behavior of OJB you
prefer (1. doesn't work with all DB, or 2. works for all DB but return
unexpected duplicates).
regards,
Armin
Roger Janssen
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent:
t no luck.
ok I will try to setup some tests too.
regards,
Armin
Greetings,
Roger Janssen
iBanx
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 27, 2008 2:51 PM
To: OJB Users List
Subject: Re: BUGREPORT : OJB 1.0.5rc1 : UserAliases in OrderBy
Hi Thomas,
Geike, Thomas wrote:
Hi all,
I am having trouble to generate case insensitive LIKE sql clauses with
ojb.
The SQL I want to produce in the end should look something like this:
SELECT * FROM WHERE UPPER() LIKE UPPER();
Does anyone know a solution to this problem?
Any help
ass,
c1, true);
q.setAttributes(new String[]{"id", "title","reviews.id"});
q.addOrderByDescending("alias_2.reviews.id");
If I prefix the path expression with the user alias it seems to work
("alias_2.reviews.id" instead of "alias_2.id"). Did you tried this t
onn)
{
String isolation = jcd.getAttribute("isolation", null);
...
}
}
All shown solutions will work with latest OJB source
http://www.mail-archive.com/ojb-user%40db.apache.org/msg16078.html
I don't check the older versions.
regards,
Armin
Thanks in advance, CL
-Original
Hi Johan,
Johan Andersson wrote:
Greetings!
Say I have a class MyClass it looks like this:
public class MyClass {
private int id;
private String name; private List myIntegers = new
ArrayList;
/* getters and setters omitted ... */
}
What options do I have if I want to persist
lex to fix).
regards,
Armin
Armin Waibel wrote:
Hi Roger,
now I get your point (I'm a bit slow on the uptake ;-)). I start writing
many new "order by" tests to isolate the problem and to make sure that
changes don't have unrequested side-effects.
> itself was not stable
Armin Waibel wrote:
In the 1:n associations I set auto-retrieve="false"
and proxy="dynamic". As my classes do not implement interfaces, I'm using
CGLib as ProxyFactoryClass.
Now I get your point. You are using dynamic proxies for the referenced
objects (and ma
he application configures the classname field
using the proxy class name.
I assume there should be something wrong with my mapping files or some
other point in my application. As said earlier, I believe proxies should
be transparent. Did someone here experience the same problems?
Thank you again!
e there should be something wrong with my mapping files or some other
point in my application. As said earlier, I believe proxies should be
transparent. Did someone here experience the same problems?
Hm, I will have a look at this tomorrow (will try to reproduce your issue).
regards,
Armin
Than
Hi,
Schmidt wrote:
Hi,
Consider that an object A has an association with an object B. Also that
dynamic proxies are in use so that when object A is loaded, a proxy to B is
created and the object B itself is not materialized. Sometimes, before
taking an action, I need to verify if there is a B o
Schmidt wrote:
Upgraded to 1.0.4 and the problem persists. Any idea?
In OJB test-suite we run several tests using table per hierarchy
inheritance without any problems.
So please, post all information to reproduce your issue - java source
code or pseudo code of the java objects and the query.
Hi,
which version of OJB do you use?
Schmidt wrote:
Hi,
I'm facing a hard time trying to fix a problem in my app. Consider the
floowing class hierarchy:
class Project {..}
class ChildProject extends Project {..}
class GrandChildProject extends ChildProject {..}
How do you set the ojbConcret
Hi Tino,
Tino Schöllhorn wrote:
Hi,
we are using OJB-1.0.1 and evertything works fine. Now I have the
following situation:
We have a security-mechanism which uses the classes ACL
(AccessControlList) and ACLEntry. One ACL has many ACLEntries. Now when
using the standard OJB-Materialization
Hi Roger,
now I get your point (I'm a bit slow on the uptake ;-)). I start writing
many new "order by" tests to isolate the problem and to make sure that
changes don't have unrequested side-effects.
> itself was not stable enough for us). In fact, I helped implementing
> this feature in OJB a
Hi Guillaume,
Guillaume DROUIN wrote:
Hi,
Is collection-descriptor can works with 3 fields in the order by clause?
Yep, if you use the element:
http://db.apache.org/ojb/docu/guides/repository.html#order-by
I don't know when we introduced this element, so please check the
repository.dt
Hi Reynaldo,
Reynaldo Porras García wrote:
Hello Armin,
I just want to report that I tested OJB_1_0_RELEASE rev 616989 on an
application which uses PostgreSQL 8.2.6 and PB implementation. It ran
more than 106 junit test and they all passed.
Good news! Thanks for this positive feedback.
reg
Hi Joose,
Joose Vettenranta wrote:
Hi,
How to re-read repository.xml file without restarting software? This
would nice to have when developing software.
This is not intended. Anyway it could be possible when using object
metadata profiles - but I never tried this.
Start OJB with an reposi
Hi Roger,
Janssen, Roger wrote:
Hi,
When you have two object classes, Permit and AbstractAttribute and
Permit holds a collection of AbstractAttributes (using a collection
descriptor for the abstractattribute collection on the Permit in the
mapping file), we can create a query like below:
Hi Roger,
I checked in your bug fix to SVN. The OJB test-suite pass without
failures (including two new count query tests relating to this bug).
regards,
Armin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
Hi Roger,
Janssen, Roger wrote:
Hi,
Been debugging some OJB code
In class PersistenceBrokerImpl, in method OJBIterator
getRsIteratorFromQuery(Query query, ClassDescriptor cld,
RsIteratorFactory factory), in there this call is made:
query.preprocess(this);
However, the earlier classc
Hi Oliver,
Oliver Seimel wrote:
Hi,
we migrated from ojb 1.0.1 to 1.0.4
DB is Postgres. But I think, that the "problem" is independent
of the DB.
We use the type BIT(1) for boolean values, so a mapping looks
like this:
With version 1.0.1 the generated SQL was
... WHERE emailnotice = '1' ..
Hi Roger,
thanks for testing the upcoming 1.0.5 release.
Janssen, Roger wrote:
Hi,
Like a reported earlier, something goes wrong with count queries.
I can reproduce this bug (thanks for detailed description).
When I hack some code in BrokerHelper, to get around the first bug (I
don't kno
have a
final copy strategy?
Nope! Seems my code improvement goes over the top ;-)
I will fix this and revert CopyStrategyImpl to a non-final class.
regards,
Armin
Regards,
Ilkka
Armin Waibel wrote:
Hi all,
I have uploaded a first (unofficial) release candidate of the upcoming
OJB 1.0.5
Hi all,
I have uploaded a first (unofficial) release candidate of the upcoming
OJB 1.0.5 version. The source distribution can be found here:
http://people.apache.org/~arminw/
Please give it a go and report any bugs.
The source distribution contains a compiled OJB jar and the full
html-docum
Hi JohnE,
johne wrote:
I am using the OJB 1.0.3 PB with MySql 5.0.
I have a series of processes that work off of a common table. This common
table is refreshed regularly. During this refresh, I would like to do to
the affect of:
1. Begin a transaction.
2. Lock
Hi JohnE,
johne wrote:
We have been using OJB for a long time for http://www.jobbank.com, but we are
working on a revised version of the job site for a new country. The
application needs to be able to scale in a potentially massive way.
I am looking at different distributed caching strategies
Hi Christian,
Christian Lipp wrote:
I am still looking for an solution for my lock level settings and therefore
I am digging through the OJB source.
What I am not sure at the moment is if the setting of the isolation-level is
generally ignored in OJB?
I couldn't find the place in the OJB code
...sorry for the delay and my "unauthorized absence" ;-)
Six weeks ago our daughter was born and till now I can't spend time on
OJB - "baby-logistics" is a full time job and these days I enjoy staring
at the baby instead of the computer-screen. I will be back soon.
regards,
Armin
... If OJB cause the problem you
should be able to write an test without using your en/decrypt methods,
only 'normal' objects with cyclic references).
regards,
Armin
Rob
-----Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: 13 November 2007 11:28
To: OJB
Hi Robert,
Robert Giddings wrote:
Hi Guys,
Has anyone had any trouble with a proxy collection and cyclic references
before?
I keep getting StackTraceOverflow errors because of an infinite loop
where a collection of objects of one type has a reference to the
collection owner object.
However I
n field for each AccessRight. But a 'nested object' need a
default constructor and it will be tricky to realize it with
EnumMap. The advantage of a nested object is that
you can search for each field (of a nested object) in queries.
regards,
Armin
Thanks,
Robert Giddings
-Or
Hi Robert,
Robert den Uijl wrote:
Hi,
Regarding migration ojb 1.0.1 to 1.0.4 I noticed the following line in
ojb.properties
# @deprecated
LockManagerClass=org.apache.ojb.odmg.locking.LockManagerDefaultImpl
If I retain this setting a NPE occurs in the doClose() invoke in
org.apache.ojb.odmg.Tr
Christian Eugster wrote:
Hi Armin,
thank you for the hint. Now I have changed all the id field's default
value of my objects to null instead of '0'. I updated OJB to 1.0.4
now (good luck!). When I try to store an object I get now the
following Exception:
[org.apache.ojb.broker.accesslayer.JdbcA
Christian Eugster wrote:
Hi Armin,
DBResult is useless (an older story). The object is written to the
database (a mysql 5.0 database). But the primary key always the value
'0'. When I change back to version 1.0.rc5 the values are assigned.
I checked the source in OJB 1.0.4, the PK will be ass
cd.setUseAutoCommit(Integer.parseInt(el.getAttributeValue("use-auto-commit")));
//$NON-NLS-1$
ConnectionPoolDescriptor cpd = cd.getConnectionPoolDescriptor();
SequenceDescriptor sd = new SequenceDescriptor(cd);
sd.setSequenceManagerClass
t: 28 September 2007 14:28
To: 'OJB Users List'
Subject: RE: Maps
Hi Armin,
This is the Map in question:
private EnumMap accessRights =
new EnumMap(AccessRight.class);
It is just a data member field in an object called UserType.
Thanks,
Robert
-Original Message-----
Fro
Hi Christian,
Christian Eugster wrote:
Hi,
In my program I updated ojb from 1.0.rc5 to 1.0.1. When I store a new
record the sequence manager does not assign a value to my primary key
field (autoincrement=true). With 1.0.rc5 it did it (and does it) with
no problem. With 1.0.4 too there is no ass
Alessandro Colantoni wrote:
I think you are using the cache ObjectCachePerBrokerImpl.
Or the recommended two-level cache which has a session cache too.
In the method findbroker to put a condition that if the entry of
Mandragora.properties broker.useUserBroker is true, return the userbroker
Hi Robert,
Robert Giddings wrote:
Hi,
Does anyone know if and how OJB can handle Maps?
can you describe more detailed what you want to do - using maps in 1:n
or m:n references, direct persist maps, ...
regards,
Armin
Thanks,
Rob
---
Armin Waibel wrote:
(...and it's correct) But if you want to take advantage from a session
cache on multi findByPrimaryKey calls of the same id or you have to
store hundreds of objects it's a bit a "performance anti pattern" to
close the PB instance on each method call (thi
Hi Alessandro,
Alessandro Colantoni wrote:
Hi,
When you use OjbPbDAO of Mandragora, in each method it does (through the
ServiceLocator)
PersistenceBroker broker broker=
PersistenceBrokerFactory.defaultPersistenceBroker();
than at the end of the method it does
broker.close();
I understand that
Hi Hans,
Hans Novak wrote:
Hi Ng,
i use allesandros mandragora with ojb in "mixed-mode".
It is working fine, but when i remove objects with mandragora and then
read the again with ojb, i get the cached object back, not the one, what
hase been saved.
When i restart my app, then i get the righ
discussions
and help other user on the mail lists a committer can suggest this
developer to become a committer.
regards,
Armin
Thanks,
-Sergey
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Friday, September 14, 2007 8:00 PM
To: OJB Users List
Subject: Re
Hi Robert,
Robert Giddings wrote:
Hi,
When using the method getPKEnumerationByQuery() I get the following
error:
Caused by: java.util.NoSuchElementException
at
org.apache.ojb.broker.accesslayer.PkEnumeration.nextElement(Unknown S
ource)
at
com.netcase.database.DAOService.getId
commons-logging-1.0.4.jar
db-ojb-1.0.4.jar
mysql-connector-java-5.0.7-bin.jar
log4j-1.2.8.jar
OJB version that I use: 1.0.4. I download from a mirror location of Apache
OJB
Thanks for your help,
Regards,
Truong Nguyen
On 9/7
Hi Sergey,
Manukyan, Sergey wrote:
Hi,
About mandragora... it looks like it is a layer on top of
PerstenceBroker... my suggestion would be why not to integrate it
into OJB and call it something like Simplified API for Persistance
Broker (SAP)... ?
I only checked the methods of the it.aco.man
Hi Robert,
Robert Giddings wrote:
The line " but this isn't really practical as I can
override methods such as indexOf(Object o) as they rely on equals."
Should read "can't override methods" because of relying on equals.
Anyway, seems as if the ojb methods are never called as I put some
System
Hans Novak wrote:
Did you read the post from Alessandro ?
He wrote something to catch this known problem ...
I will try it later.
yep, I read it. Sorry I don't have the time to check the source code of
this project for performance issues/bottlenecks/"bugs".
I checked method #updateCollecti
Hi Hans,
Hans Novak wrote:
Hi,
i am not shure, but is ist correct when i have an object, witch is a
tree of some other objects (colletions) and i delete a part of the tree
and then store the hole object (tree) - in the database the deleted
object will also be deleted ?
Everything works fin
Hi Hans,
Hans Novak wrote:
Have you got my mail ?
I sorry to say NO.
If your mail had an attachment try without again (the apache server is
very restrict in handling attachments).
regards,
Armin
Hans
Armin Waibel schrieb:
Hans Novak wrote:
Armin Waibel schrieb:
Think this is
Hi Robert,
Robert Giddings wrote:
Hi Armin,
Here is the code of the class and inner class in question.
Rob
package com.netcase.netspat.recordSystem.bo;
import com.netcase.bo.BaseObject;
public class Country extends BaseObject {
...
/*
* Nested
*/
Hi Robert,
could you please post the mapping and java source for class Country (I
expect that this is the class which declares field 'publicationDates'?) too.
regards,
Armin
Robert Giddings wrote:
Hi,
Can anyone tell me why I get this runtime exception when using OJB as
the inner class is
Hi,
your mapping seems ok. Sounds like a bug in OJB.
I tried to reproduce your problem without success (using latest version
of OJB from SVN OJB_1_0_RELEASE branch) - never get a NPE.
I use the mapping from the m:n example (with Person and Project) and do:
oid = broker.serviceIdentity().buildI
Hans Novak wrote:
Armin Waibel schrieb:
Think this is problem caused by xdoclet itself, because the error
starts with
error: xjavadoc.TokenMgrError:
I suppose you need a Java5/6 compatible xdoclet version (xjavadoc).
hmmm... where can i get it ?
I use under Linux the latest SUN Java SDK
Hi Hans,
sorry for the late reply.
Hans Novak wrote:
Hi,
i need help to run the ojb_blank projekt (i try with mysql & hsql, same
errors)
If i configure it like the tutorial says, i get in eclipse some errors:
first, i get a lot of errors like this:
[ojbdoclet] 2007-08-29 13:35:28,017 [main
Hi Sergey,
Manukyan, Sergey wrote:
Folks,
It has been a while since last release of 1.0.4. I have been a user of
ojb since 1.0.2... for about 4 years... but going forward concerns me.
With no new releases I would like to ask how does the perspective looks
for this project?
Well, it depends o
Hi Lasse,
Lambrecht, Lasse (Allianz Deutschland AG) wrote:
Hello everybody,
I'm trying to get some of the information stored in the repository
files (of my o/r mapping). So far I tried something like this to get
the "translation" from the Java name of an attribute to the DB2
column name - which
Hi Bernd,
Längerich, Bernd wrote:
Hi,
I am trying to find some information regarding metadata merging in
the following scenario:
We have a base application with some classes, db tables and a
repository_user.xml that describes the mapping. Lets say we have a
base class BasePersistentClassA and
Hi Krupa,
krupa wrote:
Hi All,
I have several SQLs already written.
I want to use QueryBySQL to use the existing SQLs. The problem I am facing
is how do I map the result set of these queries to my java classes,
especially if I have a result set that includes fields from 3 tables
then how do I
Hi,
Maxim Kuleshov wrote:
Hello!
Most of the times I prefer to use proxying of collections, but in
contrast, for certain requests I need no proxying at all.
Is there any method to create such custom query?
Sorry no. The proxy setting are global and changes will affect all other
threads/us
Hi Martin,
Martin Heyer wrote:
Hello Ojb-Users.
I have a Cocoon + OJB installation running. For performance reasons
there is a dynamic Proxy configured with class B. For example let's
have two classes A and B:
Class A: (has no proxy) - uid - link -> points to uid of class B - B
(foreign key
Hi,
Maxim Kuleshov wrote:
Hello!
If I use per-class cache feature, will cache instance be created for
every distinct class? Guess, it's wasteful to have different caches
sharing exactly same behavior.
That special cache will be used to store almost-static DB data. How
could I implement thi
Hi Michele,
Fabbri Michele wrote:
Hello everybody,
I have a problem with an application using OJB and Oracle 10, the same
application work fine with Oracle 9.
OJB doesn't connect to the DBMS, I activate the log and I obtain the log
under, have you any suggestion?
I think it's a typo:
> [EMA
Ali
On 5/11/07, Armin Waibel <[EMAIL PROTECTED]> wrote:
Hi Ali,
Ali HACHAMI wrote:
> Hi Armin,
>
>
> I tried to fix the problem by renaming the class's attributes, but the
> problem is still there. In conclusion the problem happen when the
columns
> have the same name
) + column name ("NAME_") are the
same in both classes/tables.
Did you tried to fix the issue using 1.0.4 or did you tried the latest
version from SVN (OJB_1_0_RELEASE branch!)?
regards,
Armin
Best regards,
Ali
On 5/5/07, Armin Waibel <[EMAIL PROTECTED]> wrote:
Hi Ali,
Hi Abid,
Abid Hussain wrote:
Hello everybody,
I'm using OJB in my web applicatin now for more than one year, and it
did really fine.
But since some time an exception occurs which I can't figure out.
Obviously the connection to the backend was reset. May it be the case
that the db connection
Hi Ozkan,
sorry for the late reply. Last week I a had DSL malfunction caused by my
Internet provider. It seems to be fixed (works again for 20 hours), but
it could happen that I'm out of business again.
zkn wrote:
Is internationalization possible with OJB?
yep! why not?
I'm not sure if t
Hi Tadeus,
Tadas Garsva wrote:
Hi,
It seems to me that inCririteria is ignored if I use it in query to get
number of elements. For example:
Query q=QueryFactory.newQuery(clazz,criteria,true);
int n=getBroker().getCount(q);
where criteria has a inCriteria
Because of failing details how y
Hi Sergey,
sorry for the late reply. Last week I a had DSL malfunction caused by my
Internet provider. It seems to be fixed (works again for 20 hours), but
it could happen that I'm out of business again.
>
> PersistentBroker.delete(new
> AmortizedToolingSchedulePO(amortizedToolingSchedule, r
Hi Ali,
sorry for the late reply. Last week I had a DSL malfunction caused by my
Internet provider. It seems to be fixed (works again for 20 hours), but
it could happen that I'm out of business again.
Ali HACHAMI wrote:
Hi,
I'm using getReportQueryIteratorByQuery and I want to select column
Ramzi Oueslati wrote:
Hi Armin,
Thank you for your reply. Sure I can and here it is.
This is when I try to update an already persisted instance of A :
java.lang.NullPointerException
at
org.apache.ojb.broker.metadata.DescriptorRepository.getDescriptorFor(DescriptorRepository.java:409)
Hi Björn,
Björn Agel wrote:
can you give a code example pls ?
im sticking in how to execute plain sql with ojb ...
you can lookup Statements from the connection and perform the update by
your own
http://db.apache.org/ojb/docu/guides/connection.html#Can+I+directly+obtain+a
or you can use
Hi Ramzi,
Ramzi Oueslati wrote:
Hello everyone,
I've been trying to use OJB lately but I'm a newbie and I'm stuck with
handling simple non decomposed M:N relationships.
Here's my purpose :
...
***
You might have noticed the collections auto-retrieve setting is set to
'false'. If I set this
1 - 100 of 1988 matches
Mail list logo