Cache Question (M:N Relationship)

2003-08-14 Thread Aaron Longwell
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

Re: Object Database?

2003-07-23 Thread 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

Object Database?

2003-07-22 Thread Aaron Longwell
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

Urgent: Example for Report Query

2003-07-21 Thread Aaron Longwell
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

Re: Urgent: Example for Report Query

2003-07-21 Thread Aaron Longwell
. 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

Re: Urgent: Example for Report Query

2003-07-21 Thread 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

Cascading Delete

2003-07-15 Thread Aaron Longwell
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

Re: Performance Test Results

2003-07-11 Thread Aaron Longwell
://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

Re: Performance Test Results

2003-07-11 Thread Aaron Longwell
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

Re: addLessThan or addBetween with Dates in mySQL

2003-06-16 Thread Aaron Longwell
=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

Re: addLessThan or addBetween with Dates in mySQL

2003-06-16 Thread Aaron Longwell
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

Re: addLessThan or addBetween with Dates in mySQL

2003-06-16 Thread Aaron Longwell
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

Re: Experience in High-Load Environments

2003-06-13 Thread Aaron Longwell
- 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

Re: Experience in High-Load Environments

2003-06-13 Thread Aaron Longwell
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

Re: Experience in High-Load Environments

2003-06-12 Thread Aaron Longwell
. 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

Best Practices: Dates

2003-06-10 Thread Aaron Longwell
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

SequenceManagerMySQLImpl

2003-06-06 Thread 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

Re: SequenceManagerMySQLImpl

2003-06-06 Thread Aaron Longwell
- 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

mySQL Sequences

2003-06-05 Thread Aaron Longwell
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