a clearCache() call before every query I
know exactly how brute force this approach is, but I needed a working
fix ASAP Now I'd like to know how to do this (delete an item from a
joining table) correctly in OJB.
Thank you for any help,
Aaron Longwell
synchronization amongst databases in a cluster?
Thanks once again for your advice,
Aaron
Thomas Mahler wrote:
Hi Aaron,
Aaron Longwell wrote:
I have only recently realized the awesome benefits of an O/R mapping
tool. And I absolutely love OJB!
But I've been wondering if OJB is really the best solution
I have only recently realized the awesome benefits of an O/R mapping
tool. And I absolutely love OJB!
But I've been wondering if OJB is really the best solution for my
projects. I typically have 100% control over the environment
(small-medium sized projects with no legacy data and no RDBMS
to use it using only the
online documentation. I am willing to help out with documentation
writing of examples to answer questions like mine above.
Thank you for your time,
Aaron Longwell
-
To unsubscribe, e-mail: [EMAIL
.
ReportQueryByCriteria query =
new ReportQueryByCriteria(
Band.class,
fields,
criteria);
Then, just use the getCollectionByQuery method on the PB to get the results.
HTH
Ron Gallagher
Atlanta, GA
[EMAIL PROTECTED]
From: Aaron Longwell
Ron Gallagher
Atlanta, GA
[EMAIL PROTECTED]
From: Aaron Longwell [EMAIL PROTECTED]
Date: 2003/07/21 Mon AM 11:53:46 EDT
To: OJB User [EMAIL PROTECTED]
Subject: Urgent: Example for Report Query
I cannot figure out how to do a report query. Here's my set up:
Class: Band
Fields: Name
I've looked through the docs for this, but they are, forgive me, rather
unclear.
I have an m:n relationship of Bands and Performances.
I want a cascading delete to occur so that whenever the Band is deleted,
it's corresponding performances are also deleted.
However, when a performance is
://db.apache.org/ojb/repository.html#connection-pool
cheers,
Thomas
Aaron Longwell wrote:
I have decided to load test an OJB+Struts web application I am
building. The results, pass! (but not by a whole lot).
My goal was to support 100 simultaneous users. The application is an
event scheduler, for which one
in a standalone or application server environment?
Jason
On Thu, 2003-07-10 at 22:27, Aaron Longwell wrote:
I have decided to load test an OJB+Struts web application I am building.
The results, pass! (but not by a whole lot).
My goal was to support 100 simultaneous users. The application is an
event
=org.apache.ojb.broker.accesslayer.conversions.JavaDate2SqlTimest
ampFieldConversion
then it works for me.
Edson Richter
- Original Message -
From: Aaron Longwell [EMAIL PROTECTED]
To: OJB User [EMAIL PROTECTED]
Sent: Monday, June 16, 2003 2:42 AM
Subject: addLessThan or addBetween with Dates in mySQL
OJB
using dates with mysql, it maybe
the driver.
could you please post the sql that caused the problem, so i can check
it with my mySQL db.
hth
jakob
Aaron Longwell wrote:
Edson,
I think there's something wrong with the way OJB is turning an
addLessThan to SQL code on the mySQL implementation. I
Aaron Longwell wrote:
Jakob,
How do I retrieve the raw SQL for a Query object (or criteria)?
The SQL I am using now (working correctly):
SimpleDateFormat fmt = (SimpleDateFormat)
DateFormat.getDateTimeInstance();
fmt.applyPattern(-MM-dd HH:mm:ss);
criteria.addSql(StartDate = ' + fmt.format
-
From: Aaron Longwell [EMAIL PROTECTED]
To: OJB Users List [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 12:20 AM
Subject: Re: Experience in High-Load Environments
Do you have any examples of projects you've seen/worked on?
i.e.: Using Oracle, widgets.com easily handles 500,000 requests
will give you a first impression how OJB APIs
compare to native JDBC programming.
Aaron Longwell wrote:
Jason,
Thanks for the feedback. I understand you're probably killing these
servers doing this intense processing... but what about # users? Is
it one guy running intense simulations... I'm
.
Mauricio CASTRO wrote:
It will depends largely on which RDBMS you use, and which OJB features you
use. I think all the basics features of OJB can do the trick.
Mauricio Castro.
- Original Message -
From: Aaron Longwell [EMAIL PROTECTED]
To: OJB User [EMAIL PROTECTED]
Sent: Friday, June 13
records (including those with
-00-00 00:00:00).
If you'd rather ignore all the above... I'd like to see best practices
for using java.util.Dates with OJB (I'm using mySQL DateTime columns).
Thanks,
Aaron Longwell
I've been looking in the API for an anwer to my previous question about
mySQL auto_increment columns. I found the SequenceManagerMySQLImpl class
and am attempting to implement it.
Here's what I've done:
repository.xml Excerpts:
sequence-manager
- Original Message -
From: Aaron Longwell [EMAIL PROTECTED]
To: ObjectRelationalBridge User [EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 5:53 PM
Subject: SequenceManagerMySQLImpl
I've been looking in the API for an anwer to my previous question
about
mySQL auto_increment columns
for
OJB to utilize.
The documentation seems to suggest that there is a solution to these
issues, but I can't find examples to try out. So far though, I love the
convenience of OJB. Great work!
Thanks,
Aaron Longwell
-
To unsubscribe
19 matches
Mail list logo