Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: libmysequoia and INNER JOIN: msg#00037

db.carob.general

Subject: Re: libmysequoia and INNER JOIN


ok ... so only option to hack the sequoia code can help me

and with the three weird thing from the yesterday post ? only 1/ (too long time execution for create table) and 2/ (the error on table alteration) because 3/ i suppose is related to this unsigned type issue.

thanks,
Mihai


On Wed, 2007-04-11 at 10:58 +0200, Gilles Rayrat wrote:
Yes but unsigned is not a standard sql type, it is only used by mysql

So you have the class org.continuent.sequoia.controller.backend.SequoiaBackendObjectConverter that can be used to convert objects from the backend.
Check javadocs for more info

Gilles.

Mihai Costache wrote:

i search on mysql site about unsigned attribute and mysql connector/j .... and it is supported


On Wed, 2007-04-11 at 10:46 +0300, Mihai Costache wrote:

yes i have tinyint1isBit=false in the backend url ... "getLargeData: Value at row 0 column 2 is not of type blob, clob or byte array" problem !!!

removing unsigned is not an option because this is a supplementary protection rule for the values to be always positive numbers
so ... how must hack the sequoia code and how difficult is that


thanks,
mihai

On Wed, 2007-04-11 at 09:24 +0200, Gilles Rayrat wrote:
OK, this is the problem:
>  `IdmerchantPS` bigint(20) unsigned NOT NULL default '0',

The bigint unsigned is weirdly handled by mysql, which returns a BigInteger java type instead of a regular BigDecimal.
The quickest workaround is to remove this 'unsigned'
If you can't, you will have to hack sequoia code in order to cast BigInteger to BigDecimals in ResultSet retrieval

Second potential issue:

  `Enabled` tinyint(1) NOT NULL default '0',

Did you put tinyint1isBit=false in the backend url of you vdb.xml ?
ie:
url=""
      

Cheers,
Gilles.
_______________________________________________
Carob mailing list
Carob-RyYwo1q5J+pm4DMUGMHt/jIQnlzKTOB+HZ5vskTnxNA@xxxxxxxxxxxxxxxx
https://forge.continuent.org/mailman/listinfo/carob
    
_______________________________________________
Carob mailing list
Carob-RyYwo1q5J+pm4DMUGMHt/jIQnlzKTOB+HZ5vskTnxNA@xxxxxxxxxxxxxxxx
https://forge.continuent.org/mailman/listinfo/carob
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation