Hi Armin,
I wrote a testcase for my proxy/interface-problem.
Thank you for effort
joerg
package de.softcon.webcontrol.test;
import java.sql.Timestamp;
import de.softcon.webcontrol.service.poHelper.POHelper;
/**
* Purpose: Diese Klasse ist die Basisklasse aller persistenten Objekte (PO)
* Use:
Hi,
I have a persistent field, say, lastUpdated(column is
LAST_UPDATED_DATETIME), which is used to store last updated time of the db
record. My question is: Can we use OBJ automatically set and store the field
with right datetime when the persistent object was stored to DB with any
field value
Hi, Thomas and others
I have a field, say, lastUpdated (column name:
LAST_UPDATED_DATETIME), which is used as an time
indicator and to store the last updated time of the
record, How can OJB auto set the field with new
datetime when an persistent object was stored to DB
with a field value modified
It appears that 'Oracle9i' needs to be added to the list of values for
jdbc-connection-descriptor's platform attribute. Otherwise I don't see how to
use PlatformOracle9iImpl.
-steve
Steve Clark
Technology Applications Team
Natural Resources Research Center/USGS
[EMAIL PROTECTED]
(970)226-9291
Hi, Thomas and others
I have a field, say, lastUpdated (column name:
LAST_UPDATED_DATETIME), which is used as an time
indicator and to store the last updated time of the
record, How can OJB auto set the field with new
datetime when an persistent object was stored to DB
with a field value modified
Hi Obj_friends,
I have problems with mapping of an image to an postgresql database.
A byte[] attribute holds my image data. The column type is bytea.
The mapping look like:
...
...
If I store the object to database and get it back, the length of
the byte[] is bigger than the original le
Hi,
I'd like to know if it would be possible to update a reference just by
updating the FK field without updating the referenced object.
Example: the class Software references the class Editor with a 1:1
relation. So the class Software contains a (Editor) editor field and an
(int) editorId (which
Gustavo,
Did you define the
"collection-class=org.apache.ojb.broker.util.collections.ManageableArrayList"
for the susDocumentos collection descriptor in repository.xml ?.
Zabi.
[EMAIL PROTECTED]
09/18/2003 02:32 AM
Please respond to OJB Users List
To: [EMAIL PROTECTED]
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 one of the fields. I am using @ojb.reference tag to specify
DMapImpl class and XDoclet can not find it, apparently
because it does not recognize it as per
I am seeing the following problem using OJB RC3 with JRun4 and SQLServer:
[org.apache.ojb.broker.accesslayer.ConnectionManagerImpl] INFO: Rollback was called,
do rollback on current connection [EMAIL PROTECTED]
[org.apache.ojb.broker.accesslayer.ConnectionManagerImpl] ERROR: Rollback on the
und
Jakob,
After looking at you test case in noticed I was not using anonymous
fields to represent my fk to the super class. I changed my code to do
this and it works fine. Is this the way it should be done?
The only question i have is how do i get my pk to go in order. it
appears all three ta
hi christopher,
i had to remove the patch becaus of stack overflow and other errors.
jakob
Jakob Braeuchi wrote:
hi christopher,
thanks for the patch.
i checked it in and also added new testcases in class
AnonymousFieldsTest to verify multilevel vertical inheritance.
jakob
Christopher C Wor
I'm adding the following line to OJB.properties:
repositoryFile=E:\ora9iAS_903\j2ee\home\applications\aep\aep\WEB-INF\cla
sses\repository.xml
However I receive the following exception:
Caused by: java.io.FileNotFoundException:
e:\ora9iAS_903\j2ee\home\repository.xml
Does OJB use the repositoryF
hi christopher,
thanks for the patch.
i checked it in and also added new testcases in class
AnonymousFieldsTest to verify multilevel vertical inheritance.
jakob
Christopher C Worley wrote:
I have finnaly found a solution to the problem with mapping more than
two classes to multiple joined tab
Hi all,
We are using ODMG Api.
When trying to retrieve a person, who has documents collection (Documents
as an ArrayList), OJB fails saying it needs a
org.apache.ojb.broker.util.collections.RemovalAwareCollection (pls see
error below)
It seems we should use a RemovalAwareCollection, or a Vecto
I have finnaly found a solution to the problem with mapping more than
two classes to multiple joined tables.
Currently an exception occures becuase no primary key has been assinged
to class A which does have the auto increment set to true. The reason
is ojb only follows the hierarchy up one l
Hi,
- Original Message -
From: <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 17, 2003 12:52 PM
Subject: Antwort: Re: Using different Qualifiers in DB2
>
> Hi Armin,
>
> your suggestion might work for my problem. I'll try it.
> At which point will
Hi Armin,
your suggestion might work for my problem. I'll try it.
At which point will the different class defs (that I added via
MM.addProfile) be loaded? All in "advance" or not until I'm doing a
concrete MM.loadProfile(...) call. The reason why I ask this is that
my class defs are about 650 kb
Hi everyone,
Where could i find examples of OQL queries which use the max or the group by
clause. I have some examples with the ODMG documentation but i would need
examples with OQL embedded in Java...
Thanks in advance, Frederic.
--
Hello ALL,
i have a little question concerning OJB + MySQL + MySQLSequenceManager:
How can i get the last inserted primarykey of a table?
thank
Claudio Romano
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
20 matches
Mail list logo