Hi Friends, Don't missout on these articles on design techniques: The Factory Design Pattern: http://javalive.com/modules/articles/article.php?id=18 Effective...
I've removed the spammers from the list, but I fear that they will just reappear under different names. My anti-spam seems to get rid of most of them, I did...
Anthony & Melissa Ber...
berglas@...
Jun 4, 2006 12:27 pm
1402
Hi, I'm new on SimpleORM (really I'm new to Java too! :-) ), and looking for documentation about SimpleORM (not the Whitepapers, thats not enough for a newbie...
it's my question soo stupid, than no body wants to help me? I donīt know how to get a class with a database sequence! (if the sequence already exists), I...
Hi Erick, There is a way to do this. As shown in the simpleorm.examples.GeneratedKeyTest: The top of the file says: public static final SFieldInteger...
Sorry for the flow of mails but there were other methods to comment out, use this then: package simpleorm.quickstart; /** * This is the nice name formatter...
For the case sensitivity on the reader, just change public class SimpleORMNiceNameFormatter Comment out the body of the niceNameForTable: public String...
Erick, As for the doc, the list archives is a good place. We can say the apart from the website, you'll have to look at the code. It's quite dense but it's a...
Hi, following the recent question by Alexander and Brian's response, I have another question... I have a field that is both a foreign key and part of the...
Sounds like you have not committed your transactions and are running on a MVC system such as Oracle or Daffodil. When you Select the rows you select their...
Anthony & Melissa Ber...
berglas@...
Jul 2, 2006 4:37 am
1410
Hello Martin, The naive SelectMAX approach has concurrency problems in a multi-user system -- it locks the entire table (or has race conditions). And most...
Anthony & Melissa Ber...
berglas@...
Jul 2, 2006 5:25 am
1411
Hello Darren, Thank you for doing this work. Your approach sounds generally good. I will not have time to look at in detail for a while, but others on the...
Anthony & Melissa Ber...
berglas@...
Jul 2, 2006 5:34 am
1412
Sorry to insist... in case you have both a "raw" id field (say SFieldString) and a SFieldReference for the same foreign identifying key, would you : - set...
To answer this I looked to see what simple orm does when you create a reference without creating the foreign key explicitly. In this case the foreign key is...
Thanks Brian for your clever answer. I will try the different scenario and look at the sql. I'll keep the list informed, I might even try to update the wiki...
Hi, while experimenting with SFieldReference, I realized that overlapping foreign key are not supported !! This is the most common case in my database, as I...
Hello Frank, Identifying foreign keys are certainly supported, have a look at Payrol.java/IdentFKeysTest. Overlapping ones are more obscure, and have semantic...
Anthony & Melissa Ber...
berglas@...
Jul 9, 2006 8:46 am
1417
Hi Anthony, I agree that Simpleorm sometimes tries to be too smart, in particular when expressing references : - Trying to recurse fields for references is...
Hello Frank, Suppose we have T(A, B, C, D) T.R (A, B) references X (A, B) T.S (A, C) references Y (A, C) (ie. there is a reference R in T that uses columns A...
Anthony & Melissa Ber...
berglas@...
Jul 15, 2006 4:59 am
1419
Hi Anthony, I see the difficulty with overlapping foreign keys, but then is another point : my overlapping keys are almost always part of my primary key. So...
Hi, has anybody produced anything resembling a sequence diagram of Simpleorm ? What I am looking for is a description (graphical or textual) of how simpleorm...
Yes. Demo version works for that as well. /Phil _____ From: SimpleORM@yahoogroups.com [mailto:SimpleORM@yahoogroups.com] On Behalf Of Franck Routier Sent:...
I'd just like to point out, again (I emailed about this back in january, got a reply that it was fixed, and wrote back when I checked and it was not), that the...
So, what's your point ? If you are not okay with this, either improve the situation or else. The source code is available and great, which is enough for my...
Well the first step to improving any situation is recognizing that it could use improvement. I think my point was clear. It's a pity that some people have to...
I started a wiki space for simpleorm a while ago and frankly, there was not that much activity there. So, please add some pages and let's move forward. I am...
You seem to be saying that because there are more important issues to be attended to (in your opinion) it's invalid for me to even raise this (less important)...