Hi,
For Some Reason, the mailing list strips all *.java attatchments.
I think you'll have to send your files direct to armin.
Cheers,
Charles.
>-Original Message-
>From: Rice Yeh [mailto:[EMAIL PROTECTED]
>Sent: 22 July 2003 11:27
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: How
Hi Wara,
Torque relies on generated persistent Java classes that contain special
code to interact with the rest of the framework.
OJB provides persistence for POJOs (Plain old java objects).
OJB does also cover more details like polymorphism, inheritance, lazy
loading etc.
YOu may well use Tor
Hi Antonio,
I think there is a typo in your code. It should read as follows:
cheers,
Thomas
Antonio Gallardo wrote:
Hi:
My first task is to try to create an independent application from OJB. For
this I already separed all the files from the tutorial 5 (JDO) to a new
location and I am try
Hi Bonnie,
Your code looks correct. But I'm in doubt about retrieveAccountByNumber().
What happens in this method?
What's really strange with the generated SQL that OJB tries to check
if there is an existing account with ID=5
But the insert is done with the value ID=1 !
There seems to be some man
Hi Shane,
Shane Mingins wrote:
An industry colleague told me that "ODMG is dead and that all the guys
working on it are now working on JDO".
The ODMG group always stated that version 3.0 (which is supported by
OJB) would be the last ODMG release.
Several members of the ODMG team were / are workin
Hi Armin,
Attached are two files. One is PersistentFieldImpl. It has passed NestedFieldsTest
test with path separator '/' instead of '::'.
The other is SunOneTransactionManagerFactory.java.
Ps, I find I cannot attach files from my yahoo mail. So I send this message from
another mail.
Regards
Hi, all,
My project has potentially huge result sets, so there is a question to use
OJB.
Suppose a query returns thousands of objects, but the results are always
presented in page to page navigation. How do I use OJB efficiently for this
scenario?
FAQ mentions using getIteratorByQuery() to la
Hi all,
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 C does not have the timestamp field) and a D
string field as criteria.
If the time
To solve this problem:
Be sure you are generating java 1.3 class files.
Best Regards,
Antonio Gallardo.
Antonio Gallardo dijo:
> Hi:
>
> My first task is to try to create an independent application from OJB.
> For this I already separed all the files from the tutorial 5 (JDO) to a
> new locatio
Hi.
I'm new to OJB and OR mapping technology. I look at
torque document and notice that it's similar to OJB
persistence broker api.
So, please tell me what is the different between these
frameworks?
Best Regards.
Wara Songkran.
__
Do you Yahoo!?
Yahoo! SiteBuild
--- Rice Yeh <[EMAIL PROTECTED]> wrote:
> Hi,
> Attached is transaction manager factory
> implementation I used for SunOne Ap7.
> Just wonder how to contribute code? Is the way I
> am
> doing right? Or should I post it to dev mailing
> list?
>
> Regards,
> Rice
>
>
> >
--
Hi:
My first task is to try to create an independent application from OJB. For
this I already separed all the files from the tutorial 5 (JDO) to a new
location and I am trying to compile and run the sample.
I discovered I need JDO ENHANCER with the Product.class before using the
simple demo.
I w
Hi Rice,
your attachment is lost.
Can you send me the file directly?
I'm interested in your 'Patch for supporting Interface ...'
when using PersistentField.
regards,
Armin
- Original Message -
From: "Rice Yeh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday
Here's my very data structure:
categoryId - int
name - varchar
parentId - int
parentId is a recursive reference to categoryId
Does anyone know how I would set up the class-descriptor for the
collection of children?
Here's what I have:
I'm not en
There are some days am studying OJB, with the main objective of using in a project
that we will begin the development of here four weeks ago. In some tests that I
accomplished, following the available material in the site, I didn't have great
problems. However when coming across with the examp
Hi Armin,
Does it means I can't use SequenceManagerNextValImp with SQL Server 2000
too?
Regards,
Mykola
> MySQL does not support database based key generation
> (MySQL supports only Identity columns).
> You have to use another sequence manager implementation.
> http://db.apache.org/ojb/sequen
I must be doing something really wrong, because when I write code that
I THINK should generate an update statement, an insert statement is
generated instead. I am trying to use optimistic locking. I recalled
that there was a bug that involved optimistic locking and updates, so
I downloaded and buil
An industry colleague told me that "ODMG is dead and that all the guys
working on it are now working on JDO".
Has anyone heard anything that either supports that statement or refutes it?
Does it possibly explain the removal of the odmg site that has been gone for
a while now?
Cheers
Shane
>Th
Try this...
String fields[] = new String[]{
/* 0 */ "Name",
/* 1 */ "avg(Performances.Payout)",
/* 2 */ "avg(Performances.Attendance)",
/* 3 */ "ContactPerson",
/* 4 */ "ContactPhone"};
criteria = new Criteria();
criteria.addGroupBy(fields[0]);
criteria.addGroupB
Ron,
Using your logic, I'm trying another (less efficient I know) method of
accomplishing my task. Here's my code:
Criteria criteria = new Criteria();
criteria.addOrderBy("performances.payout", true);
Query query = QueryFactory.newQuery(Band.class, criteria, true
Ron,
Thanks for the prompt response... your code looks great... except for a
few items. criteria.addGroupBy() and addOrderBy*() have been
deprecated... I think the same methods on the query object are preferred
now. That's sort of irrelevant though.
I am getting the error: "Error reading from
Aaron --
This should create the query you need.
String fields[] = new String[]{
/* 0 */ "Name",
/* 1 */ "avg(Performances.Payout)",
/* 2 */ "avg(Performances.Attendance)",
/* 3 */ "ContactPerson",
/* 4 */ "ContactPhone"};
I cannot figure out how to do a report query. Here's my set up:
Class: Band
Fields: Name, ContactPerson, ContactPhone
Collection: Performances
Class: Performance
Fields: Payout, Attendance
I need to do a report query that will give me 5 columns: Band.Name,
Band.ContactPerson, Band.Contac
Hi,
Attached is transaction manager factory
implementation I used for SunOne Ap7.
Just wonder how to contribute code? Is the way I am
doing right? Or should I post it to dev mailing list?
Regards,
Rice
-
To unsubscribe, e-ma
Hi All
I am currently exploring OJB for use in my application,
One major concern that I have is how to generate the primary key !
WE have a table as follows
Create table xRef {
XRefID Varchar2(10) Primary Key
)
Values for XRefID are generated by a function get
Anyone know the politics of writing an Ant task wrapper around the
JDORI bytecode enhancer utility? I know TJDO did it via System calls
rather than using the JDORI API directly - not sure why.
It seems to me that an Ant task that generated .jdo files from the OJB
repository, and then went ahead
Does the indirection-table attribute on a pick up a
schema name from anywhere or is this something you have to specify in the
value of the indirection-table attribute?
Example:
If my schema name is SYSADM and my indirection table is FOO_BAR, does my
indirection-table attribute need to look like
> > i know have a dynamic
> > persistence mechanism that writes data to any schema
> > on the fly. i don't think cmp supports that!
This is very interesting!
"any schema"? How you going about this?
Or should I say what do you mean?
Love to know a bit more on this.
--Alen
- Original Message
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 J
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 mor
Hi,
MySQL does not support database based key generation
(MySQL supports only Identity columns).
You have to use another sequence manager implementation.
http://db.apache.org/ojb/sequencemanager.html
regards,
Armin
- Original Message -
From: "Mykola Ostapchuk" <[EMAIL PROTECTED]>
To: <[E
Hi Thimo,
thanks for your help.
I read over this in the FAQs.
Peter
-Ursprüngliche Nachricht-
Von: Thimo König [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 21. Juli 2003 08:58
An: OJB Users List
Betreff: RE: Watch/log SQL-Statements of OJB
Hi Peter,
> Is there a possibility to log/wa
Hi Peter,
> Is there a possibility to log/watch SQL statements, which OJB
> sents to the DBMS.
You can use p6spy (http://www.p6spy.com/) to trace SQL Statments. Have a
look at the FAQs (http://db.apache.org/ojb/faq.html) and search for
"p6spy". You will find detailed information on using p6spy w
33 matches
Mail list logo