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

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

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 352 - 381 of 1847   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
352
First, let me say that SimpleORM looks pretty cool, and I'm investigating using it for a project at work. Thanks! Now, on to JTDS. We have SQL Server 2000, for...
kmfav
Offline Send Email
Apr 10, 2003
3:47 am
353
Sorry kmfav, don't know, don't use SQL Server. You'll probably find more joy doing a Google search and looking at the MS news groups. But if you do decide to...
Melissa & Anthony Ber...
berglas@...
Send Email
Apr 10, 2003
4:07 am
354
Hi, I've just downloaded the SimpleOrm package and am trying out my first example. I just met a java exception that I hadn't yet seen, so I already feel my...
dougl80351
Offline Send Email
Apr 11, 2003
10:42 am
355
Found the solution... I need to declare my primary key in this line: public static final SFieldInteger text_id = new SFieldInteger(meta, "text_id",...
dougl80351
Offline Send Email
Apr 11, 2003
11:33 am
356
Hello, when making a get on a char type field, the result is trimed by mySql. The doumentation says : " When CHAR values are retrieved, trailing spaces are...
f_dessoly
Offline Send Email
Apr 13, 2003
12:45 pm
357
Why not replacing the spaces with something before storing and after getting the values back ? Some DBs (Sybase Anywhere) add spaces when doing a getString()...
phil@...
Send Email
Apr 13, 2003
8:05 pm
358
Try using VARCHAR instead of CHAR. Haven't tried on MySQL but it traditionally does not trim trailing spaces. CHAR is basically a COBOL space padded string,...
Melissa & Anthony Ber...
berglas@...
Send Email
Apr 13, 2003
8:07 pm
359
Hi Anthony, thanks for your answer. In fact, it comes from MySql which really removed the ending spaces whatever char or varchar field type you use. What is...
Franck Dessoly
f_dessoly
Offline Send Email
Apr 13, 2003
8:29 pm
360
Thanks, see my answer to Anthony. regards, Franck. ... From: phil@... [mailto:phil@...] Sent: 13 April 2003 21:55 To:...
Franck Dessoly
f_dessoly
Offline Send Email
Apr 13, 2003
8:30 pm
361
@home.efsol.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Frank Carver...
(no author)
(no email address)
Send Email
Apr 13, 2003
8:49 pm
362
That 's another idea but I have something like 200 hundreds fields and in that case and it is a too much work. However, my fields have always to be a certain...
Franck Dessoly
f_dessoly
Offline Send Email
Apr 13, 2003
9:11 pm
363
Hi i believe the magic words are SELECT xx FROM tableyy WHERE zzz WITH (NOLOCK) You can check if the table was locked by calling EXEC sp_lock Richard ... using...
informhandstrap
Offline Send Email
Apr 14, 2003
12:38 am
364
One of the future plans noted on SimpleORM website is a "Simple quick start utility that generates SimpleORM record classes based on JDBC meta data." I had a...
Richard Schmidt
informhandstrap
Offline Send Email
Apr 14, 2003
8:18 pm
365
Hello Doug, When you say you got an initialization exception, I assume that it was something explicit like java.lang.ExceptionInInitializerError: SException ...
Melissa & Anthony Ber...
berglas@...
Send Email
Apr 14, 2003
9:12 pm
366
Something of the sort is slated to be an important part of my current project. I'd be happy to be involved in the implementation of this functionality, if...
Robert Douglass
dougl80351
Offline Send Email
Apr 15, 2003
5:28 pm
367
Yes, sounds good. But please write up a few paragraphs about what you would like to do first. (It will go into the manual.) Yes, generating a class that gets...
Anthony
aberglas
Offline Send Email
Apr 15, 2003
8:55 pm
368
I am also worried about the inconsistencies between databases. I will see if I can knock up a proposal tonight. Regards Richard ... From: Anthony...
Richard Schmidt
informhandstrap
Offline Send Email
Apr 15, 2003
10:23 pm
369
We are fussy about giving people roles that allow for creating tables so I tried the tests first using temporary table names (#name in Sybase) with interesting...
McDaniel, Joe
mcdanijr
Offline Send Email
Apr 16, 2003
5:27 pm
370
Hello Joe, Thanks for your analysis. Maybe we should have a third driver, SDriverMSSybase that has the common stuff. For testing purposes I would like some...
Anthony
aberglas
Offline Send Email
Apr 16, 2003
6:04 pm
371
Hi I have attached the sort of output files that I think Quick Start would produce. There would be two sets of files, one for BR and one for the basic mapping....
Richard Schmidt
informhandstrap
Offline Send Email
Apr 16, 2003
8:36 pm
372
I have attached the SDriver and SDriverSybase files as well as the examples files with changes needed to make them run with Sybase. Using these I can run most...
McDaniel, Joe
mcdanijr
Offline Send Email
Apr 17, 2003
2:38 pm
373
Sounds good. Few comments:- 1. The base class is the top of the tree, ie SRecordInstance. Maybe Employee_generated? 2. Let the user of the generator control...
Anthony
aberglas
Offline Send Email
Apr 18, 2003
12:27 am
374
I found a nice package of utility classes on the Web by Kyle Brown http://members.aol.com/kgb1001001/#Articles, and have used them to lay the groundwork for...
Robert Douglass
dougl80351
Offline Send Email
Apr 18, 2003
4:29 pm
375
It will be necessary to create default mappings between the datatype returned from the metadata query and the SField... type generated in the code. My idea is...
Robert Douglass
dougl80351
Offline Send Email
Apr 19, 2003
10:01 am
376
I'm to the point where I generate a base class with all of the fields. I don't know exactly how to go about the roles. I might have a particular problem with...
Robert Douglass
dougl80351
Offline Send Email
Apr 19, 2003
11:33 am
377
Put the mappings in the SDriver class. Then the same driver subclasses can be used to override them where necessary. Your mappings look pretty good. Thanks, ...
Melissa & Anthony Ber...
berglas@...
Send Email
Apr 20, 2003
3:10 am
378
If the JDBC driver does not support foreing keys then just don't map them. Your utility will still be a great help, even if a bit of manual tweaking is...
Melissa & Anthony Ber...
berglas@...
Send Email
Apr 20, 2003
3:12 am
379
Actually, one thing that you absolutely do need is a primary key. Anthony ... -- Melissa & Anthony Berglas If the correctness test is that the numbers look OK,...
Melissa & Anthony Ber...
berglas@...
Send Email
Apr 20, 2003
3:13 am
380
You also need to indicate if the field can be null. Richard ... fields. I ... particular ... some input ... far, with all ... them. I used ... unfamiliar...
informhandstrap
Offline Send Email
Apr 22, 2003
8:18 am
381
Robert, Your 3 days are probably over by now, but there are a few problems. When I ran your programs against a Sybase instance I got the following: public...
McDaniel, Joe
mcdanijr
Offline Send Email
Apr 22, 2003
9:05 pm
Messages 352 - 381 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