Hello! I think there is a bug in SRecordInstance.equals(): When i call equals with null (myobject.equals(null)) then a exception occurs. But i think in this...
Florian Fankhauser
f.fankhauser@...
Jul 4, 2003 5:49 pm
499
Hello Everyone, After a few worries I am now the proud father of Ella Berglas. Mother and baby are well. So for the next few weeks my attention will be...
Melissa & Anthony Ber...
berglas@...
Jul 7, 2003 5:21 am
500
... From: "Melissa & Anthony Berglas" <berglas@...> To: "YSOrm" <SimpleORM@yahoogroups.com> Sent: Monday, 07 July, 2003 07:30 Subject:...
Philippe Back (High O...
phil@...
Jul 7, 2003 8:46 am
501
Congratulations ! /Philippe Back Gérant High Octane SPRL Mobile +32-(0)-478/206.553 eMail : phil@... www.highoctane.be rue de la Libération 25 7160...
What is the best way to do simple inheritance with simpleorm? Example : Class A { int id; String name; } Class B extends A { String classb; } Class C extends A...
Hi All I have been working on pessimistic locking for MSQL for an unrelated project. To implement pessimistic locking 1) The JDBC connection must use...
After looking at all my options I have decided that 2 options remain. In any case you implement the database table just like you would if using an object model...
Hello, I am checking out different OR frameworks and I am testing out SimpleORM. I have a simple example that I try to do in every OR framework I test out....
Hi Jacob SimpleORM's aproach is that there is a direct one to one mapping between a class and a table. I am not sure that you can implement abstract base ...
Richard, Thank you for the response. It actually helped a lot. However, I am not sure I should be disappointed or not. Seems to me to make SimpleORM simple,...
Hi SimpleORM is a database centric view of the universe. Databases don't do inheritance very well either! The static method is ugly, does it work? What about...
I am at work now and I ran the tests against our MS SQL server here with the i-net Opta 2000 5.02 driver and it worked fine. So I assume this is a MySQL...
Richard, I am a bit confused by your statement. First, my comments were that I am NOT having issues with MSSQL, but I am having issues with MySQL. So I am not...
I must just be hitting everything.... :) If you override the toString() method in your bean, and make a call to getString() in this method, and have full...
Sorry, I miss read your email. Can't speak for MySQL, never used it. SimpleORM has a very kludge way of linking a SDriver to the JDBC driver. I requested that...
Richard, No problem I figured you miss read it. However, if I would of read the code you sent carefully I would of noticed you changed the SDriver name. So I...
The mechanism is pretty simple/crude, but all you have to do is create a subtype of driver for your special case. And when you've tested it then send it to...
Melissa & Anthony Ber...
berglas@...
Jul 20, 2003 1:09 am
520
Sorry, I have no idea what you are talking about. It is true that SimpleORM is careful to provide ToStrings on all of its classes. Anthony ... -- Spreadsheet...
Melissa & Anthony Ber...
berglas@...
Jul 20, 2003 1:09 am
521
Classic MySQL does not support transactions, ie. it is not really a database. Try using innoDB tables which is the only thing SimpleORM fully supports. ...
Melissa & Anthony Ber...
berglas@...
Jul 20, 2003 1:09 am
522
You've got the general idea, except that your Base fields will be initialized first. So instead of using anonymous statics to initialize, just put them in a...
Melissa & Anthony Ber...
berglas@...
Jul 20, 2003 1:09 am
523
M:N mappings are evil IMHO. Pretty soon you want attributes on your relationships, and we get more and more complex for no benefit. Sure lots of ORM sort of...
Melissa & Anthony Ber...
berglas@...
Jul 20, 2003 1:09 am
524
Building an inheritance architecture for SimpleORM could be done, and was on my lists. But to do it *properly* requires thought. As Richard says, RDBMSs are...
Melissa & Anthony Ber...
berglas@...
Jul 20, 2003 1:09 am
525
I assume "MSQL" means MSSQL, not MySQL. MSSQL locking is a bit odd. Please let me know how you go, but test carefully. Anthony ... -- Spreadsheet Detective -...
Melissa & Anthony Ber...
berglas@...
Jul 20, 2003 1:09 am
526
Anthony, public class Employee extends SRecordInstance { public static final SFieldString EMPEE_ID = new SFieldString(meta, "EMPEE_ID", 20, SFD_PRIMARY_KEY); ...
OK, because the trace that shows when values are retrieved. Ie. SLog.slog.fields("Got " + instance + "." + this + " == " + res); So temporarily turn this...