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....
Hello Franck and Eric, leftJoin() is a better name. (But I will only rename once we have implemented the left join!) Hibernate actually calls .leftJoin ...
Hello Phil, I just added the method myself. I had some similar code lying around so it did not take long. But there is plenty of other things to do should...
I read about SimpleORM a few years ago in a java magazine and I liked what I saw. I've taken a look at Hibernate and I was very afraid :) I've always been of...
Hello Brian, Glad to hear that you have found SimpleOrm interesting. ... The cast issue has been fixed by Franck for Java 1.5. (Generics are not my favorite...
Anthony & Melissa Ber...
berglas@...
Jul 23, 2008 1:31 am
1579
Hi Anthony, the latest SQuery tests break against Postgresql. First point is we must quote "SUMSAL" or else Postgresql will return it as "sumsal" and...
Franck, Thanks for that. I suspect that PostgreSQL is the only database to sort Nulls last, just like it is the only one to convert to lower case. No matter,...
... Well, that would be too good :) in fact SQL99 introduces 'NULLS FIRST' and 'NULLS LAST' synthax. Of course, not all databases implement it. - MSSqlServer...