I've been using SimpleORM for about 2-3 months now. I'm building a JSP/Servlet application to run in Tomcat. While the details aren't relevant to my...
Hello Martin, Looks like you have found a bug, thanks. I'll fix it soon and ship. I'll have to think carefully about what IsDirty really means and at least...
Anthony & Melissa Ber...
berglas@...
Dec 4, 2004 1:35 am
959
I'm just using plain old JSP/Java. I'm really not a big fan of JSTL, mainly because I don't see a big advantage of the notation below vs: <%=...
Hello Martin, Interesting. The nice thing about SimpleORM is that it is easy to develop frameworks like you have, no need for fancy reflection etc. When you...
Anthony & Melissa Ber...
berglas@...
Dec 6, 2004 2:00 am
961
Hi, I've been working with simpleorm for a few days now, and I like it very much. What I am trying to do now is to introduce views from an oracle-db. Using...
Hello Volker, To get yourself going, just look at the generated code and patch it manually. If you cannot see what is wrong with the generated code then email...
Anthony & Melissa Ber...
berglas@...
Dec 13, 2004 5:09 am
963
Hello Anthony, thank you for your response! Seems like I messed something up, while working on my first example- project. I just rebuild the whole code and now...
This is a question I've had about SimpleORM for a while, but I've more or less ignored it until recently. I understand the reasons for not supporting native...
Hello Martin, Yes, we should definitely have some sort of boolean type, but Booleans in SQL are awkward. Having thought about this a bit more I am thinking of...
Anthony & Melissa Ber...
berglas@...
Dec 20, 2004 3:12 am
966
Has anyone used SimpleORM in a system that requires many to many relationships? I'm attempting this currently and running into some issues. Normally I would...
Hi Martin, ... Use the setDirty() method to mark the object as dirty: SConnection.begin(); Link link = (Link) Link.meta.findOrCreate(new Object[] {objA,...
Florian Fankhauser
f.fankhauser@...
Jan 3, 2005 7:05 am
968
I've looked closer into the issues I've been having with my Char/Boolean class and while I've been able to make things work to my satisfaction (and to the...
Hello Martin, I think that the issue is that there can actually be three different representations, namely the external, internal and database ones. First the...
Anthony & Melissa Ber...
berglas@...
Jan 5, 2005 11:12 am
970
I agree with you in principle. Let me try to explain this better. The database representation is always either "T" or "F". That is the database...
Hello Martin, I had a quick look at your work. I think that you are using convertToField for two distinct purposes and you need another method which I had...
Anthony & Melissa Ber...
berglas@...
Jan 6, 2005 1:49 am
972
No problem. I have emailed all of these changes to you. ... used. ... accept....
Hello Martin, Looks pretty good to me. I'll incorporate this into the next release. Thanks for your help. Anthony...
Anthony & Melissa Ber...
berglas@...
Jan 9, 2005 6:04 am
974
Since you mentioned a new version I'm just going through my notes to dig up any SimpleORM thoughts I had... I wrote the following helper routine to convert a...
Hi, I started looking at SimpleORM and I'm happy with the design choices and the flexibility it provides. We want to use it in our application but I had to do...
Hello Dan, Sounds interesting but I don't quite understand you. You may note that I actually got SimpleORM working under Weblogic, but kept the connection open...
Anthony & Melissa Ber...
berglas@...
Jan 14, 2005 1:16 am
978
Hi Anthony, I understand your concerns, these are the same problems I had to address. BTW, we only use stateless session beans inside JBoss. Let me explain: ...
Hello all, I have searched the web to no avail to answer the following question so I figured I would post here. I have a java downloader that is inserting new...
Hello Dan, OK, so you use the JTA object as the key. Clever. That could also be used for logging etc. to separate out different threads. (I suspect that...
Anthony & Melissa Ber...
berglas@...
Jan 15, 2005 12:59 am
981
Hello Martin, My quick reading of the code says that this should work fine using isNull. It even seems to get the dis/conjunction right. If it does not work...
Anthony & Melissa Ber...
berglas@...
Jan 15, 2005 1:12 am
982
Hello Martin, SResultSet.getArrayList already returns this as a list. (Bad method name, should be called something like queryIntoArrayList.) So you could...
Anthony & Melissa Ber...
berglas@...
Jan 15, 2005 2:02 am
983
Hello Anthony, I don't worry about multiple machine calls since I don't intend using it in a clustered environment. You are right about Synchronization object...
Hello Dan, Sounds very good. If you can cut me out the guts of what you have done and an example I will include it in SimpleORM. This is a valuable...
Anthony & Melissa Ber...
berglas@...
Jan 16, 2005 1:58 am
985
Hello Anthony, I wouldn't pay too much attention to Weblogic examples and I know they do strange things. That's why we moved to Jboss, at least I have the ...