Search the web
Sign In
New User? Sign Up
SimpleORM
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1727 - 1756 of 1847   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1727
I need to be able to duplicate a record, assign it new key values using the generator, then modify a few of the other (non-key) fields. I'm updating to version...
John Abraham
jeabraham
Offline Send Email
Mar 3, 2009
3:02 am
1728
I know we all hate XML files, and after my brief interlude with Hibernate I understand why. But I do have a need to be able to specify some column names at run...
jeabraham
Offline Send Email
Mar 4, 2009
5:52 am
1729
Welcome back. Is SFieldScalar.isPrimaryKey what you want? (SimpleORM 3.0 is more focused on columns than references, which simplifies it.) In general, all...
berglas@...
Send Email
Mar 4, 2009
7:34 am
1730
This is exactly the sort of thing that is easy to do with SimpleOrm, but not reflective tools like Hibernate. SubTypeTest provides an example of the sort of...
berglas@...
Send Email
Mar 4, 2009
7:38 am
1731
Hello All, I have added a new package, SimpleServlets, which can be checked out from subverson. From the web page:- SimpleServlets A very simple environment...
anthony@...
aberglas
Offline Send Email
Mar 5, 2009
1:34 am
1732
As I mentioned, I'm moving to SimpleORM 3 from SimpleORM 2 via Hibernate. I'm having trouble with the idea of writing an implementation of...
jeabraham
Offline Send Email
Mar 13, 2009
6:33 pm
1733
The reason that SimpleORM takes a DataSource parameter instead of a JDBC Connection was so that it could open a second connection as a way to generate sequence...
anthony@...
aberglas
Offline Send Email
Mar 14, 2009
1:55 am
1734
Hello Franck You have been busy! There are many things going on here. I would generally prefer that we do one thing at a time, check it in, review and think,...
anthony@...
aberglas
Offline Send Email
Mar 23, 2009
3:10 am
1735
Hello Franck, Now the big question -- is implementing full joins a good idea in the first place? I have only spent a couple of hours working through your join...
anthony@...
aberglas
Offline Send Email
Mar 23, 2009
3:15 am
1736
PS. Outer joins are all about returning nulls for missing records. I could not see anything in retrieve record to do that. Do we have a test case that...
anthony@...
aberglas
Offline Send Email
Mar 23, 2009
3:36 am
1737
Hi Anthony, I'll read carrefully your mails today... ... We have a test the other way around, JoinQueryTests.leftJoinTest(), that retrieve Depts plus their...
Franck Routier
routier_franck
Offline Send Email
Mar 23, 2009
8:50 am
1738
Hi Anthony, I have made quite a few modification following your remarks. See my comments below... ... Ok, I renamed Table to SAlias. I'll use SAlias for Table...
Franck Routier
routier_franck
Offline Send Email
Mar 23, 2009
3:13 pm
1739
Hi again, thanks for your comments ... I think this problem is handled by the rsindex part. See my other mail. ... Yep. ... I know that. I am also still...
Franck Routier
routier_franck
Offline Send Email
Mar 23, 2009
5:45 pm
1740
Hello Franck, I like your examples. So, it looks like the full joins with aliases are going in. The advantage of subselects is that aliases are easy -- no...
anthony@...
aberglas
Offline Send Email
Mar 24, 2009
4:25 am
1741
Hello Franck, I have reread the code and thought about the problem and I really cannot see why there is a Join class separate from the SAlias class. The data...
anthony@...
aberglas
Offline Send Email
Mar 24, 2009
4:27 am
1742
Hello Franck, I really do not like making SRecordInstance Comparable. What we really want later is to be able to apply SQueries to disconnected SDataSets,...
anthony@...
aberglas
Offline Send Email
Mar 24, 2009
5:05 am
1743
Hello Anthony, ... You are right. So I tackled the SAlias / Join problem. I finally merged them and renamed the resulting class to SRelation. So now a SQuery...
Franck Routier
routier_franck
Offline Send Email
Mar 24, 2009
5:08 pm
1744
Hello, as I said in my other mail, I agree with you. I removed Comparable from SRecordInstance. I added a warning in SRecordComparator API to say it is not...
Franck Routier
routier_franck
Offline Send Email
Mar 24, 2009
5:38 pm
1745
I'am happy you got convinced :) I also agree join semantics can become weird, as join are not truly associative, nor commutative. We can state it in the doc...
Franck Routier
routier_franck
Offline Send Email
Mar 24, 2009
8:26 pm
1746
Hello Franck, Looks a lot better. Thanks for adding the join code. It makes SimpleORM complete, even if it does add some complexity. Details:- + SRelation is...
anthony@...
aberglas
Offline Send Email
Mar 25, 2009
12:56 am
1747
Would it also be possible to move the null processing in compareField to SFieldScalar? Seems to be a lot of copied code amongst the subtypes. Eg....
anthony@...
aberglas
Offline Send Email
Mar 25, 2009
1:06 am
1748
Hello Franck, I was just updating the white paper with SQuery<Employee> subQ2 = new SQuery<Employee>(Employee.EMPLOYEE).setAlias("emp") .join("manager", "emp",...
anthony@...
aberglas
Offline Send Email
Mar 25, 2009
10:56 am
1749
Hello Anthony, ... I picked SQueryTable and made it a first level class : simpleorm.dataset.SQueryTable ... This test is indeed useless now, as we know from...
Franck Routier
routier_franck
Offline Send Email
Mar 25, 2009
10:59 am
1750
Hi, I like the setAlias() solution, that changes the alias for the last added table. I also suggest to call it simply as(). SQuery<Employee> subQ2 = new ...
Franck Routier
routier_franck
Offline Send Email
Mar 25, 2009
11:37 am
1751
One caveat is that then the table will first be added with its default alias, which might be used already... So maybe we should really generate alias as...
Franck Routier
routier_franck
Offline Send Email
Mar 25, 2009
11:56 am
1752
Generating aliases is definitely a bad idea, as when we use the alias-less methods for eq(), gt(), etc. we would have to tell back what alias has been assigned...
Franck Routier
routier_franck
Offline Send Email
Mar 25, 2009
12:25 pm
1753
Hi, just out of couriosity, I've run the EclEmma test coverage plugin on Simpleorm (using ATestAll.java). Result is not so bad : 65.4% ! The plugin also shows...
Franck Routier
routier_franck
Offline Send Email
Mar 25, 2009
2:36 pm
1754
Hello Franck, I really like .as(). This (finally) makes it clear. Well done. (Maybe we could do the same for selectMode.) I think that a tables ArrayList...
anthony@...
aberglas
Offline Send Email
Mar 26, 2009
12:42 am
1755
Hello, ... I have done it. I added two select() method, one for SSelectMode, the other for SFiedlScalar[]. Both apply to last added table. Then I removed all...
Franck Routier
routier_franck
Offline Send Email
Mar 26, 2009
2:10 pm
1756
Hello Franck, All looks good. inner/left/general Join looks clean. I don't understand SQuery.alias. Seems redundant (and thus a little dangerous). Why not...
anthony@...
aberglas
Offline Send Email
Mar 27, 2009
12:28 am
Messages 1727 - 1756 of 1847   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help