BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Database.setUseSpacePadding

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases
View previous topic :: View next topic  
Author Message
kei
Guest





PostPosted: Wed Mar 21, 2007 4:34 pm    Post subject: Database.setUseSpacePadding Reply with quote



what is the effect of Database.setUseSpacePadding? if my application is
initially setUseSpacePadding = false and then setUseSpacePadding = true now,
any adverse effect on my data?
I am using JBuilder X.

Thx!!
Back to top
John Moore (TeamB)
Guest





PostPosted: Sat Mar 24, 2007 11:20 pm    Post subject: Re: Database.setUseSpacePadding Reply with quote



kei wrote:
Quote:
what is the effect of Database.setUseSpacePadding? if my application is
initially setUseSpacePadding = false and then setUseSpacePadding = true now,
any adverse effect on my data?
I am using JBuilder X.

Thx!!



This is from the source..

// This property controls if a CHAR field should be space padded
// or not.
// The reason for doing so is to get around certain database
// driver bugs.
// (Oracle type 4 driver)
//
public boolean isUseSpacePadding() { return
getRuntimeMetaData().getBooleanValue(RuntimeMetaData.USE_SPACEPADDING); }
public void setUseSpacePadding(boolean useSpacePadding) {
getRuntimeMetaData().setBooleanValue(RuntimeMetaData.USE_SPACEPADDING,useSpacePadding);
}

....it also shows up in the following exception error message

"The row specified by the resolution query was not found.\r\nTypical
reasons are:\r\n Somebody deleted or changed this row.\r\n A
floating point comparison failed to match.\r\n A CHAR field needs
space padding (see Database.setUseSpacePadding).\r\nQuery:\r\n ",

Hope that helps..

John..





--
=============================================
TeamB are volunteer helpers. Please DO NOT REPLY VIA EMAIL!
Post all questions and replies to this newsgroup ONLY
For papers on DataExpress, Applets, JSP, and Web Development go to:
http://www.microps.com/mps/paperFAQ.html
====================================================
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.