Hi, I use SimpleOrm quite a lot, and I have this annoyance that "" is not treated as NULL when it should be. In Oracle (and also Informix and maybe others), ""...
Your approach sounds reasonable. There is an isEmpty test in SField. Anthony ... Spreadsheet Detective, Southern Cross Software Queensland Pty Limited 54...
Anthony & Melissa Ber...
berglas@...
Apr 14, 2008 3:30 am
1547
Frank Routier has been working on a new version on a branch in subversion. It is looking very good. Simpler in many ways, cleaned up. After a long hiatus...
Frank, Please check carefully what I have done to SFieldReference.innerRawSetFieldValue and SFieldScalar.innerRawSetFieldValue. I think it is now correct, but...
Hello Franck, I think that as part of 3.0 we should consider splitting SimpleOrm into two pieces, each in their own Jars. simpleorm.records that contains...
Hello Frank, Moving SQuery out is possible. One would have to store the built query as a structure rather than a query string, and then translate to string in...
Anthony & Melissa Ber...
berglas@...
Jun 30, 2008 10:45 am
1551
Anthony, maybe we should consider introducing SDataSet (or SDataSetManager ?) right now. First it would be equivalent to SConnection's transaction cache and ...
Hello Franck, Hmm. The design gets ever more ambitious. I am concerned that if we take on too much we will not finish. But it would be good to get this...
Hi Anthony, that seems fine to me, except for one point that is not that clear :) shouldn't "myDS.create(new Employee().set(Employee.ID, "123").set.....);"...
Anthony, I've done some work, namely steps 1 to 6, execpt for the 'flush before query part'. Lot of thinks are now public, including some fields. Bad. Also...
Hello Franck, Wow, you have been busy. I agree that we need to be careful about our vocabulary, I had been a bit sloppy. SCon."attach/detach" had referred to ...
Hello Anthony, I agree with everything you say here. Regarding naming, maybe we should consider JPA terminology ? Then Session would be EntityManager. And...
Hi, ok, I really like SSession.newSessionAndAssociateWithCurrentThreadAndOpenJdbcConnection(), which really says what it does..... :) I agree with the fact...
Anthony, I was wondering, why must have so many static methods in SSession, that most of the time end up finding the current scon in threadlocal, instead of...
Hello Franck To keep it simple, the semantics of attaching a data set to a session could be exactly the same as attaching each record in it, one by one. As ...
Hello Franck, I have been hacking quite a lot today. Unifying Session and DataSet. Needs more thought. Renamed 1. SDataSet to SDataSetTemp 2. SSession to...
Hello Frank, I'm glad you did not touch anything. I think that I got it wrong. I think that both the Persister and SDataSetJdbc are too complex. The more I...
Just wanted to tell you that all this is really interesting when it comes to API design. Where can I get the source ? Is this in a branch or on the main trunk...
Hello Phillippe, Good to here from you. The sources can be accessed at svn co http://simpleorm.svn.sourceforge.net/svnroot/simpleorm/franck Will move it to...
Hi Anthony, Thanks for the explanations. I think that I may not add lots of value to the main code, but who knows. But, maybe creating samples and some...
Hello Philippe, just to answer your question, here is what we like most with Simpleorm: - simple (we could understand the code without being dedicated to this ...
Hello Franck, I've created session.SQuerySql that separates out (most of) the SQL generation from dataset.SQuery. This was one of the last structural issues...
Hello Franck, With some pain, I have pulled out the remaining references to the thread local session from SLog. So now the thread local is only a convenience,...
Hello Franck, I have been reading through the Join code, tidying things up a bit. But I have also substantially cut down the provided functionality in the...
Hi Anthony, I'm a bit ill at ease with restricting SQuery that much! I'd rather add the ability to either join (meaning inner join) or leftJoin, with two...
Hello Franck, I was thinking that initially we would Only support left outer joins. Never inner joins. If one really does not want Employees without...
Hi Anthony, so, lets take it that way: are we (I mean me and my coworkers) using some of the functionalities that have been removed in the last commit? 1) left...
I would like to throw my couple of cents in, in support of what Frank is saying. I've used SimpleORM in a product that's been in production for several years....