... find ... Using the lates JDBC version, SimpleORM can read the generated key directly from the inserted row (rs = stmt.getGeneratedKeys()) as suggested in...
Hello Phil, Could you elaborate. My understanding is that in some dbs char() behaves like COBOL strings and in others it behaves just like VARCHAR. I can't...
Anthony & Melissa Ber...
berglas@...
Apr 2, 2005 11:28 am
1087
What I really want to do is create a new abstract class SGenerator which has sufficient hooks to be able to implement all the different generator methods. This...
Anthony & Melissa Ber...
berglas@...
Apr 2, 2005 11:37 am
1088
Yes, I should be clear. find would just return null if the record is not found, but create would throw an exception if the record already existed. As this is...
Anthony & Melissa Ber...
berglas@...
Apr 2, 2005 11:40 am
1089
Yes, I should be clear. find would just return null if the record is not found, but create would throw an exception if the record already existed. As this is...
Anthony & Melissa Ber...
berglas@...
Apr 2, 2005 11:40 am
1090
Version 2.18 includes a driver for Cloudscape/Derby, but it seems the driver may have been left off the list of drivers in SDriver.java. Charles ... There ... ...
Hi, I may be mistaken but I thought that in version 2.17 if you did a setString(MappingClass.NAME, "this string is too long"); you would get an immediate...
Done. I have not reviewed or tested the Derby driver....
Anthony & Melissa Ber...
berglas@...
Apr 10, 2005 7:53 am
1093
The checks are made by SDriver just as it generates the SQL. I think that this has always been the case. I suppose that we could check earlier, but that is a...
Anthony & Melissa Ber...
berglas@...
Apr 10, 2005 8:02 am
1094
Hello All, I have put this up on the website. The main change is to add the SGenerator* classes. These provide the proper structure for being able to use...
Anthony & Melissa Ber...
berglas@...
Apr 10, 2005 9:25 am
1095
Anthony, I am trying to use SimpleORM to develop the model layer for an MVC web application. As such, I need to be able to differentiate between common and ...
Hello Charles, Oops, I misunderstood you last time. From the source /** The parameter to the Varchar(...) data type on the Create Table statement. Note that...
Anthony & Melissa Ber...
berglas@...
Apr 13, 2005 10:43 am
1097
Hello there, Try visiting this well listed Directory on Computers and Internet! ... Here is the link http://hi-fiweb.com/comp Hoping to learn a lot from other...
Hi Anthony, While I was trying to implement the class SGeneratorInsertIdentity, I came up with some ideas. I think the method SRecordMeta.findOrCreate(Object...
Dear all, Do you have compared experiences of SimpleORM vs Hibernate ? I am currently seriously looking into Hibernate to make an educated decision and...
Hi All, I am too interested in such comparison. Reading the new Hibernate 3 documentation, they seem to have a dynamic models using maps for entities. This in...
Hello Eli, Thank you for working on SGeneratorInsertIdentity. I had it in mind that one would uses createWithGeneratedKey to create records with a key...
Anthony & Melissa Ber...
berglas@...
May 1, 2005 3:28 am
1103
Hello Denis, I have copied your driver into the source, where it will be incorporated in the next release. However, I do have a number of concerns. The first...
Anthony & Melissa Ber...
berglas@...
May 1, 2005 6:15 am
1104
I have not had a serious look at Hibernate for a while. But basically it:- + Has a large user base. + Is very complex. + Involves byte code post processing,...
Anthony & Melissa Ber...
berglas@...
May 1, 2005 6:33 am
1105
Anthony, What would an estimate for adding that support be ? Is it in days, weeks, ... more ? Is there any specification of what is to be achieved on the UI...
Hello Phil, My key idea is to have the UI directly linked to the Orm Fields, with an absolute minimum of unnecessary bookkeeping code. The idea is that having...
Anthony & Melissa Ber...
berglas@...
May 2, 2005 12:55 am
1107
Anthony, ... Yes, a basic system is the best option right now. Change cases of it would then be: * what about complex controls like list of checkboxes for an...
Anthony, I believe you had released a copy of SDriverDerby.java in the 2.18 release that was a very early version of something someone had contributed. It has ...
... look. Take a look at Butler: Butler framework is a table-oriented java object model on top of JDBC that makes database programming easier. It also has a...
I ran across some writings talking about something like it. I am quite interested in that TOP thing (Table Oriented Programming). OO is great but can benefit...
... Hmmm... I'd like to see some kind of integration of SimpleORM with: - Tapestry (maybe there is no definition for 'integration' in the case of Tapestry -...
How do you guys usually do CRUD operations with your SRecordInstance instances ? Do you create an additional DAO layer or something ? Or you just subclass...
If you use the SGenrator, you subclass the _gen classes like this forexample: public class X extends X_gen implements java.io.Serializable { public static...
What about the Data Mapper design pattern ? http://www.martinfowler.com/eaaCatalog/dataMapper.html Should it be avoided when using SimpleORM, in order to keep...