Hello Harry, Good point, I fixed isEmpty, but to the code below (avoids creating the trimmed object). You mentioned "Oracle Locking", what are you doing with...
Hi Anthony, While I was looking at the modifications we made, I was just wondering if we are not doing a mistake by trimming the value to look if it's empty. ...
Hi Anthony, About your second question : I don't use locking at all; I always have let Oracle handle it. After all, this is one reason we spent all the clams...
SimpleORM has changed in version 3. * By default does not add FOR UPDATE. * Always uses optimistic checks as well as any database locks. Be aware that Oracle...
Hello Franck, I agree that any QBE interface in SimpleORM would want to be a separate module, used along the lines that you suggest. One hard part about QBEs...
Only primary keys are specified in meta data. Other indexes can be created using raw CREATE INDEX statements. The reason for this is that it is a bit messy to...
Has already been fixed in Subversion, I'll cut a new version soon. Just replace the code with length=0 for a quick fix for now. ... Dr Anthony Berglas,...
Have not done this yet. But if you copy the HSQL driver it should only require trivial changes. SimpleORM minimizes database dependent code. If you do this...
Hello Bruce, You have a choice as to whether to have long transactions during user think time that use database locks, or short transactions that use ...
Hi, I've been using this just as you described, and it works fine. Here is the class I use : package org.hmn.jrsd.demo; import simpleorm.drivers.SDriverHSQL; ...
Eclipse gives me lots of compiler warnings when I open the source code. They include unused imports, references to generic types that should be parameterized,...
Hello Harry, Thanks for that. But before I include your code, what about the other things in SDriverHSQL? In particular, is the support for SEQUENCES the same...
Oops, I see what you have done, just extended HSQL Driver. I'll refactor a bit and add it. Please confirm the unit tests pass. Anthony ... Dr Anthony Berglas,...
Hello Bruce, 1. Descritpive renamed. Thanks. 2. The idea was that the field name need not always be the same as the sql column name. But the code does not...
I've just put this up on the web site. Includes Franck's fixes, plus Descritpive, H2. http://www.simpleorm.org/downloads/ Anthony Dr Anthony Berglas,...
Hi, the unit tests are OK, except for the long transaction test that fails with a lock timeout (this should not be too serious). BUT READ ON ! However, the...
Hello Harry, Thanks for your work on H2, which looks quite good. I'm thinking we should probably make it the default db in the next release of SimpleORM. The...
Hi, In your implementation (v.3.2), you have put for SDriverHSQLH2 protected OffsetStrategy getOffsetStrategy() { return OffsetStrategy.JDBC; } This causes an...
Hi, Regarding the errors I got with Enum(s), it is because I ran the tests on a build I got from svn (rev806). In this revision, "writeFieldValue" was not...
Hi, I found the timeout parameter for locks, so all the tests run correctly now. The timeout can be set by adding the parameter to the jdbc url, or by issuing...
Hello Harry, Please do check out from subversion, not the zipped versions. I only create the latter occasionally, and you are supporting a new database which...
Hello Anthony, I can only check out from subversion at home, because at work our firewall does not allow subversion connections. And I come home late, with...
Hello Harry, Subversion works on normal ports (80 and 443). I have used the https to access it from behind nasty corporate firewalls. So unless they ...
I'm getting a compilation error when I try to compile SimpleORM using Java 5. The error is SQueryExecute line 100: "The method copyOf(SfieldScalar[], int) is...
I have just released version 3.3, which fixes the Java 1.6 dependency in the join processing. Big oops, now always test with 1.5 Also cleaned up imports from...
Hello , I have usecase where I need to check if entity was changed or not. Entity should report isDirty as false also if the same values/references was set on...