ntext 10k limit?

ntext 10k limit?

Post by Troy Molande » Thu, 14 Mar 2002 03:58:11



Hello,

I'm having a problem wherein I cannot retrieve String data out of an ntext
field greater than 5120 in length [data.length()].  It would appear that a
10k limit has been imposed on retrieving data from this field.  Does anyone
have any solutions?

The exception I'm getting follows.  Note that the unknown token is the hex
code for whatever the 5121st character is - in this case a 't'.

java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Unexpected token
type: Unknown token: 0x74
 at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
 at com.microsoft.jdbc.sqlserver.tds.TDSRequest.getRow(Unknown Source)
 at
com.microsoft.jdbc.sqlserver.SQLServerImplResultSet.positionCursor(Unknown
Source)
 at com.microsoft.jdbc.base.BaseResultSet.next(Unknown Source)
 at com.zinio.service.db.DBUtils.executeQuery(DBUtils.java:450)
 at
com.zinio.service.db.DBNotificationQueue.retrieve(DBNotificationQueue.java:5
8)
 at
com.zinio.service.db.DBNotificationQueueTester.testPayloadSize(DBNotificatio
nQueueTester.java:169)
 at java.lang.reflect.Method.invoke(Native Method)
 at junit.framework.TestCase.runTest(TestCase.java:166)
 at junit.framework.TestCase.runBare(TestCase.java:140)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:131)
 at junit.framework.TestSuite.runTest(TestSuite.java:173)
 at junit.framework.TestSuite.run(TestSuite.java:168)
 at junit.textui.TestRunner.doRun(TestRunner.java:74)
 at junit.textui.TestRunner.run(TestRunner.java:200)
 at
com.zinio.service.db.DBNotificationQueueTester.main(DBNotificationQueueTeste
r.java:198)

Thanks for any help,

Troy Molander


 
 
 

ntext 10k limit?

Post by Joe Holmbe » Sat, 16 Mar 2002 01:33:44



> I'm having a problem wherein I cannot retrieve String data out of an ntext
> field greater than 5120 in length [data.length()].  It would appear that a
> 10k limit has been imposed on retrieving data from this field.  Does anyone
> have any solutions?

I'm having the exact same problem, but with a "text" field.  I've no
solutions, I'm afraid...

 
 
 

1. Ntext input limited to 1023?

Hi people, am having trouble getting to grips with the Ntext data type.

For some reason enterprise manager will only allow me to enter 1023
characters, even though the help file clearly states that Ntext allows over
one billion characters.

I'm sure there's an obvious reason for this, but its a reason i'm not aware
of.  Can anyone help?

Cheers,

Mark.

2. pgsql/doc/src/sgml (release.sgml)

3. NText limit

4. Oracle 6 NLM problem

5. Ntext chunk limit

6. Printing With Portals (FM4)

7. Objects that take more that 10K of memory and the count is more than 3

8. SQLXML 2.0 fails to install?

9. Estimating how much disk space 10K rows will occupy

10. Objects that take more that 10K

11. 10k simultaneous RMI clients (was Servlets and JDBC database access)

12. Commit 1 per row or 1 per 10K rows