You need to create the lib directory yourself. It is where you put the JDBC dirvers. Or you may already have one... SimpleORM does not require XML. SimpleORM...
Melissa & Anthony Ber...
berglas@...
Feb 2, 2003 4:25 am
257
Hello James, As I am about to release a new version I went over your code. Reading between the lines, I assume that HSQL identity columns get new values as...
Melissa & Anthony Ber...
berglas@...
Feb 3, 2003 12:32 am
258
Hello All, I have just put up this new release. As always see http://www.simpleorm.org/README.htmlfor details. A minor release, enhancments include:- Added...
Melissa & Anthony Ber...
berglas@...
Feb 3, 2003 1:19 am
259
Hello Arni, I would be surprised if there were any major leaks after my changes, but I have been surprised before. The query builder just returns an...
Melissa & Anthony Ber...
berglas@...
Feb 4, 2003 5:29 am
260
Anothony, This is more of a question then anyone else. Yesterday I relialized that you can only flush a record to a database once. If you try to do so again...
Ok I made some changes to 'fix' this. Once again this whole thing may be a bad, bad idea, but here they are. I modified setOptimistic to stop checking to see...
Hello Árni, I assume that when you say Cursor Leak you meant PreparedStatement leak. Are you saying that this is something that caused grief, or simply ...
Melissa & Anthony Ber...
berglas@...
Feb 10, 2003 3:58 am
264
Hello Eric, You are correct, it should definitely be possible to flush a record multiple times even if it is optimistically locked. I'm not sure about your...
Melissa & Anthony Ber...
berglas@...
Feb 10, 2003 3:58 am
265
Hello Michael, It is actually worse than this, apparantly DB2 only allows 18 char names, and that for global names! I'll add something to the drivers that...
Melissa & Anthony Ber...
berglas@...
Feb 10, 2003 3:58 am
266
Hello Denis, Thanks for your considered feedback. Responses below... ... In fact this was added for wierd Sybase interaction. Your fix is correct, but maybe...
Melissa & Anthony Ber...
berglas@...
Feb 10, 2003 3:58 am
267
... Well you know the system better then I do, but it looks like the that field only stores the 'original' values of the field for the eventual where clause of...
Hello Anthony, things are worse, Informix also allows only 18 bytes for identifiers. Shortening the table names could become an issue :) Regarding the naming...
Hello, Would this naming thing stay in special drivers ? I hope so :-) /Phil ... From: <michael.aubermann@...> To: <SimpleORM@yahoogroups.com> Sent:...
phil@...
Feb 10, 2003 7:44 am
270
Changes to SDriver Added new Driver Type "AS/400 Toolbox for Java JDBC Driver" for SDriverDB2400 The SDriver class. So far not much to change. ... /* *...
Whats the best way to turn off all of the logging that SimpleORM does by default. During development its great but once I put the project into production I...
Have a look at the SLog class -- just set SLog.level. The code takes care not to generate unnecessary strings, eg if (SLog.level > ...) SLog...(this + that +...
Melissa & Anthony Ber...
berglas@...
Feb 12, 2003 5:31 am
273
Hello Phil, Yes, known problem about long names. DB2 is apparantly worse, only 18 chars for the global names! Will fix next release. See mailing list for...
Melissa & Anthony Ber...
berglas@...
Feb 12, 2003 5:31 am
274
Thanks Eric, I'll add this to the code. I'll actually add two drivers, one called SDriverDB2 and anther being a subclass of it named SDriverDB2400. Hopefully...
Melissa & Anthony Ber...
berglas@...
Feb 12, 2003 5:31 am
275
Hello Árni, Thanks for confirming. Wierd that closing the cursor is not enough. Your fix means that it is no longer possible to reuse a PreparedStatement if...
Melissa & Anthony Ber...
berglas@...
Feb 12, 2003 5:31 am
276
Michael, Please send me the Informix driver string -- I'll add a driver. The max constraint name size will be driver specific, but the overall default may be...
Melissa & Anthony Ber...
berglas@...
Feb 12, 2003 5:31 am
277
Anthony, You are right there. It should be trivial to have some type of start up flag in the config file. Thanks, Eric ... ...
I was just wondering if simpleorm supports several simultaneous connections to different databases? What about single transactions spanning several databases...
Is there a way to select and exclude which fields are used for testing in an update when optimistic locking is used? I would rather not use fields with large...
Hello, I'm testing SimpleORM with Firebird. I ported the simpleorm ejb example to jboss and tested it with Firebird. I had to patch simpleorm.core.SConnection...
What I need is the message that SimpleORM issues about having to use the generic driver. Anthony ... -- Melissa & Anthony Berglas If the correctness test is...
Melissa & Anthony Ber...
berglas@...
Feb 14, 2003 3:21 am
282
SimpleORM just uses the JDBC connections you pass it. So it can span multiple databases if you want to. You may need to use SConnection.Detach etc. depending...
Melissa & Anthony Ber...
berglas@...
Feb 14, 2003 3:21 am
283
Hello Wei, Yes, SimpleORM should be simple emough to easily modify. But please don't fork the code, any generally useful enhancements will be gratefully...
Melissa & Anthony Ber...
berglas@...
Feb 14, 2003 3:21 am
284
Hello Lari, Thanks for pointing this out. But I'm not sure if I like your fix -- ignoring exceptions is scary. Could you please test if...
Melissa & Anthony Ber...
berglas@...
Feb 14, 2003 3:21 am
285
Not possible now, good point. But if the field has been updated then it needs to be included however big it is ... unless it is one of those long varchar...