List:NDB Connectors« Previous MessageNext Message »
From:tarbin jiang Date:January 14 2009 9:13am
Subject:RE: how to build NDBJ.jar?
View as plain text  
The problem is ok. I use NDBBlob type to handle Text.
thank you, Jim.> Subject: RE: how to build NDBJ.jar?> From: jdowling@stripped> To:
tarbin@stripped> CC: ndb-connectors@stripped> Date: Wed, 14 Jan 2009 09:06:24
+0100> > I think the max row-size is 8kb in NDB.> So for a 2Kb String, you could
use a VARCHAR(2500) column.> I'm not sure about TEXT. I guess it becomes a BLOB, in
which case you> wouldn't use setString(). Look up the blob examples in the
ndb-bindings> source.> > > Jim> On Wed, 2009-01-14 at 07:20 +0000, tarbin
jiang wrote:> > hello again,> > I forgot a useful infomation: the type colum
"Field2" in my db is> > text but not varchar. Since I did not find adaptable
function such> > like setText(), so I used setString().> > which set function
should we use if the colum type is Text or Blob?> > > > Has anybody met this
case?> > > > thanks!> > tarbin> > > > > From:
tarbin@stripped> > > To: jdowling@stripped> > > CC:
ndb-connectors@stripped> > > Subject: RE: how to build NDBJ.jar?> >
> Date: Wed, 14 Jan 2009 06:42:14 +0000> > > > > > > > > hi
Jim,> > > It works. thank you.> > > I write a demo to test
ndb-connectors. when the program run> > "op.setString("Field2",longString);"(op is
an instance of> > NdbOperation, longString is a long string which ia about 2k), it
pops:> > > com.mysql.cluster.ndbj.NdbApiException: No error at> >
com.mysql.cluster.ndbj.NdbjJNI.NdbOperationImpl_setString__SWIG_0(Native Method) at
com.mysql.cluster.ndbj.NdbOperationImpl.setString(NdbOperationImpl.java:241) at
com.mytest.ndbjImpl.WorkThread.run(WorkThread.java:78)what's the matter? Current
ndb-connectors version does not support long string?> > > Expecting your
answer.> > > Best regards,> > > tarbin> > > > Subject: Re:
how to build NDBJ.jar?> From: jdowling@stripped> To:> > tarbin@stripped>
CC: ndb-connectors@stripped> Date: Tue, 13 Jan> > 2009 11:07:54 +0100>
> On Tue, 2009-01-13 at 03:36 +0000, tarbin jiang> > wrote:> > hi all,>
> I download NDB-Bindings 0.7.1 tarball. I only> > want to get
NDB-Bindings(java) jar and .so files. I read the README> > file in the
ndb-bindings-0.7.1 folder, but I still not know how to> > build it. Can anybody
help me?> > thanks previous,> > I run the> > following, which works for
me (configure finds my java> > sdk):> ./autogen.sh> ./configure
--with-mysql=~/.mysql/mysql> > --with-csharp=no> --with-python=no --with-lua=no
--with-ruby=no> make> > > make install> > > > > >
tarbin> >> >
_________________________________________________________________> > >> >
News, entertainment and everything you care about at Live.com. Get it> > now!>
> http://www.live.com/getstarted.aspx> > > -- > MySQL NDB> >
Connectors Mailing List> For list archives:> >
http://lists.mysql.com/ndb-connectors> To unsubscribe:> >
http://lists.mysql.com/ndb-connectors?unsub=1 > > >
_________________________________________________________________> > > Invite
your mail contacts to join your friends list with Windows> > Live Spaces. It's
easy!> > >> >
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>
> > > > > > >
______________________________________________________________________> > check out
the rest of the Windows Live™. More than mail–Windows Live™> >
goes way beyond your inbox. More than messages> 
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/photos.aspx
Thread
how to build NDBJ.jar?tarbin jiang13 Jan
  • Re: how to build NDBJ.jar?Jim Dowling13 Jan
    • RE: how to build NDBJ.jar?tarbin jiang14 Jan
RE: how to build NDBJ.jar?Jim Dowling14 Jan
  • RE: how to build NDBJ.jar?tarbin jiang14 Jan