Hi All, I am new to this newsgroup. I am planning to use SimpleORM for one of my projects along with Derby. I have also written a SDerbyDriver on simillar...
See SDriverDB2.java public int maxIdentNameLength(){return 18;} // Yes, only 18 chars! This then causes the generated names to be tweaked. It is a bit of a...
Anthony & Melissa Ber...
berglas@...
Mar 2, 2005 10:22 am
1048
I hope Derby does support locking, otherwise it is very weak. But someone please check. (The flag in the driver forces optimistic locking always, needed for...
Anthony & Melissa Ber...
berglas@...
Mar 2, 2005 10:26 am
1049
Hi, I am trying to create a brand new record in my presentation tier, that I would forward to the business tier later on. My SRecordInstance class is Fipie. ...
Hello, I found my problem, not tied to Simpleorm in any way... I had refactored my data object class (changed package) but only did incremental compilation. My...
After a long time using HSQLDB as the best free-for-commercial-use database server (Mckoi SQL is a good db server, but it's not free for commercial use),...
The interesting thing is that SimpleORM is DB agnostic as much as possible and still allows us to use the db specific features. /Phil ... From: "elifarley"...
I'm sorry, I didn't write what I really meant, and I think Yahoo groups does not allow me to edit my posts, so let me correct myself: Instead of "I'm strongly...
Hi, It seems that when I do a findOrCreate for a new row SConnection.begin(); /* create a new fund */ Funds fund = (Funds)meta.findOrCreate("test-fund"); ...
Here is a thread which discusses this very issue: http://groups.yahoo.com/group/SimpleORM/message/1004 In order to make things work the way you want them to,...
I second that motion! That kind of talk is dangerous young man. There shall be no racism.... err "DB"ism in SimpleORM. Kidding aside, consider that the SDriver...
FindOrCreate doesnt involve generated keys. The thing is you only need to do this a few cases. For intersection tables for example or when do model inheritance...
Sorry, I didn't intend to be a deebeeist! ;) Let me put it in other words: I suggest SimpleORM focuses on getting a fully-functional SDriver implementation for...
You are opening a can of worms there. Just think about concurrent transactions. If you rely on this to get a unique and sequential (no holes) "invoice numbers"...
On key generation, I came across some people who used UUIDs for them. 32 chars and pretty much ugly indexes performance wise but unbeatable for key generation...
Hi Phil, I remember our DBA argument for using UUIDs was that is easy to migrate the data across database instances. When using autonumbers it can be very ...
RE: [SimpleORM] Re: Bool bug fixed and ValidateHi Dan, I am busy implementing the sequence table approach for usage in the EJBs. To be honest, I only have an...
It's entirely up to you. SimpleORM deliberately does not involve itself in connection pooling. Just write a tiny method that gets the connection as you like...
Anthony & Melissa Ber...
berglas@...
Mar 26, 2005 8:01 am
1067
Hello Sylvain, I rather like findOrCreate because it works well in the case were you do just want to have records with certain values. Eg. after a data load, ...
Anthony & Melissa Ber...
berglas@...
Mar 26, 2005 8:10 am
1068
Hi all, I am currently recommending the use of SimpleORM to one of my customers. He is asking me for some reference projects into which it has been used. Would...
Hello, We are using the Generator to create the base classes from the DB and extend them this way with a create and a lookup: (sorry for the UUIDs...) package...
Hello Eli, Although SimpleORM tries to be DB agnostic, I am looking for a default 100% java database that I can preconfigure SimpleORM with for quick ...
Anthony & Melissa Ber...
berglas@...
Mar 26, 2005 8:52 am
1071
Anthony, PostgreSQL now has a Windows version as well as a Unix version. Targetting it as the default DB is quite a good choice. Anyway, MVCC is really what is...
Hi Phil, Yes, you are right about the driver class. That's the way to implement it. About DatabaseORM class: even if at this point you don't have the case of ...
Hi Phil, Maybe I didn't quite understand your question. Are you using database sequence generation (UUIDS)? I don't know exactly how that works but if it's...
RE: [SimpleORM] Re: Bool bug fixed and ValidateHi Dan, By UUIDs I mean thinks like a 32-char long UUID. Not a sequence. BTW I am using JBoss for development. ...