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 ...
Hello Dan, For configurations I assume that you already have your own private method that wraps SConnection.attach. Put the code that has a fixed value in...
Anthony & Melissa Ber...
berglas@...
Jan 16, 2005 11:24 am
987
Hello Anthony, I've already appended the code at the end of the previous message, that's all of it. It's probably my fault, it was such a long reply. Should I...
Hello Dan, Oops!. I've had a read through. It looks generally good, but I'll have to make a few changes. hasUncommitedUpdates -- I see what you are trying to...
Anthony & Melissa Ber...
berglas@...
Jan 17, 2005 5:59 am
989
Anthony, Get yourself a copy of IDEAJ, much cleaner and there is a feature that will build ant scripts for you. Since I use it, no more need for Eclipse. /Phil...
Hi Anthony, The changes I've done were meant to do have no impact on SimpleORM if not used in an EJB container. The hasUncommitedUpdates is not needed in an...
Hi Anthony, Do you think it would be possible to include something like a SQY_NO_LOCK (or SQY_DIRTY_READS) flag in Sconstants and based on it to pass an...
Hello Dan, OK, I've added SQY_UNREPEATABLE_READ which is like READ_ONLY but does not create a read lock for MS SQL. No effect for other DBs. I've added an...
Anthony & Melissa Ber...
berglas@...
Jan 18, 2005 11:20 am
993
Hello Dan, I think I have given you all the hooks that you need for your EJB code. Basically, if you don't compile/load SConnectionEJB you don't have any ...
Anthony & Melissa Ber...
berglas@...
Jan 18, 2005 11:22 am
994
Hello Dan, Comments below. ... Yipes. OK, I've added SQY_UNREPEATABLE_READ_UNSAFE which does this. I would use it sparingly. ... I have changed the way...
Anthony & Melissa Ber...
berglas@...
Jan 19, 2005 5:49 am
995
Hi Anthony, Thanks for the information, sounds great. It seems that everything I was looking for is covered now. About the exception I got for WITH (XLOCK): it...
Hello All, I have released a new version of SimpleORM. It has a number of minor improvements including Booleans and Dan's EJB JTA support. (There are many...