Hi, following Sylvain and Anthony advices, I reworked my data access class to minimize databases roundtrips. But I encounter problems when trying to work on...
Hi, I have added an = test on the object, that confirms that the first time, [Fipie 2] that getReference returns is the same as the one retrieved by the first...
Hello, Yes, you would have to use detachWithoutClosing. The SimpleORM API is optimized for the normal case, which is a single database. The good news is that...
Anthony & Melissa Ber...
berglas@...
Dec 11, 2005 2:46 am
1255
Well I just got engaged! Can't believe it, just last year I was beginning to think I'd never meet someone. I'm already 25 and I thought it was all over. After...
ziggy.millam8321@...
Dec 12, 2005 12:59 pm
1256
... MySQL 4.1 fails a few other DataTypesTest tests too. TestUte.assertTrue(dt.getObject(DataTypes.NAME).toString().equals("Trailing ")); actually returns...
The behavior seems the right one from SimpleORM. In that second while block you detach your object from the connection and incidently the cache. Upon the next...
Thanks Sylvain ! Now I understand my stupid error... As for the use of newQuery and so, thanks for the tip. In fact this is very early proof of concept, and ...
SimpleORM was just downloaded today. I'm running the build script with ant. The following error is given: For my DBMS, it appears that when FOR UPDATE is used...
Steve Swett
sswett@...
Dec 15, 2005 12:04 am
1260
Hi there, welcome. The answer is easy just develop your own SimpleORM driver. Just look at SDriver and its subclasses. ... with ant. ... specifying ... column ...
Why dont you post your changes so that we can all benefit from it? If you need help debuging the SDriver code we can help ya to it. Alternatively you can build...
Thanks for reaching out to me. I haven't made any changes to anything. I was just running the standard build routine directly after installation. I didn't...
Steve Swett
sswett@...
Dec 16, 2005 2:20 pm
1265
I ran the build, with no parameters, with ant, against a version 5.0.16 mySQL database and a version 3.1.12 mySQL JDBC driver and received the following...
Steve Swett
sswett@...
Dec 17, 2005 1:24 am
1266
Steve I don't think you need to do anything to use SimpleORM with MySQL. Just don't use the data types that don't work. There are some other minor problems....
Thanks, Dan. After commenting out the ABYTES field stuff the rest of the tests ran fine. ... From: SimpleORM@yahoogroups.com...
Steve Swett
sswett@...
Dec 17, 2005 11:43 am
1268
I have a need to use SimpleORM with an existing database (created 20 years ago). A few of the tables have interesting multi column primary keys that are not...
Steve Swett
sswett@...
Dec 17, 2005 12:50 pm
1269
The connection output is great stuff, but at times I'd like to suppress it. How can I do that? For example, how do I suppress all the rows that start with...
Steve Swett
sswett@...
Dec 17, 2005 8:13 pm
1270
I see you can use: SLog.slog.level = 0; ... From: SimpleORM@yahoogroups.com [mailto:SimpleORM@yahoogroups.com] On Behalf Of Steve Swett Sent: Saturday,...
Steve Swett
sswett@...
Dec 17, 2005 8:21 pm
1271
This has to do with the tracelevel: String traceLevel = System.getProperty("trace.level"); if (traceLevel != null && !traceLevel.equals("")) SLog.slog.level =...
I see in the white paper that it states near the bottom of the Employee class that the get/set methods are completely optional. What is a good alternative way...
Steve Swett
sswett@...
Dec 18, 2005 2:37 pm
1273
I'm sorry. I see you can do like the following: For a getter: teacher.getString(Teacher.DistrictId) For a setter: ...
Steve Swett
sswett@...
Dec 18, 2005 2:52 pm
1274
Unless I do not understand your question, the way I see it, the order is not important since the fields are fetch by name. ... 20 years ... keys that ... ...
Most DBMS's allow you to fetch fewer rows than the entire result set. For example let's say you only want to fetch 10 records max. With mySQL you can tack on...
Steve Swett
sswett@...
Dec 23, 2005 5:40 pm
1276
Look in there: http://livedocs.macromedia.com/jrun/4/Programmers_Guide/servletoptimizing5.h tm search for limit rows /Phil _____ From:...
Hi, I've got a problem here that I am have trouble figuring out. I am trying to join 2 tables together for a single query. The fields aren't declared as...