Hello Andre, Yes, should read " to double ". Fixed in subversion. You are reading carefully to find that! Note that exceptions generally include useful...
Hello to you all. Just an enquiry. About two months ago I had checked out a version of SimpleORM which had a class called SQueryAggregate. Subsequent checkouts...
Hi, SQueryAggregate has been renamed into SQueryTransient in latest "official" release. So the API is slightly broken, but the functionality remains the same....
Hello Abel, New class is SQueryTransient, and there is a section in the white paper on it. http://simpleorm.org/sorm/whitepaper.html#mozTocId436695 (That is...
berglas@...
Sep 15, 2009 10:31 pm
1822
Hi. Have you considered allowing 1 SimpleORM driver to handle multiple JDBC drivers? Instead of using driverName and comparing the returned string to choose a...
Hello All, I have just been doing some .Net work using LINQ. Linq is Microsoft's new very clever ORM. It does some amazing things, and most of the time what...
Hi, I'm trying to get identity generation on insert working with Derby. I have the driver set up so it creates the table with GENERATED BY DEFAULT AS IDENTITY...
Hello Ryan, Could do. But for now just create subclasses for the different variants. I suggest just use a static class for these trivial bits. There may...
PS. You will also probably need to change SDriver.retrieveInsertedKey Which is called by theGenerator.postUpdateWithGeneratedKey(session, instance); See HSQL....
Hi Anthony, I read the code and I think this will require the flush method to work a differently for generated columns. It currently passes the NULL values for...
Yes, you are right, more to do. Not important, but I think that I like to see the keyword DEFAULT generated -- makes it explicit. You could do what I...
Hi, I am making heavy use of a special UserProperty on my fields to store the field comments. On the one side, field comments act as a default field label in...
Glad to see the meta data being used. That was an original point of SimpleORM. There are actually several "Comments". 1. PROMPT, SHORT_PROMPT: Default field...
berglas@...
Oct 1, 2009 10:53 am
1831
Hi Anthony, I'm working on a production level project on a deadline, not experimental. It occurred to me that I can't afford to deal with Derby not being...
... Hmm, I think you just made a good argument for not using the Enum! Maybe an Enum.toString(). Maybe the Map should be <String, Object>? Or maybe a...
berglas@...
Oct 2, 2009 2:13 am
1834
Hello Ryan, here, we use Simpleorm in production environments on several client installations with both Postgresql and Oracle. No especially embedded nor...
Hello All, I have added support for JavaDB -- long overdue. The Insert Identity code now works. One outstanding issue is how to convert BYTES to JavaDB....
Hello Franck I am simply concerned that when you do toString on an Enum you do not see the type. Just the name. Leading to horrible bugs. Why is this PROMPT...
berglas@...
Oct 5, 2009 11:07 pm
1838
I tried to post the message below on Oct 30 but I sent it from the wrong address, so it didn't get through. Since then, we haven't had any ideas on how to...
This is just a note to let you know that this multi-threaded design did work. All indications are that this *should* be much faster, but for some reason it...
Hello John, THREADING Your threading approach is OK. In normal operation, you would have one session per thread, one thread per session. This can be...
Thanks for the feedback! Right now the database is responsible for basically 100% of the run time because the main thread (which is actually querying the...
Hello all. I have been using SimpleORM for a few months now and it has been a great help especially for backend data migration scripts. I shall be writing my...
SimpleORM checks for common threading errors such as trying to use the same *Connection* from two threads. It is quite OK and normal to have multiple threads...
You can get it from the source forge repository. However, as the author I do not really recommend it, as it heavily uses JSPs and JSPs are just awful...
If you have non-trivial queries for MSSQL try UPDATE STATISTICS on the main tables. I have found that sometimes it just looses track and starts running slowly...
Hello Anthony, Thanks for the reply and I have to say I do understand exactly what you mean. What I am really concerned with is whether I may have to write ...
Not normally necessary. And locking is about more than Synchronized. Unlike most software, SimpleORM takes care to try to fail fast if you have threading...