pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
10+ messages / 2 participants
[nested] [flat]

* Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-26 15:54  Nishant Singh <nishant.singh@egsgroup.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Nishant Singh @ 2013-07-26 15:54 UTC (permalink / raw)
  To: pgsql-jdbc

Hi,

My Java web application uses PostgreSQL. It has a document table with 
one of the field called accountCode of type character varying(15)[]

In the logictable records are accessed through cursor. Thats is being 
done through Apache Torque.(schema.xml: ...<table name="document" 
idMethod="native">... <column name="accountCode" type="CLOB" 
javaName="AccountCodeString"/>..)

PostgreSQL log for the cursor are as follows:
2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>: 
DECLARE CursIt4 CURSOR FOR SELECT document.DOCUMENTID, 
document.DOCUMENTNUMBER, document.ADHOCDOCUMENTNUM, document.ORGUNITID, 
document.ACCOUNTID, document.TEMPLATEID, document.REFDOCUMENTID, 
document.DOCUMENTTITLE, document.STATUSID, document.STATUSSTR, 
document.DOCUMENTDATE, document.MODTYPEID, document.DELETEFLAG, 
document.CURRENTSTEP, document.ITEMSREADONLY, 
document.ISCLOSEDFOREINVOICING, document.ENABLEAUTOACDISTRIBUTION, 
document.MODDATE, document.DEADLINE, document.ACCOUNTCODE, 
document.EXTERNALID, document.MULTIPLESHIPPING, 
document.MULTIPLEBILLING, document.MULTIPLEACCOUNTING, 
document.DOCUMENTDESCRIPTION, document.REVISERNAME, 
document.REVISEREMAIL, document.REVISERORGUNITNAME, 
document.FORWARDREFID, document.REVISIONDATE, document.RESPONSEVENDORID, 
document.RESPONSECATALOGUEID, document.COURIERNAME, 
document.COURIERTRACKINGNO, document.WORKFLOWINSTANCEID, 
document.WORKFLOWEVALUATED, document.PURCHASEORDERVENDORID, 
document.PURCHASEORDERCATALOGUEIDS, document.NOTIFYSUPPLIER, 
document.PURCHASEORDERVARIANT, document.MOD, document.ISQUICKORDER, 
document.CONFIRMATIONORDER, document.WITHDRAWNFROMAPPROVAL, 
document.SHIPPINGDATE, document.FMSNAME, document.EXTERNAL_REF_ID, 
document.ISCISORDER, document.ISPROXY, document.ORIGINAL_PO_ID, 
document.NUMBER_OF_VARIATIONS, document.ORIGINAL_ORDER_DATE, 
document.SHARED_SECRET FROM document, organizationalUnit WHERE 
document.ISPROXY<>1 AND organizationalUnit.ORGID=15136 AND 
document.STATUSID IN 
(1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451) AND 
document.ORGUNITID=organizationalUnit.ORGUNITID
...
2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>: 
FETCH 25 FROM CursIt4
...

We have recently moved to PostgreSQL 9.2.4 and JDBC driver 
postgresql-9.2-1003.jdbc4.jar. But we have noticed that now accountcode 
field is not getting populated in the Java code. Same is happening with 
postgresql-9.2-1002.jdbc4.jar

Earlier with PostgreSQL 9.1.4 and JDBC driver 
postgresql-9.1-903.jdbc4.jar we were getting accountCode field populated 
in the Java code.

But when we change to JDBC driver postgresql-9.1-903.jdbc4.jar on 
PostgreSQL 9.2.4 it works fine.

Are new drivers (postgresql-9.2-1003.jdbc4and postgresql-9.2-1002.jdbc4) 
having some bug which is causing this problem or therecan be some other 
reason?

Thanks in advance.

Regards,
Nishant

*Nishant Singh*
Senior Developer
T: +44 (0) 207 539 2812
M: +44 (0) 7948 897 057
E: nishant.singh@egsgroup.com <mailto:nishant.singh@egsgroup.com>
W: www.egsgroup.com <http://www.egsgroup.com;
EGS Group <http://www.egsgroup.com/;

spacer 	EGS Group Ltd
Baird House, 15-17 St. Cross Street
London, EC1N 8UW

Red Herring Finalist 100 Europe <http://www.egsgroup.com; 	Government 
Business Award Winner 
<http://www.gbawards.governmentbusiness.co.uk/ar-top100-2011;



This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

Attachments:

footer2_r1_c1 (image/png, 16.7K) download view image
award-spacer.png (image/png, 165B) download view image
n9001 (image/png, 4.5K) download view image
top100 (image/png, 10.9K) download view image
^ permalink raw reply [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 10:41  Dave Cramer <pg@fastcrypt.com>
  parent: Nishant Singh <nishant.singh@egsgroup.com>
  0 siblings, 2 replies; 10+ messages in thread

From: Dave Cramer @ 2013-07-29 10:41 UTC (permalink / raw)
  To: Nishant Singh <nishant.singh@egsgroup.com>; +Cc: pgsql-jdbc

Nishant,

Your email does suggest there is a bug in there somewhere. However we would
require a bit more of a detailed test case in order to be able to help find
it.

Regards,

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh
<nishant.singh@egsgroup.com>wrote:

>  Hi,
>
> My Java web application uses PostgreSQL. It has a document table with one
> of the field called accountCode of type character varying(15)[]
>
> In the logic table records are accessed through cursor. Thats is being
> done through Apache Torque.(schema.xml: ...<table name="document"
> idMethod="native">... <column name="accountCode" type="CLOB"
> javaName="AccountCodeString"/>..)
>
> PostgreSQL log for the cursor are as follows:
> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
> DECLARE CursIt4 CURSOR FOR SELECT document.DOCUMENTID,
> document.DOCUMENTNUMBER, document.ADHOCDOCUMENTNUM, document.ORGUNITID,
> document.ACCOUNTID, document.TEMPLATEID, document.REFDOCUMENTID,
> document.DOCUMENTTITLE, document.STATUSID, document.STATUSSTR,
> document.DOCUMENTDATE, document.MODTYPEID, document.DELETEFLAG,
> document.CURRENTSTEP, document.ITEMSREADONLY,
> document.ISCLOSEDFOREINVOICING, document.ENABLEAUTOACDISTRIBUTION,
> document.MODDATE, document.DEADLINE, document.ACCOUNTCODE,
> document.EXTERNALID, document.MULTIPLESHIPPING, document.MULTIPLEBILLING,
> document.MULTIPLEACCOUNTING, document.DOCUMENTDESCRIPTION,
> document.REVISERNAME, document.REVISEREMAIL, document.REVISERORGUNITNAME,
> document.FORWARDREFID, document.REVISIONDATE, document.RESPONSEVENDORID,
> document.RESPONSECATALOGUEID, document.COURIERNAME,
> document.COURIERTRACKINGNO, document.WORKFLOWINSTANCEID,
> document.WORKFLOWEVALUATED, document.PURCHASEORDERVENDORID,
> document.PURCHASEORDERCATALOGUEIDS, document.NOTIFYSUPPLIER,
> document.PURCHASEORDERVARIANT, document.MOD, document.ISQUICKORDER,
> document.CONFIRMATIONORDER, document.WITHDRAWNFROMAPPROVAL,
> document.SHIPPINGDATE, document.FMSNAME, document.EXTERNAL_REF_ID,
> document.ISCISORDER, document.ISPROXY, document.ORIGINAL_PO_ID,
> document.NUMBER_OF_VARIATIONS, document.ORIGINAL_ORDER_DATE,
> document.SHARED_SECRET FROM document, organizationalUnit WHERE
> document.ISPROXY<>1 AND organizationalUnit.ORGID=15136 AND
> document.STATUSID IN
> (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451) AND
> document.ORGUNITID=organizationalUnit.ORGUNITID
> ...
> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
> FETCH 25 FROM CursIt4
> ...
>
> We have recently moved to PostgreSQL 9.2.4 and JDBC driver postgresql-9.2-1003.jdbc4.jar.
> But we have noticed that now accountcode field is not getting populated
> in the Java code. Same is happening with postgresql-9.2-1002.jdbc4.jar
>
> Earlier with PostgreSQL 9.1.4 and JDBC driver postgresql-9.1-903.jdbc4.jar
> we were getting accountCode field populated in the Java code.
>
> But when we change to JDBC driver postgresql-9.1-903.jdbc4.jar on
> PostgreSQL 9.2.4 it works fine.
>
> Are new drivers (postgresql-9.2-1003.jdbc4 and postgresql-9.2-1002.jdbc4)having some bug which is causing th
> is problem or there can be some other reason?
>
> Thanks in advance.
>
> Regards,
> Nishant
>
>     *Nishant Singh*  Senior Developer     T: +44 (0) 207 539 2812
> M: +44 (0) 7948 897 057
> E: nishant.singh@egsgroup.com
> W: www.egsgroup.com <http://www.egsgroup.com;  [image: EGS Group]<http://www.egsgroup.com/;    [image:
> spacer] EGS Group Ltd
> Baird House, 15-17 St. Cross Street
> London, EC1N 8UW    [image: Red Herring Finalist 100 Europe]<http://www.egsgroup.com; [image:
> Government Business Award Winner]<http://www.gbawards.governmentbusiness.co.uk/ar-top100-2011;
>
>
> This message has been scanned for malware by SurfControl plc.
> www.surfcontrol.com
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 13:33  Nishant Singh <nishant.singh@egsgroup.com>
  parent: Dave Cramer <pg@fastcrypt.com>
  1 sibling, 0 replies; 10+ messages in thread

From: Nishant Singh @ 2013-07-29 13:33 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc

Hi Dave,

Thanks for your reply.

In my latest test I have noticed that with new jdbc driver 
(postgresql-9.2-1003.jdbc4.jar), out of total 512 records only first 125 
records are having non-null value for type 'character varying[15)[]' 
field and for the rest of the records (from 126 to 512) field value is 
null.

But with old jdbc driver (postgresql-9.1-903.jdbc4.jar) all 512 records 
are having non-null value for type 'character varying[15)[]' field.Files 
OldDriverWithCursor.txt and NewDriverWithCursor.txtcontain the test logs.

I am not sure whether above is of any help in understanding the actual 
problem or not.

By the way we are planning to revert back to old jdbc driver 
(postgresql-9.1-903.jdbc4.jar) on the live environment having PostgreSQL 
9.2.4 till we can find any solution for the problem.

Do you think that there can be some issue (in general) with old jdbc 
driver(postgresql-9.1-903.jdbc4.jar) and PostgreSQL 9.2.4 combination?

Regards,
Nishant

On 29/07/2013 11:41, Dave Cramer wrote:
>
> Nishant,
>
> Your email does suggest there is a bug in there somewhere. However we 
> would require a bit more of a detailed test case in order to be able 
> to help find it.
>
> Regards,
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca



This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

Attachments:

NewDriverWithCursor.txt (text/plain, 16.1K) download postgresql-9.2-1003.jdbc4.jar: Calling with cursor... Records with cursor: Record No., documentid, documentnumber, accountcode integer counter, integer, character varying(100)), character varying(15)[]) 1, 477579, TEST100168, {0010,0104} 2, 477592, TEST100171, {0010,0105} 3, 477594, TEST100172, {0010,0104} 4, 477596, TEST100173, {0010,0104} 5, 477598, TEST100174, {0010,0104} 6, 477589, TEST100170, {0010,0104} 7, 477600, TEST100175, {0010,0104} 8, 477602, TEST100176, {0010,0104} 9, 477653, TEST100199, {0010,0104} 10, 477604, TEST100177, {0010,0104} 11, 477606, TEST100178, {0010,0104} 12, 477608, TEST100179, {0010,0104} 13, 477610, TEST100180, {0010,0104} 14, 477612, TEST100181, {0010,0104} 15, 477614, TEST100182, {0010,0104} 16, 477616, TEST100183, {0010,0104} 17, 477618, TEST100184, {0010,0104} 18, 477620, TEST100185, {0010,0104} 19, 477656, TEST100200, {0010,0104} 20, 477622, TEST100186, {0010,0105} 21, 477624, TEST100187, {0010,0105} 22, 477626, TEST100188, {0010,0104} 23, 477628, TEST100189, {0010,0104} 24, 477630, TEST100190, {0010,0104} 25, 477658, TEST100201, {0010,0104} 26, 477632, TEST100191, {0010,0104} 27, 477634, TEST100192, {0010,0104} 28, 477636, TEST100193, {0010,0104} 29, 477638, TEST100194, {0010,0104} 30, 477641, TEST100195, {0010,0104} 31, 477660, TEST100202, {0010,0104} 32, 477644, TEST100196, {0010,0104} 33, 477647, TEST100197, {0010,0104} 34, 477651, TEST100198, {0010,0104} 35, 477662, TEST100203, {0010,0104} 36, 477664, TEST100204, {0010,0104} 37, 477667, TEST100205, {0010,0104} 38, 477672, TEST100207, {0010,0104} 39, 477669, TEST100206, {0010,0104} 40, 477674, TEST100208, {0010,0104} 41, 477676, TEST100209, {0010,0104} 42, 477678, TEST100210, {0010,0104} 43, 477527, TEST100149, {0010,0104} 44, 476671, EMTRN00003, {0010,0003} 45, 477081, 571391, {0010,0001} 46, 477356, TEST100090, {0015,0105} 47, 477423, TEST100109, {0015,0105} 48, 477517, TEST100146, {0010,0104} 49, 477520, TEST100147, {0010,0104} 50, 477377, TEST100095, {0015,0105} 51, 477561, TEST100161, {0010,0104} 52, 477563, TEST100162, {0010,0104} 53, 477440, TEST100115, {0015,0105} 54, 476673, EMTRN00004, {0010,0003} 55, 477186, TEST100031, {} 56, 477278, TEST100055, {0015,0105} 57, 476680, EMTRN00007, {0010,0001} 58, 476683, EMTRN00008, {0015,0103} 59, 476686, EMTRN00009, {0015,0105} 60, 477223, TEST100041, {} 61, 477446, TEST100117, {0015,0105} 62, 477529, TEST100150, {0010,0104} 63, 477443, TEST100116, {0015,0105} 64, 477115, TEST100004, {0010,0004} 65, 477044, 571372, {0010,0001} 66, 477048, 571375, {0010,0001} 67, 477050, 571376, {0010,0001} 68, 477053, 571377, {0010,0001} 69, 477055, 571378, {0010,0001} 70, 477057, 571379, {0010,0001} 71, 477059, 571380, {0010,0001} 72, 477061, 571381, {0010,0001} 73, 477063, 571382, {0010,0001} 74, 477065, 571383, {0010,0001} 75, 477067, 571384, {0010,0001} 76, 477069, 571385, {0010,0001} 77, 477071, 571386, {0010,0001} 78, 477073, 571387, {0010,0001} 79, 477075, 571388, {0010,0001} 80, 477077, 571389, {0010,0001} 81, 477079, 571390, {0010,0001} 82, 477085, 571393, {0010,0001} 83, 477117, TEST100005, {0010,0001} 84, 477119, TEST100006, {0010,0001} 85, 477121, TEST100007, {0010,0001} 86, 477123, TEST100008, {0010,0001} 87, 477125, TEST100009, {0010,0001} 88, 477127, TEST100010, {0010,0001} 89, 477137, TEST100011, {0010,0001} 90, 477140, TEST100012, {0010,0001} 91, 477144, TEST100013, {0010,0001} 92, 477146, TEST100014, {0010,0002} 93, 477150, TEST100015, {} 94, 477152, TEST100016, {} 95, 477154, TEST100017, {} 96, 477160, TEST100018, {} 97, 477162, TEST100019, {} 98, 477164, TEST100020, {} 99, 477166, TEST100021, {} 100, 477168, TEST100022, {} 101, 477170, TEST100023, {} 102, 477172, TEST100024, {} 103, 477174, TEST100025, {} 104, 477176, TEST100026, {} 105, 477180, TEST100028, {} 106, 477182, TEST100029, {} 107, 477184, TEST100030, {} 108, 477188, TEST100032, {} 109, 477190, TEST100033, {} 110, 477192, TEST100034, {} 111, 477199, TEST100035, {} 112, 477203, TEST100036, {} 113, 477206, TEST100037, {} 114, 477215, TEST100039, {} 115, 477226, TEST100042, {} 116, 477229, TEST100043, {} 117, 477232, TEST100044, {} 118, 477245, TEST100046, {0015,0103} 119, 477243, TEST100045, {0010,0001} 120, 477254, TEST100048, {0010,0001} 121, 477256, TEST100049, {0010,0001} 122, 477258, TEST100050, {0010,0001} 123, 477260, TEST100051, {0010,0001} 124, 477263, TEST100052, {0010,0001} 125, 477266, TEST100053, {0010,0001} 126, 477270, TEST100054, null 127, 477271, TEST100038, null 128, 477251, TEST100047, null 129, 477280, TEST100056, null 130, 477282, TEST100057, null 131, 477286, TEST100059, null 132, 477289, TEST100060, null 133, 477292, TEST100061, null 134, 477284, TEST100058, null 135, 477294, TEST100062, null 136, 477297, TEST100063, null 137, 477299, TEST100064, null 138, 477301, TEST100065, null 139, 477303, TEST100066, null 140, 477306, TEST100067, null 141, 477309, TEST100068, null 142, 477311, TEST100069, null 143, 477313, TEST100070, null 144, 477315, TEST100071, null 145, 477317, TEST100072, null 146, 477319, TEST100073, null 147, 477321, TEST100074, null 148, 477323, TEST100075, null 149, 477325, TEST100076, null 150, 477327, TEST100077, null 151, 477329, TEST100078, null 152, 477331, TEST100079, null 153, 477333, TEST100080, null 154, 477335, TEST100081, null 155, 477337, TEST100082, null 156, 477339, TEST100083, null 157, 477341, TEST100084, null 158, 477343, TEST100085, null 159, 477347, TEST100087, null 160, 477349, TEST100088, null 161, 477351, TEST100089, null 162, 477360, TEST100091, null 163, 477362, TEST100092, null 164, 477371, TEST100093, null 165, 477383, TEST100096, null 166, 477386, TEST100097, null 167, 477388, TEST100098, null 168, 477399, TEST100101, null 169, 477401, TEST100102, null 170, 477406, TEST100103, null 171, 477409, TEST100104, null 172, 477411, TEST100105, null 173, 477414, TEST100106, null 174, 477416, TEST100107, null 175, 477420, TEST100108, null 176, 477426, TEST100110, null 177, 477428, TEST100111, null 178, 477432, TEST100112, null 179, 477434, TEST100113, null 180, 477438, TEST100114, null 181, 477374, TEST100094, null 182, 477532, TEST100151, null 183, 477535, TEST100152, null 184, 477541, TEST100154, null 185, 477543, TEST100155, null 186, 477546, TEST100156, null 187, 477549, TEST100157, null 188, 477551, TEST100158, null 189, 477559, TEST100160, null 190, 477576, TEST100167, null 191, 477574, TEST100166, null 192, 477570, TEST100164, null 193, 477572, TEST100165, null 194, 476668, EMTRN00002, null 195, 477537, TEST100153, null 196, 477565, TEST100163, null 197, 477523, TEST100148, null 198, 477178, TEST100027, null 199, 477345, TEST100086, null 200, 477450, TEST100119, null 201, 477452, TEST100120, null 202, 477456, TEST100121, null 203, 477459, TEST100122, null 204, 477461, TEST100123, null 205, 477463, TEST100124, null 206, 477465, TEST100125, null 207, 477467, TEST100126, null 208, 477469, TEST100127, null 209, 477471, TEST100128, null 210, 477474, TEST100129, null 211, 477476, TEST100130, null 212, 477478, TEST100131, null 213, 477481, TEST100132, null 214, 477484, TEST100133, null 215, 477486, TEST100134, null 216, 477489, TEST100135, null 217, 477491, TEST100136, null 218, 477493, TEST100137, null 219, 477495, TEST100138, null 220, 477498, TEST100139, null 221, 477502, TEST100141, null 222, 477500, TEST100140, null 223, 477505, TEST100142, null 224, 477508, TEST100143, null 225, 477511, TEST100144, null 226, 477514, TEST100145, null 227, 476666, EMTRN00001, null 228, 476675, EMTRN00005, null 229, 477584, TEST100169, null 230, 476678, EMTRN00006, null 231, 477221, TEST100040, null 232, 477448, TEST100118, null 233, 477083, 571392, null 234, 477391, TEST100099, null 235, 477394, TEST100100, null 236, 477553, TEST100159, null 237, 477683, TEST100211, null 238, 477687, TEST100212, null 239, 477692, TEST100213, null 240, 477695, TEST100214, null 241, 477697, TEST100215, null 242, 477699, TEST100216, null 243, 477701, TEST100217, null 244, 477703, TEST100218, null 245, 477705, pu001184, null 246, 477707, 620000364, null 247, 477710, Essex1003, null 248, 477712, Essex1004, null 249, 477714, Essex1005, null 250, 477716, Essex1006, null 251, 477718, Essex1007, null 252, 477720, Essex1007, null 253, 477722, Essex1007, null 254, 477724, 120038913, null 255, 477726, 120038953, null 256, 477728, 120038953-up, null 257, 477731, TEST100219, null 258, 477733, TEST100220, null 259, 477735, TEST100221, null 260, 477737, TEST100222, null 261, 477741, TEST100223, null 262, 477755, TEST100225, null 263, 477758, TEST100226, null 264, 477761, TEST100227, null 265, 477764, TEST100228, null 266, 477779, TEST100229, null 267, 477781, TEST100230, null 268, 477783, TEST100231, null 269, 477785, TEST100232, null 270, 477792, TEST100233, null 271, 477802, TEST100235, null 272, 477795, TEST100234, null 273, 477807, TEST100236, null 274, 477810, TEST100237, null 275, 477812, TEST100238, null 276, 477814, TEST100239, null 277, 477816, TEST100240, null 278, 477818, TEST100241, null 279, 477820, TEST100242, null 280, 477841, TEST100243, null 281, 477852, TEST100244, null 282, 477899, TEST100245, null 283, 477902, TEST100246, null 284, 477904, TEST100247, null 285, 477906, TEST100248, null 286, 477908, TEST100249, null 287, 477910, TEST100250, null 288, 477912, TEST100251, null 289, 477914, TEST100252, null 290, 477941, TEST100254, null 291, 477946, TEST100255, null 292, 478044, TEST100256, null 293, 478152, TEST100257, null 294, 478154, TEST100258, null 295, 478156, TEST100259, null 296, 478158, TEST100260, null 297, 478160, TEST100261, null 298, 478190, TEST100262, null 299, 478192, TEST100263, null 300, 478194, TEST100264, null 301, 478198, TEST100265, null 302, 478204, TEST100266, null 303, 478233, TEST100267, null 304, 478235, TEST100268, null 305, 478237, TEST100269, null 306, 478263, TEST100270, null 307, 478265, TEST100271, null 308, 478267, PO271-06, null 309, 478273, PO271-09, null 310, 478275, PO271-10, null 311, 478277, PO271-11, null 312, 478279, PO271-12, null 313, 477918, TEST100253, null 314, 478281, PO271-13, null 315, 478283, TEST100272, null 316, 478285, PO271-14, null 317, 478287, PO271-15, null 318, 478289, PO271-16, null 319, 478291, TEST100273, null 320, 478292, TEST100274, null 321, 478294, TEST100275, null 322, 478295, TEST100276, null 323, 478297, PO271-19, null 324, 478299, PO271-19, null 325, 478301, PO271-20, null 326, 478303, PO271-20, null 327, 478305, PO271-21, null 328, 478307, PO271-21, null 329, 478309, PO271-22, null 330, 478311, TEST100277, null 331, 478313, PO271-22, null 332, 478315, PO271-23, null 333, 478317, PO271-25, null 334, 478319, TEST100278, null 335, 478321, TEST100279, null 336, 478328, TEST100280, null 337, 478329, TEST100281, null 338, 478331, TEST100282, null 339, 478332, TEST100283, null 340, 478334, TEST100284, null 341, 478336, TEST100285, null 342, 478338, TEST100286, null 343, 478340, TEST100287, null 344, 478342, TEST100288, null 345, 478344, TEST100289, null 346, 478346, TEST100290, null 347, 478348, TEST100291, null 348, 478350, TEST100292, null 349, 478352, TEST100293, null 350, 478353, TEST100294, null 351, 478359, TEST100295, null 352, 478361, TEST100296, null 353, 478362, TEST100297, null 354, 478368, TEST100299, null 355, 478365, TEST100298, null 356, 478374, TEST100300, null 357, 478376, TEST100301, null 358, 478378, TEST100302, null 359, 478380, TEST100303, null 360, 478381, TEST100304, null 361, 478383, TEST100305, null 362, 478385, TEST100306, null 363, 478394, PO271-100, null 364, 478396, PO271-101, null 365, 478398, PO271-101, null 366, 478400, PO271-101, null 367, 478402, PO271-101, null 368, 478404, PO271-102, null 369, 478389, TEST100308, null 370, 478387, TEST100307, null 371, 478409, TEST100309, null 372, 478411, TEST100310, null 373, 478418, TEST100311, null 374, 478423, TEST100312, null 375, 478425, TEST100313, null 376, 478428, TEST100314, null 377, 478430, TEST100315, null 378, 478432, TEST100316, null 379, 478434, TEST & 1100317, null 380, 478436, TEST & 1100318, null 381, 478438, TEST & 1100319, null 382, 478440, TEST & 1100320, null 383, 478442, TEST & 1100321, null 384, 478448, TEST & 1100324, null 385, 478450, TEST & 1100325, null 386, 478452, TEST & 1100326, null 387, 478456, TEST100327, null 388, 478458, TEST100328, null 389, 478460, TEST100329, null 390, 478462, TEST100330, null 391, 478465, TEST100331, null 392, 478467, TEST100332, null 393, 478469, TEST100333, null 394, 478471, TEST100334, null 395, 478473, TEST100335, null 396, 478475, TEST100336, null 397, 478477, TEST100337, null 398, 478479, TEST100338, null 399, 478481, TEST100339, null 400, 478483, TEST100340, null 401, 478485, TEST100341, null 402, 478487, TEST100342, null 403, 478492, TEST100343, null 404, 478494, TEST100344, null 405, 478498, TEST100346, null 406, 478509, TEST100347, null 407, 478513, TEST100348, null 408, 478525, TEST100349, null 409, 478527, TEST100350, null 410, 478529, TEST100351, null 411, 478533, APDC0000011, null 412, 478531, TEST100352, null 413, 478545, TEST100353, null 414, 478552, TEST100354, null 415, 478554, TEST100355, null 416, 478556, TEST100356, null 417, 478560, TEST100358, null 418, 478558, TEST100357, null 419, 478563, TEST100359, null 420, 478567, TEST100360, null 421, 478406, PO271-102, null 422, 478496, TEST100345, null 423, 478585, TEST100361, null 424, 478602, TEST100362, null 425, 478605, TEST100363, null 426, 478654, TEST100364, null 427, 478658, TEST100365, null 428, 478661, TEST100366, null 429, 478668, TEST100367, null 430, 478671, TEST100368, null 431, 478674, TEST100369, null 432, 478677, TEST100370, null 433, 478680, TEST100371, null 434, 478683, TEST100372, null 435, 478686, TEST100373, null 436, 478689, TEST100374, null 437, 478692, TEST100375, null 438, 478695, TEST100376, null 439, 478698, TEST100377, null 440, 478701, TEST100378, null 441, 478704, TEST100379, null 442, 478708, TEST100380, null 443, 478711, TEST100381, null 444, 478714, TEST100382, null 445, 478717, TEST100383, null 446, 478720, TEST100384, null 447, 478723, TEST100385, null 448, 478726, TEST100386, null 449, 478795, TEST100403, null 450, 478800, TEST100405, null 451, 478729, TEST100387, null 452, 478732, TEST100388, null 453, 478735, TEST100389, null 454, 478791, TEST100402, null 455, 478738, TEST100390, null 456, 478741, TEST100391, null 457, 478744, TEST100392, null 458, 478747, TEST100393, null 459, 478750, TEST100394, null 460, 478753, TEST100395, null 461, 478756, TEST100396, null 462, 478759, TEST100397, null 463, 478775, TEST100398, null 464, 478778, TEST100400, null 465, 478780, TEST100401, null 466, 478798, TEST100404, null 467, 478802, TEST100406, null 468, 478803, TEST100407, null 469, 478805, TEST100408, null 470, 478807, TEST100409, null 471, 478809, TEST100410, null 472, 478811, TEST100411, null 473, 478814, TEST100412, null 474, 478816, TEST100413, null 475, 478818, TEST100414, null 476, 478910, TEST100415, null 477, 478912, TEST100416, null 478, 478914, TEST100417, null 479, 478916, TEST100418, null 480, 478918, TEST100419, null 481, 478920, TEST100420, null 482, 478922, TEST100421, null 483, 478924, TEST100422, null 484, 478926, TEST100423, null 485, 478928, TEST100424, null 486, 478930, TEST100425, null 487, 478932, TEST100426, null 488, 478934, TEST100427, null 489, 478936, TEST100428, null 490, 478938, TEST100429, null 491, 478940, TEST100430, null 492, 478942, TEST100431, null 493, 478944, TEST100432, null 494, 478946, TEST100433, null 495, 478948, TEST100434, null 496, 478950, TEST100435, null 497, 478952, TEST100436, null 498, 478954, TEST100437, null 499, 478956, TEST100438, null 500, 478958, TEST100439, null 501, 478960, TEST100440, null 502, 478962, TEST100441, null 503, 478964, TEST100442, null 504, 478966, TEST100443, null 505, 478968, TEST100444, null 506, 478970, TEST100445, null 507, 478972, TEST100446, null 508, 478444, T1100322, null 509, 478446, T1100323, null 510, 478974, TEST100447, null 511, 478976, TEST100448, null 512, 478767, TEST-SUB100399, null
OldDriverWithCursor.txt (text/plain, 19.9K) download postgresql-9.1-903.jdbc4.jar: Calling with cursor... Records with cursor: Record No., documentid, documentnumber, accountcode integer counter, integer, character varying(100)), character varying(15)[]) 1, 477579, TEST100168, {0010,0104} 2, 477592, TEST100171, {0010,0105} 3, 477594, TEST100172, {0010,0104} 4, 477596, TEST100173, {0010,0104} 5, 477598, TEST100174, {0010,0104} 6, 477589, TEST100170, {0010,0104} 7, 477600, TEST100175, {0010,0104} 8, 477602, TEST100176, {0010,0104} 9, 477653, TEST100199, {0010,0104} 10, 477604, TEST100177, {0010,0104} 11, 477606, TEST100178, {0010,0104} 12, 477608, TEST100179, {0010,0104} 13, 477610, TEST100180, {0010,0104} 14, 477612, TEST100181, {0010,0104} 15, 477614, TEST100182, {0010,0104} 16, 477616, TEST100183, {0010,0104} 17, 477618, TEST100184, {0010,0104} 18, 477620, TEST100185, {0010,0104} 19, 477656, TEST100200, {0010,0104} 20, 477622, TEST100186, {0010,0105} 21, 477624, TEST100187, {0010,0105} 22, 477626, TEST100188, {0010,0104} 23, 477628, TEST100189, {0010,0104} 24, 477630, TEST100190, {0010,0104} 25, 477658, TEST100201, {0010,0104} 26, 477632, TEST100191, {0010,0104} 27, 477634, TEST100192, {0010,0104} 28, 477636, TEST100193, {0010,0104} 29, 477638, TEST100194, {0010,0104} 30, 477641, TEST100195, {0010,0104} 31, 477660, TEST100202, {0010,0104} 32, 477644, TEST100196, {0010,0104} 33, 477647, TEST100197, {0010,0104} 34, 477651, TEST100198, {0010,0104} 35, 477662, TEST100203, {0010,0104} 36, 477664, TEST100204, {0010,0104} 37, 477667, TEST100205, {0010,0104} 38, 477672, TEST100207, {0010,0104} 39, 477669, TEST100206, {0010,0104} 40, 477674, TEST100208, {0010,0104} 41, 477676, TEST100209, {0010,0104} 42, 477678, TEST100210, {0010,0104} 43, 477527, TEST100149, {0010,0104} 44, 476671, EMTRN00003, {0010,0003} 45, 477081, 571391, {0010,0001} 46, 477356, TEST100090, {0015,0105} 47, 477423, TEST100109, {0015,0105} 48, 477517, TEST100146, {0010,0104} 49, 477520, TEST100147, {0010,0104} 50, 477377, TEST100095, {0015,0105} 51, 477561, TEST100161, {0010,0104} 52, 477563, TEST100162, {0010,0104} 53, 477440, TEST100115, {0015,0105} 54, 476673, EMTRN00004, {0010,0003} 55, 477186, TEST100031, {} 56, 477278, TEST100055, {0015,0105} 57, 476680, EMTRN00007, {0010,0001} 58, 476683, EMTRN00008, {0015,0103} 59, 476686, EMTRN00009, {0015,0105} 60, 477223, TEST100041, {} 61, 477446, TEST100117, {0015,0105} 62, 477529, TEST100150, {0010,0104} 63, 477443, TEST100116, {0015,0105} 64, 477115, TEST100004, {0010,0004} 65, 477044, 571372, {0010,0001} 66, 477048, 571375, {0010,0001} 67, 477050, 571376, {0010,0001} 68, 477053, 571377, {0010,0001} 69, 477055, 571378, {0010,0001} 70, 477057, 571379, {0010,0001} 71, 477059, 571380, {0010,0001} 72, 477061, 571381, {0010,0001} 73, 477063, 571382, {0010,0001} 74, 477065, 571383, {0010,0001} 75, 477067, 571384, {0010,0001} 76, 477069, 571385, {0010,0001} 77, 477071, 571386, {0010,0001} 78, 477073, 571387, {0010,0001} 79, 477075, 571388, {0010,0001} 80, 477077, 571389, {0010,0001} 81, 477079, 571390, {0010,0001} 82, 477085, 571393, {0010,0001} 83, 477117, TEST100005, {0010,0001} 84, 477119, TEST100006, {0010,0001} 85, 477121, TEST100007, {0010,0001} 86, 477123, TEST100008, {0010,0001} 87, 477125, TEST100009, {0010,0001} 88, 477127, TEST100010, {0010,0001} 89, 477137, TEST100011, {0010,0001} 90, 477140, TEST100012, {0010,0001} 91, 477144, TEST100013, {0010,0001} 92, 477146, TEST100014, {0010,0002} 93, 477150, TEST100015, {} 94, 477152, TEST100016, {} 95, 477154, TEST100017, {} 96, 477160, TEST100018, {} 97, 477162, TEST100019, {} 98, 477164, TEST100020, {} 99, 477166, TEST100021, {} 100, 477168, TEST100022, {} 101, 477170, TEST100023, {} 102, 477172, TEST100024, {} 103, 477174, TEST100025, {} 104, 477176, TEST100026, {} 105, 477180, TEST100028, {} 106, 477182, TEST100029, {} 107, 477184, TEST100030, {} 108, 477188, TEST100032, {} 109, 477190, TEST100033, {} 110, 477192, TEST100034, {} 111, 477199, TEST100035, {} 112, 477203, TEST100036, {} 113, 477206, TEST100037, {} 114, 477215, TEST100039, {} 115, 477226, TEST100042, {} 116, 477229, TEST100043, {} 117, 477232, TEST100044, {} 118, 477245, TEST100046, {0015,0103} 119, 477243, TEST100045, {0010,0001} 120, 477254, TEST100048, {0010,0001} 121, 477256, TEST100049, {0010,0001} 122, 477258, TEST100050, {0010,0001} 123, 477260, TEST100051, {0010,0001} 124, 477263, TEST100052, {0010,0001} 125, 477266, TEST100053, {0010,0001} 126, 477270, TEST100054, {0010,0101} 127, 477271, TEST100038, {0010,0001} 128, 477251, TEST100047, {0010,0001} 129, 477280, TEST100056, {0015,0105} 130, 477282, TEST100057, {0015,0105} 131, 477286, TEST100059, {0015,0105} 132, 477289, TEST100060, {0015,0105} 133, 477292, TEST100061, {0015,0105} 134, 477284, TEST100058, {0015,0105} 135, 477294, TEST100062, {0015,0105} 136, 477297, TEST100063, {0015,0105} 137, 477299, TEST100064, {0015,0105} 138, 477301, TEST100065, {0015,0105} 139, 477303, TEST100066, {0015,0105} 140, 477306, TEST100067, {0015,0105} 141, 477309, TEST100068, {0015,0105} 142, 477311, TEST100069, {0015,0105} 143, 477313, TEST100070, {0015,0105} 144, 477315, TEST100071, {0015,0105} 145, 477317, TEST100072, {0015,0105} 146, 477319, TEST100073, {0015,0105} 147, 477321, TEST100074, {0015,0105} 148, 477323, TEST100075, {0015,0105} 149, 477325, TEST100076, {0015,0105} 150, 477327, TEST100077, {0015,0105} 151, 477329, TEST100078, {0015,0105} 152, 477331, TEST100079, {0015,0105} 153, 477333, TEST100080, {0015,0105} 154, 477335, TEST100081, {0015,0105} 155, 477337, TEST100082, {0015,0105} 156, 477339, TEST100083, {0015,0105} 157, 477341, TEST100084, {0015,0105} 158, 477343, TEST100085, {0015,0105} 159, 477347, TEST100087, {0015,0105} 160, 477349, TEST100088, {0015,0105} 161, 477351, TEST100089, {0015,0105} 162, 477360, TEST100091, {0015,0105} 163, 477362, TEST100092, {0015,0105} 164, 477371, TEST100093, {0015,0105} 165, 477383, TEST100096, {0015,0105} 166, 477386, TEST100097, {0015,0105} 167, 477388, TEST100098, {0015,0105} 168, 477399, TEST100101, {0015,0105} 169, 477401, TEST100102, {0015,0105} 170, 477406, TEST100103, {0015,0105} 171, 477409, TEST100104, {0015,0105} 172, 477411, TEST100105, {0015,0105} 173, 477414, TEST100106, {0015,0105} 174, 477416, TEST100107, {0015,0105} 175, 477420, TEST100108, {0015,0105} 176, 477426, TEST100110, {0015,0105} 177, 477428, TEST100111, {0015,0105} 178, 477432, TEST100112, {0015,0105} 179, 477434, TEST100113, {0015,0105} 180, 477438, TEST100114, {0015,0105} 181, 477374, TEST100094, {0015,0105} 182, 477532, TEST100151, {0010,0104} 183, 477535, TEST100152, {0010,0105} 184, 477541, TEST100154, {0010,0104} 185, 477543, TEST100155, {0010,0105} 186, 477546, TEST100156, {0010,0104} 187, 477549, TEST100157, {0010,0105} 188, 477551, TEST100158, {0010,0104} 189, 477559, TEST100160, {0010,0104} 190, 477576, TEST100167, {0010,0105} 191, 477574, TEST100166, {0010,0105} 192, 477570, TEST100164, {0010,0104} 193, 477572, TEST100165, {0010,0104} 194, 476668, EMTRN00002, {0010,0001} 195, 477537, TEST100153, {0010,0104} 196, 477565, TEST100163, {0010,0104} 197, 477523, TEST100148, {0010,0104} 198, 477178, TEST100027, {} 199, 477345, TEST100086, {0015,0105} 200, 477450, TEST100119, {0015,0105} 201, 477452, TEST100120, {0015,0105} 202, 477456, TEST100121, {0015,0105} 203, 477459, TEST100122, {0015,0105} 204, 477461, TEST100123, {0015,0105} 205, 477463, TEST100124, {0015,0105} 206, 477465, TEST100125, {0015,0105} 207, 477467, TEST100126, {0015,0105} 208, 477469, TEST100127, {0015,0105} 209, 477471, TEST100128, {0015,0105} 210, 477474, TEST100129, {0015,0105} 211, 477476, TEST100130, {0015,0105} 212, 477478, TEST100131, {0015,0105} 213, 477481, TEST100132, {0015,0105} 214, 477484, TEST100133, {0015,0105} 215, 477486, TEST100134, {0015,0105} 216, 477489, TEST100135, {0015,0105} 217, 477491, TEST100136, {0015,0105} 218, 477493, TEST100137, {0015,0105} 219, 477495, TEST100138, {0015,0105} 220, 477498, TEST100139, {0015,0105} 221, 477502, TEST100141, {0015,0105} 222, 477500, TEST100140, {0015,0105} 223, 477505, TEST100142, {0015,0105} 224, 477508, TEST100143, {0015,0105} 225, 477511, TEST100144, {0015,0105} 226, 477514, TEST100145, {0015,0105} 227, 476666, EMTRN00001, {0015,0102} 228, 476675, EMTRN00005, {0010,0003} 229, 477584, TEST100169, {0010,0104} 230, 476678, EMTRN00006, {0010,0001} 231, 477221, TEST100040, {} 232, 477448, TEST100118, {0015,0105} 233, 477083, 571392, {0010,0001} 234, 477391, TEST100099, {0015,0105} 235, 477394, TEST100100, {0015,0105} 236, 477553, TEST100159, {0010,0104} 237, 477683, TEST100211, {0010,0104} 238, 477687, TEST100212, {0010,0104} 239, 477692, TEST100213, {0010,0104} 240, 477695, TEST100214, {0010,0102} 241, 477697, TEST100215, {0010,0102} 242, 477699, TEST100216, {0010,0102} 243, 477701, TEST100217, {0010,0102} 244, 477703, TEST100218, {0010,0102} 245, 477705, pu001184, {"","","",""} 246, 477707, 620000364, {"","","",""} 247, 477710, Essex1003, {"","","",""} 248, 477712, Essex1004, {"","","",""} 249, 477714, Essex1005, {"","","",""} 250, 477716, Essex1006, {"","","",""} 251, 477718, Essex1007, {"","","",""} 252, 477720, Essex1007, {"","","",""} 253, 477722, Essex1007, {"","","",""} 254, 477724, 120038913, {"","","",""} 255, 477726, 120038953, {"","","",""} 256, 477728, 120038953-up, {"","","",""} 257, 477731, TEST100219, {0010,0102} 258, 477733, TEST100220, {0010,0102} 259, 477735, TEST100221, {0010,0102} 260, 477737, TEST100222, {0010,0102} 261, 477741, TEST100223, {0010,0102} 262, 477755, TEST100225, {0010,0102} 263, 477758, TEST100226, {0010,0102} 264, 477761, TEST100227, {0010,0102} 265, 477764, TEST100228, {0010,0102} 266, 477779, TEST100229, {0010,0102} 267, 477781, TEST100230, {0010,0102} 268, 477783, TEST100231, {0010,0102} 269, 477785, TEST100232, {0010,0102} 270, 477792, TEST100233, {0010,0102} 271, 477802, TEST100235, {0010,0102} 272, 477795, TEST100234, {0010,0102} 273, 477807, TEST100236, {0010,0102} 274, 477810, TEST100237, {0010,0102} 275, 477812, TEST100238, {0010,0102} 276, 477814, TEST100239, {0010,0102} 277, 477816, TEST100240, {0010,0102} 278, 477818, TEST100241, {"",""} 279, 477820, TEST100242, {"",""} 280, 477841, TEST100243, {0010,0101} 281, 477852, TEST100244, {0010,0001} 282, 477899, TEST100245, {0010,0001} 283, 477902, TEST100246, {0010,0001} 284, 477904, TEST100247, {0010,0001} 285, 477906, TEST100248, {0010,0001} 286, 477908, TEST100249, {0010,0001} 287, 477910, TEST100250, {0010,0001} 288, 477912, TEST100251, {0010,0001} 289, 477914, TEST100252, {0010,0001} 290, 477941, TEST100254, {0010,""} 291, 477946, TEST100255, {0010,0001} 292, 478044, TEST100256, {0010,0001} 293, 478152, TEST100257, {} 294, 478154, TEST100258, {} 295, 478156, TEST100259, {} 296, 478158, TEST100260, {} 297, 478160, TEST100261, {} 298, 478190, TEST100262, {0010,0001} 299, 478192, TEST100263, {0010,0001} 300, 478194, TEST100264, {0010,0001} 301, 478198, TEST100265, {0010,0001} 302, 478204, TEST100266, {0010,0001} 303, 478233, TEST100267, {0010,0001} 304, 478235, TEST100268, {0010,0001} 305, 478237, TEST100269, {0010,0001} 306, 478263, TEST100270, {0010,0001} 307, 478265, TEST100271, {0010,0001} 308, 478267, PO271-06, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 309, 478273, PO271-09, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 310, 478275, PO271-10, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 311, 478277, PO271-11, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 312, 478279, PO271-12, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 313, 477918, TEST100253, {"",""} 314, 478281, PO271-13, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 315, 478283, TEST100272, {0010,0001} 316, 478285, PO271-14, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 317, 478287, PO271-15, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 318, 478289, PO271-16, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 319, 478291, TEST100273, {0010,0001} 320, 478292, TEST100274, {0010,0001} 321, 478294, TEST100275, {0010,0001} 322, 478295, TEST100276, {0010,0001} 323, 478297, PO271-19, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 324, 478299, PO271-19, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 325, 478301, PO271-20, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 326, 478303, PO271-20, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 327, 478305, PO271-21, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 328, 478307, PO271-21, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 329, 478309, PO271-22, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 330, 478311, TEST100277, {0010,0001} 331, 478313, PO271-22, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 332, 478315, PO271-23, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 333, 478317, PO271-25, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 334, 478319, TEST100278, {0010,0001} 335, 478321, TEST100279, {0010,0001} 336, 478328, TEST100280, {0010,0001} 337, 478329, TEST100281, {0010,0001} 338, 478331, TEST100282, {0010,0001} 339, 478332, TEST100283, {0010,0001} 340, 478334, TEST100284, {0010,0001} 341, 478336, TEST100285, {0010,0001} 342, 478338, TEST100286, {0010,0001} 343, 478340, TEST100287, {0010,0001} 344, 478342, TEST100288, {0010,0001} 345, 478344, TEST100289, {0010,0001} 346, 478346, TEST100290, {0010,0001} 347, 478348, TEST100291, {0010,0001} 348, 478350, TEST100292, {0010,0001} 349, 478352, TEST100293, {0010,0001} 350, 478353, TEST100294, {0010,0001} 351, 478359, TEST100295, {0010,0001} 352, 478361, TEST100296, {0010,0001} 353, 478362, TEST100297, {0010,0001} 354, 478368, TEST100299, {0010,0001} 355, 478365, TEST100298, {0010,0001} 356, 478374, TEST100300, {0010,0001} 357, 478376, TEST100301, {0010,0001} 358, 478378, TEST100302, {0010,0001} 359, 478380, TEST100303, {0010,0001} 360, 478381, TEST100304, {0010,0001} 361, 478383, TEST100305, {0010,0001} 362, 478385, TEST100306, {0010,0001} 363, 478394, PO271-100, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 364, 478396, PO271-101, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 365, 478398, PO271-101, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 366, 478400, PO271-101, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 367, 478402, PO271-101, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 368, 478404, PO271-102, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 369, 478389, TEST100308, {0010,0001} 370, 478387, TEST100307, {0010,0001} 371, 478409, TEST100309, {0010,0001} 372, 478411, TEST100310, {0010,0001} 373, 478418, TEST100311, {0010,0001} 374, 478423, TEST100312, {0010,0001} 375, 478425, TEST100313, {0010,0001} 376, 478428, TEST100314, {0010,0001} 377, 478430, TEST100315, {0010,0001} 378, 478432, TEST100316, {0010,0001} 379, 478434, TEST & 1100317, {"A & B","B & C"} 380, 478436, TEST & 1100318, {"A & B","B & C"} 381, 478438, TEST & 1100319, {"A & B","B & C"} 382, 478440, TEST & 1100320, {0010,0001} 383, 478442, TEST & 1100321, {0010,0001} 384, 478448, TEST & 1100324, {0010,0001} 385, 478450, TEST & 1100325, {0010,0001} 386, 478452, TEST & 1100326, {0010,0001} 387, 478456, TEST100327, {0010,0001} 388, 478458, TEST100328, {0010,0001} 389, 478460, TEST100329, {0010,0001} 390, 478462, TEST100330, {0010,0001} 391, 478465, TEST100331, {0010,0001} 392, 478467, TEST100332, {0010,0001} 393, 478469, TEST100333, {0010,0001} 394, 478471, TEST100334, {0010,0001} 395, 478473, TEST100335, {0010,0001} 396, 478475, TEST100336, {0010,0001} 397, 478477, TEST100337, {0010,0001} 398, 478479, TEST100338, {0010,0001} 399, 478481, TEST100339, {0010,0001} 400, 478483, TEST100340, {0010,0001} 401, 478485, TEST100341, {0010,0001} 402, 478487, TEST100342, {0010,0001} 403, 478492, TEST100343, {700,0000} 404, 478494, TEST100344, {700,0000} 405, 478498, TEST100346, {700,0000} 406, 478509, TEST100347, {4720,PAAZ01,""} 407, 478513, TEST100348, {4720,PAAZ01,X} 408, 478525, TEST100349, {A,B,C} 409, 478527, TEST100350, {A,B,C} 410, 478529, TEST100351, {A,B,C} 411, 478533, APDC0000011, {"","","",""} 412, 478531, TEST100352, {A,B,C} 413, 478545, TEST100353, {A,B,C} 414, 478552, TEST100354, {A,B,C} 415, 478554, TEST100355, {A,B,C} 416, 478556, TEST100356, {A,B,C} 417, 478560, TEST100358, {A,B,C} 418, 478558, TEST100357, {A,B,C} 419, 478563, TEST100359, {A,B,C} 420, 478567, TEST100360, {1001,1002} 421, 478406, PO271-102, {ORDERCOSTCENTRE,GENLEDGERCODE,PROJECTCODE,PROJANALCODE} 422, 478496, TEST100345, {700,0000} 423, 478585, TEST100361, {1001,1004} 424, 478602, TEST100362, {1001,1002} 425, 478605, TEST100363, {1001,1002} 426, 478654, TEST100364, {8113,COZPF01,""} 427, 478658, TEST100365, {8113,COZLG01,""} 428, 478661, TEST100366, {8113,COZLG01,""} 429, 478668, TEST100367, {8113,COZLG01,""} 430, 478671, TEST100368, {8113,COZLG01,""} 431, 478674, TEST100369, {8113,COZLG01,""} 432, 478677, TEST100370, {8113,COZLG01,""} 433, 478680, TEST100371, {8113,COZLG01,""} 434, 478683, TEST100372, {8113,COZLG01,""} 435, 478686, TEST100373, {8111,CFZRV01,""} 436, 478689, TEST100374, {8111,CFZRV01,""} 437, 478692, TEST100375, {8111,CFZRV01,""} 438, 478695, TEST100376, {8111,CFZRV01,""} 439, 478698, TEST100377, {8111,CFZRV01,""} 440, 478701, TEST100378, {8111,CFZRV01,""} 441, 478704, TEST100379, {8111,CFZRV01,""} 442, 478708, TEST100380, {8111,CFZRV01,""} 443, 478711, TEST100381, {8111,CFZRV01,""} 444, 478714, TEST100382, {8111,CFZRV01,""} 445, 478717, TEST100383, {8111,CFZRV01,""} 446, 478720, TEST100384, {8111,CFZRV01,""} 447, 478723, TEST100385, {8111,CFZRV01,""} 448, 478726, TEST100386, {8111,CFZRV01,""} 449, 478795, TEST100403, {10,100} 450, 478800, TEST100405, {10,100} 451, 478729, TEST100387, {8111,CFZRV01,""} 452, 478732, TEST100388, {8111,CFZRV01,""} 453, 478735, TEST100389, {8111,CFZRV01,""} 454, 478791, TEST100402, {10,100} 455, 478738, TEST100390, {8111,CFZRV01,""} 456, 478741, TEST100391, {8111,CFZRV01,""} 457, 478744, TEST100392, {8111,CFZRV01,""} 458, 478747, TEST100393, {8111,CFZRV01,""} 459, 478750, TEST100394, {8111,CFZRV01,""} 460, 478753, TEST100395, {8111,CFZRV01,""} 461, 478756, TEST100396, {8111,CFZRV01,""} 462, 478759, TEST100397, {8111,CFZRV01,""} 463, 478775, TEST100398, {8111,CFZRV01,""} 464, 478778, TEST100400, {8111,CFZRV01,""} 465, 478780, TEST100401, {8111,CFZRV01,""} 466, 478798, TEST100404, {10,100} 467, 478802, TEST100406, {10,100} 468, 478803, TEST100407, {10,100} 469, 478805, TEST100408, {10,100} 470, 478807, TEST100409, {10,100} 471, 478809, TEST100410, {10,100} 472, 478811, TEST100411, {10,100} 473, 478814, TEST100412, {10,100} 474, 478816, TEST100413, {10,100} 475, 478818, TEST100414, {10,100} 476, 478910, TEST100415, {10,100} 477, 478912, TEST100416, {10,100} 478, 478914, TEST100417, {10,100} 479, 478916, TEST100418, {10,100} 480, 478918, TEST100419, {10,100} 481, 478920, TEST100420, {10,100} 482, 478922, TEST100421, {10,100} 483, 478924, TEST100422, {10,100} 484, 478926, TEST100423, {10,100} 485, 478928, TEST100424, {10,100} 486, 478930, TEST100425, {10,100} 487, 478932, TEST100426, {10,100} 488, 478934, TEST100427, {10,100} 489, 478936, TEST100428, {10,100} 490, 478938, TEST100429, {20,200} 491, 478940, TEST100430, {10,100} 492, 478942, TEST100431, {10,100} 493, 478944, TEST100432, {10,100} 494, 478946, TEST100433, {20,200} 495, 478948, TEST100434, {20,200} 496, 478950, TEST100435, {20,200} 497, 478952, TEST100436, {20,200} 498, 478954, TEST100437, {20,200} 499, 478956, TEST100438, {10,100} 500, 478958, TEST100439, {10,100} 501, 478960, TEST100440, {10,100} 502, 478962, TEST100441, {10,100} 503, 478964, TEST100442, {10,100} 504, 478966, TEST100443, {10,100} 505, 478968, TEST100444, {10,100} 506, 478970, TEST100445, {10,100} 507, 478972, TEST100446, {10,100} 508, 478444, T1100322, {0010,0001} 509, 478446, T1100323, {0010,0001} 510, 478974, TEST100447, {10,100} 511, 478976, TEST100448, {10,100} 512, 478767, TEST-SUB100399, {0010,0101}
^ permalink raw reply [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 13:37  Dave Cramer <pg@fastcrypt.com>
  parent: Dave Cramer <pg@fastcrypt.com>
  1 sibling, 1 reply; 10+ messages in thread

From: Dave Cramer @ 2013-07-29 13:37 UTC (permalink / raw)
  To: Nishant Singh <nishant.singh@egsgroup.com>; +Cc: pgsql-jdbc

Nishant,

The old driver should work fine with pg 9.2 I am wondering if this is an
artifact of the binary transfer,

Can you try with binaryTransfer=false

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Mon, Jul 29, 2013 at 9:14 AM, Nishant Singh
<nishant.singh@egsgroup.com>wrote:

>  Hi Dave,
>
> Thanks for your reply.
>
> In my latest test I have noticed that with new jdbc driver
> (postgresql-9.2-1003.jdbc4.jar), out of total 512 records only first 125
> records are having non-null value for type 'character varying[15)[]' field
> and for the rest of the records (from 126 to 512) field value is null.
>
> But with old jdbc driver (postgresql-9.1-903.jdbc4.jar) all 512 records
> are having non-null value for type 'character varying[15)[]' field. File Comparison-of-results.jpg
> shows the comparison of test logs (OldDriverWithCursor.txt and
> NewDriverWithCursor.txt) for the two drivers.
>
> I am not sure whether above is of any help in understanding the actual
> problem or not.
>
> By the way we are planning to revert back to old jdbc driver (postgresql-9.1-903.jdbc4.jar)
> on the live environment having PostgreSQL 9.2.4 till we can find any
> solution for the problem.
>
> Do you think that there can be some issue (in general) with old jdbc
> driver(postgresql-9.1-903.jdbc4.jar) and PostgreSQL 9.2.4 combination?
>
> Regards,
> Nishant
>
>
>  On 29/07/2013 11:41, Dave Cramer wrote:
>
>
>  Nishant,
>
>  Your email does suggest there is a bug in there somewhere. However we
> would require a bit more of a detailed test case in order to be able to
> help find it.
>
>  Regards,
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh <
> nishant.singh@egsgroup.com> wrote:
>
>>  Hi,
>>
>> My Java web application uses PostgreSQL. It has a document table with one
>> of the field called accountCode of type character varying(15)[]
>>
>> In the logic table records are accessed through cursor. Thats is being
>> done through Apache Torque.(schema.xml: ...<table name="document"
>> idMethod="native">... <column name="accountCode" type="CLOB"
>> javaName="AccountCodeString"/>..)
>>
>> PostgreSQL log for the cursor are as follows:
>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>> DECLARE CursIt4 CURSOR FOR SELECT document.DOCUMENTID,
>> document.DOCUMENTNUMBER, document.ADHOCDOCUMENTNUM, document.ORGUNITID,
>> document.ACCOUNTID, document.TEMPLATEID, document.REFDOCUMENTID,
>> document.DOCUMENTTITLE, document.STATUSID, document.STATUSSTR,
>> document.DOCUMENTDATE, document.MODTYPEID, document.DELETEFLAG,
>> document.CURRENTSTEP, document.ITEMSREADONLY,
>> document.ISCLOSEDFOREINVOICING, document.ENABLEAUTOACDISTRIBUTION,
>> document.MODDATE, document.DEADLINE, document.ACCOUNTCODE,
>> document.EXTERNALID, document.MULTIPLESHIPPING, document.MULTIPLEBILLING,
>> document.MULTIPLEACCOUNTING, document.DOCUMENTDESCRIPTION,
>> document.REVISERNAME, document.REVISEREMAIL, document.REVISERORGUNITNAME,
>> document.FORWARDREFID, document.REVISIONDATE, document.RESPONSEVENDORID,
>> document.RESPONSECATALOGUEID, document.COURIERNAME,
>> document.COURIERTRACKINGNO, document.WORKFLOWINSTANCEID,
>> document.WORKFLOWEVALUATED, document.PURCHASEORDERVENDORID,
>> document.PURCHASEORDERCATALOGUEIDS, document.NOTIFYSUPPLIER,
>> document.PURCHASEORDERVARIANT, document.MOD, document.ISQUICKORDER,
>> document.CONFIRMATIONORDER, document.WITHDRAWNFROMAPPROVAL,
>> document.SHIPPINGDATE, document.FMSNAME, document.EXTERNAL_REF_ID,
>> document.ISCISORDER, document.ISPROXY, document.ORIGINAL_PO_ID,
>> document.NUMBER_OF_VARIATIONS, document.ORIGINAL_ORDER_DATE,
>> document.SHARED_SECRET FROM document, organizationalUnit WHERE
>> document.ISPROXY<>1 AND organizationalUnit.ORGID=15136 AND
>> document.STATUSID IN
>> (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451) AND
>> document.ORGUNITID=organizationalUnit.ORGUNITID
>> ...
>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>> FETCH 25 FROM CursIt4
>> ...
>>
>> We have recently moved to PostgreSQL 9.2.4 and JDBC driver postgresql-9.2-1003.jdbc4.jar.
>> But we have noticed that now accountcode field is not getting populated
>> in the Java code. Same is happening with postgresql-9.2-1002.jdbc4.jar
>>
>> Earlier with PostgreSQL 9.1.4 and JDBC driver
>> postgresql-9.1-903.jdbc4.jar we were getting accountCode field populated in
>> the Java code.
>>
>> But when we change to JDBC driver postgresql-9.1-903.jdbc4.jar on
>> PostgreSQL 9.2.4 it works fine.
>>
>> Are new drivers (postgresql-9.2-1003.jdbc4 and postgresql-9.2-1002.jdbc4)having some bug which is causing th
>> is problem or there can be some other reason?
>>
>> Thanks in advance.
>>
>> Regards,
>> Nishant
>>
>>
>
>
> This message has been scanned for malware by SurfControl plc.
> www.surfcontrol.com
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 15:16  Nishant Singh <nishant.singh@egsgroup.com>
  parent: Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Nishant Singh @ 2013-07-29 15:16 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc

Hi,

binaryTransfer=false corrected the problem (I changed url to 
"jdbc:postgresql://localhost:5434/db?binaryTransfer=false").

What is the difference between postgresql-9.2-1003.jdbc4 and 
postgresql-9.1-903.jdbc4 drivers in terms of binaryTransfer?

Regards,
Nishant


On 29/07/2013 14:37, Dave Cramer wrote:
>
> Nishant,
>
> The old driver should work fine with pg 9.2 I am wondering if this is 
> an artifact of the binary transfer,
>
> Can you try with binaryTransfer=false
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Mon, Jul 29, 2013 at 9:14 AM, Nishant Singh 
> <nishant.singh@egsgroup.com <mailto:nishant.singh@egsgroup.com>> wrote:
>
>     Hi Dave,
>
>     Thanks for your reply.
>
>     In my latest test I have noticed that with new jdbc driver
>     (postgresql-9.2-1003.jdbc4.jar), out of total 512 records only
>     first 125 records are having non-null value for type 'character
>     varying[15)[]' field and for the rest of the records (from 126 to
>     512) field value is null.
>
>     But with old jdbc driver (postgresql-9.1-903.jdbc4.jar) all 512
>     records are having non-null value for type 'character
>     varying[15)[]' field.File Comparison-of-results.jpg shows the
>     comparison of test logs (OldDriverWithCursor.txt and
>     NewDriverWithCursor.txt) for the two drivers.
>
>     I am not sure whether above is of any help in understanding the
>     actual problem or not.
>
>     By the way we are planning to revert back to old jdbc driver
>     (postgresql-9.1-903.jdbc4.jar) on the live environment having
>     PostgreSQL 9.2.4 till we can find any solution for the problem.
>
>     Do you think that there can be some issue (in general) with old
>     jdbc driver(postgresql-9.1-903.jdbc4.jar) and PostgreSQL 9.2.4
>     combination?
>
>     Regards,
>     Nishant
>
>
>     On 29/07/2013 11:41, Dave Cramer wrote:
>>
>>     Nishant,
>>
>>     Your email does suggest there is a bug in there somewhere.
>>     However we would require a bit more of a detailed test case in
>>     order to be able to help find it.
>>
>>     Regards,
>>
>>     Dave Cramer
>>
>>     dave.cramer(at)credativ(dot)ca
>>     http://www.credativ.ca
>>
>>
>>     On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh
>>     <nishant.singh@egsgroup.com <mailto:nishant.singh@egsgroup.com>>
>>     wrote:
>>
>>         Hi,
>>
>>         My Java web application uses PostgreSQL. It has a document
>>         table with one of the field called accountCode of type
>>         character varying(15)[]
>>
>>         In the logictable records are accessed through cursor. Thats
>>         is being done through Apache Torque.(schema.xml: ...<table
>>         name="document" idMethod="native">... <column
>>         name="accountCode" type="CLOB" javaName="AccountCodeString"/>..)
>>
>>         PostgreSQL log for the cursor are as follows:
>>         2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute
>>         <unnamed>: DECLARE CursIt4 CURSOR FOR SELECT
>>         document.DOCUMENTID, document.DOCUMENTNUMBER,
>>         document.ADHOCDOCUMENTNUM, document.ORGUNITID,
>>         document.ACCOUNTID, document.TEMPLATEID,
>>         document.REFDOCUMENTID, document.DOCUMENTTITLE,
>>         document.STATUSID, document.STATUSSTR, document.DOCUMENTDATE,
>>         document.MODTYPEID, document.DELETEFLAG,
>>         document.CURRENTSTEP, document.ITEMSREADONLY,
>>         document.ISCLOSEDFOREINVOICING,
>>         document.ENABLEAUTOACDISTRIBUTION, document.MODDATE,
>>         document.DEADLINE, document.ACCOUNTCODE, document.EXTERNALID,
>>         document.MULTIPLESHIPPING, document.MULTIPLEBILLING,
>>         document.MULTIPLEACCOUNTING, document.DOCUMENTDESCRIPTION,
>>         document.REVISERNAME, document.REVISEREMAIL,
>>         document.REVISERORGUNITNAME, document.FORWARDREFID,
>>         document.REVISIONDATE, document.RESPONSEVENDORID,
>>         document.RESPONSECATALOGUEID, document.COURIERNAME,
>>         document.COURIERTRACKINGNO, document.WORKFLOWINSTANCEID,
>>         document.WORKFLOWEVALUATED, document.PURCHASEORDERVENDORID,
>>         document.PURCHASEORDERCATALOGUEIDS, document.NOTIFYSUPPLIER,
>>         document.PURCHASEORDERVARIANT, document.MOD,
>>         document.ISQUICKORDER, document.CONFIRMATIONORDER,
>>         document.WITHDRAWNFROMAPPROVAL, document.SHIPPINGDATE,
>>         document.FMSNAME, document.EXTERNAL_REF_ID,
>>         document.ISCISORDER, document.ISPROXY,
>>         document.ORIGINAL_PO_ID, document.NUMBER_OF_VARIATIONS,
>>         document.ORIGINAL_ORDER_DATE, document.SHARED_SECRET FROM
>>         document, organizationalUnit WHERE document.ISPROXY<>1 AND
>>         organizationalUnit.ORGID=15136 AND document.STATUSID IN
>>         (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451)
>>         AND document.ORGUNITID=organizationalUnit.ORGUNITID
>>         ...
>>         2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute
>>         <unnamed>: FETCH 25 FROM CursIt4
>>         ...
>>
>>         We have recently moved to PostgreSQL 9.2.4 and JDBC driver
>>         postgresql-9.2-1003.jdbc4.jar. But we have noticed that now
>>         accountcode field is not getting populated in the Java code.
>>         Same is happening with postgresql-9.2-1002.jdbc4.jar
>>
>>         Earlier with PostgreSQL 9.1.4 and JDBC driver
>>         postgresql-9.1-903.jdbc4.jar we were getting accountCode
>>         field populated in the Java code.
>>
>>         But when we change to JDBC driver
>>         postgresql-9.1-903.jdbc4.jar on PostgreSQL 9.2.4 it works fine.
>>
>>         Are new drivers (postgresql-9.2-1003.jdbc4and
>>         postgresql-9.2-1002.jdbc4) having some bug which is causing
>>         this problem or therecan be some other reason?
>>
>>         Thanks in advance.
>>
>>         Regards,
>>         Nishant
>>



This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 15:20  Dave Cramer <pg@fastcrypt.com>
  parent: Nishant Singh <nishant.singh@egsgroup.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Dave Cramer @ 2013-07-29 15:20 UTC (permalink / raw)
  To: Nishant Singh <nishant.singh@egsgroup.com>; +Cc: pgsql-jdbc

Nishant,

Binary transfer was added and I think I am going to default it to false
going forward. It *should* be faster but apparently there are some bugs in
it.

Dave

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Mon, Jul 29, 2013 at 11:16 AM, Nishant Singh
<nishant.singh@egsgroup.com>wrote:

>  Hi,
>
> binaryTransfer=false corrected the problem (I changed url to
> "jdbc:postgresql://localhost:5434/db?binaryTransfer=false").
>
> What is the difference between postgresql-9.2-1003.jdbc4 and
> postgresql-9.1-903.jdbc4 drivers in terms of binaryTransfer?
>
> Regards,
> Nishant
>
>
>
> On 29/07/2013 14:37, Dave Cramer wrote:
>
>
>  Nishant,
>
>  The old driver should work fine with pg 9.2 I am wondering if this is an
> artifact of the binary transfer,
>
>  Can you try with binaryTransfer=false
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Mon, Jul 29, 2013 at 9:14 AM, Nishant Singh <nishant.singh@egsgroup.com
> > wrote:
>
>>  Hi Dave,
>>
>> Thanks for your reply.
>>
>> In my latest test I have noticed that with new jdbc driver
>> (postgresql-9.2-1003.jdbc4.jar), out of total 512 records only first 125
>> records are having non-null value for type 'character varying[15)[]' field
>> and for the rest of the records (from 126 to 512) field value is null.
>>
>> But with old jdbc driver (postgresql-9.1-903.jdbc4.jar) all 512 records
>> are having non-null value for type 'character varying[15)[]' field. File Comparison-of-results.jpg
>> shows the comparison of test logs (OldDriverWithCursor.txt and
>> NewDriverWithCursor.txt) for the two drivers.
>>
>> I am not sure whether above is of any help in understanding the actual
>> problem or not.
>>
>> By the way we are planning to revert back to old jdbc driver (postgresql-9.1-903.jdbc4.jar)
>> on the live environment having PostgreSQL 9.2.4 till we can find any
>> solution for the problem.
>>
>> Do you think that there can be some issue (in general) with old jdbc
>> driver(postgresql-9.1-903.jdbc4.jar) and PostgreSQL 9.2.4 combination?
>>
>> Regards,
>> Nishant
>>
>>
>>  On 29/07/2013 11:41, Dave Cramer wrote:
>>
>>
>>  Nishant,
>>
>>  Your email does suggest there is a bug in there somewhere. However we
>> would require a bit more of a detailed test case in order to be able to
>> help find it.
>>
>>  Regards,
>>
>> Dave Cramer
>>
>> dave.cramer(at)credativ(dot)ca
>> http://www.credativ.ca
>>
>>
>> On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh <
>> nishant.singh@egsgroup.com> wrote:
>>
>>>  Hi,
>>>
>>> My Java web application uses PostgreSQL. It has a document table with one
>>> of the field called accountCode of type character varying(15)[]
>>>
>>> In the logic table records are accessed through cursor. Thats is being
>>> done through Apache Torque.(schema.xml: ...<table name="document"
>>> idMethod="native">... <column name="accountCode" type="CLOB"
>>> javaName="AccountCodeString"/>..)
>>>
>>> PostgreSQL log for the cursor are as follows:
>>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>>> DECLARE CursIt4 CURSOR FOR SELECT document.DOCUMENTID,
>>> document.DOCUMENTNUMBER, document.ADHOCDOCUMENTNUM, document.ORGUNITID,
>>> document.ACCOUNTID, document.TEMPLATEID, document.REFDOCUMENTID,
>>> document.DOCUMENTTITLE, document.STATUSID, document.STATUSSTR,
>>> document.DOCUMENTDATE, document.MODTYPEID, document.DELETEFLAG,
>>> document.CURRENTSTEP, document.ITEMSREADONLY,
>>> document.ISCLOSEDFOREINVOICING, document.ENABLEAUTOACDISTRIBUTION,
>>> document.MODDATE, document.DEADLINE, document.ACCOUNTCODE,
>>> document.EXTERNALID, document.MULTIPLESHIPPING, document.MULTIPLEBILLING,
>>> document.MULTIPLEACCOUNTING, document.DOCUMENTDESCRIPTION,
>>> document.REVISERNAME, document.REVISEREMAIL, document.REVISERORGUNITNAME,
>>> document.FORWARDREFID, document.REVISIONDATE, document.RESPONSEVENDORID,
>>> document.RESPONSECATALOGUEID, document.COURIERNAME,
>>> document.COURIERTRACKINGNO, document.WORKFLOWINSTANCEID,
>>> document.WORKFLOWEVALUATED, document.PURCHASEORDERVENDORID,
>>> document.PURCHASEORDERCATALOGUEIDS, document.NOTIFYSUPPLIER,
>>> document.PURCHASEORDERVARIANT, document.MOD, document.ISQUICKORDER,
>>> document.CONFIRMATIONORDER, document.WITHDRAWNFROMAPPROVAL,
>>> document.SHIPPINGDATE, document.FMSNAME, document.EXTERNAL_REF_ID,
>>> document.ISCISORDER, document.ISPROXY, document.ORIGINAL_PO_ID,
>>> document.NUMBER_OF_VARIATIONS, document.ORIGINAL_ORDER_DATE,
>>> document.SHARED_SECRET FROM document, organizationalUnit WHERE
>>> document.ISPROXY<>1 AND organizationalUnit.ORGID=15136 AND
>>> document.STATUSID IN
>>> (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451) AND
>>> document.ORGUNITID=organizationalUnit.ORGUNITID
>>> ...
>>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>>> FETCH 25 FROM CursIt4
>>> ...
>>>
>>> We have recently moved to PostgreSQL 9.2.4 and JDBC driver postgresql-9.2-1003.jdbc4.jar.
>>> But we have noticed that now accountcode field is not getting populated
>>> in the Java code. Same is happening with postgresql-9.2-1002.jdbc4.jar
>>>
>>> Earlier with PostgreSQL 9.1.4 and JDBC driver
>>> postgresql-9.1-903.jdbc4.jar we were getting accountCode field populated in
>>> the Java code.
>>>
>>> But when we change to JDBC driver postgresql-9.1-903.jdbc4.jar on
>>> PostgreSQL 9.2.4 it works fine.
>>>
>>> Are new drivers (postgresql-9.2-1003.jdbc4 and postgresql-9.2-1002.jdbc4
>>> ) having some bug which is causing this problem or there can be some
>>> other reason?
>>>
>>> Thanks in advance.
>>>
>>> Regards,
>>> Nishant
>>>
>>>
>
>
> This message has been scanned for malware by SurfControl plc.
> www.surfcontrol.com
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 15:36  Nishant Singh <nishant.singh@egsgroup.com>
  parent: Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Nishant Singh @ 2013-07-29 15:36 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc

Hi Dave,

Thanks for the information.

Does that mean the behaviour with binaryTransfer=false in 
postgresql-9.2-1003.jdbc4 is same as what we have with 
postgresql-9.1-903.jdbc4 driver?

Regards,
Nishant


On 29/07/2013 16:20, Dave Cramer wrote:
>
>
> Nishant,
>
> Binary transfer was added and I think I am going to default it to 
> false going forward. It *should* be faster but apparently there are 
> some bugs in it.
>
> Dave
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Mon, Jul 29, 2013 at 11:16 AM, Nishant Singh 
> <nishant.singh@egsgroup.com <mailto:nishant.singh@egsgroup.com>> wrote:
>
>     Hi,
>
>     binaryTransfer=false corrected the problem (I changed url to
>     "jdbc:postgresql://localhost:5434/db?binaryTransfer=false").
>
>     What is the difference between postgresql-9.2-1003.jdbc4 and
>     postgresql-9.1-903.jdbc4 drivers in terms of binaryTransfer?
>
>     Regards,
>     Nishant
>
>
>
>     On 29/07/2013 14:37, Dave Cramer wrote:
>>
>>     Nishant,
>>
>>     The old driver should work fine with pg 9.2 I am wondering if
>>     this is an artifact of the binary transfer,
>>
>>     Can you try with binaryTransfer=false
>>
>>     Dave Cramer
>>
>>     dave.cramer(at)credativ(dot)ca
>>     http://www.credativ.ca
>>
>>
>>     On Mon, Jul 29, 2013 at 9:14 AM, Nishant Singh
>>     <nishant.singh@egsgroup.com <mailto:nishant.singh@egsgroup.com>>
>>     wrote:
>>
>>         Hi Dave,
>>
>>         Thanks for your reply.
>>
>>         In my latest test I have noticed that with new jdbc driver
>>         (postgresql-9.2-1003.jdbc4.jar), out of total 512 records
>>         only first 125 records are having non-null value for type
>>         'character varying[15)[]' field and for the rest of the
>>         records (from 126 to 512) field value is null.
>>
>>         But with old jdbc driver (postgresql-9.1-903.jdbc4.jar) all
>>         512 records are having non-null value for type 'character
>>         varying[15)[]' field.File Comparison-of-results.jpg shows the
>>         comparison of test logs (OldDriverWithCursor.txt and
>>         NewDriverWithCursor.txt) for the two drivers.
>>
>>         I am not sure whether above is of any help in understanding
>>         the actual problem or not.
>>
>>         By the way we are planning to revert back to old jdbc driver
>>         (postgresql-9.1-903.jdbc4.jar) on the live environment having
>>         PostgreSQL 9.2.4 till we can find any solution for the problem.
>>
>>         Do you think that there can be some issue (in general) with
>>         old jdbc driver(postgresql-9.1-903.jdbc4.jar) and PostgreSQL
>>         9.2.4 combination?
>>
>>         Regards,
>>         Nishant
>>
>>
>>         On 29/07/2013 11:41, Dave Cramer wrote:
>>>
>>>         Nishant,
>>>
>>>         Your email does suggest there is a bug in there somewhere.
>>>         However we would require a bit more of a detailed test case
>>>         in order to be able to help find it.
>>>
>>>         Regards,
>>>
>>>         Dave Cramer
>>>
>>>         dave.cramer(at)credativ(dot)ca
>>>         http://www.credativ.ca
>>>
>>>
>>>         On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh
>>>         <nishant.singh@egsgroup.com
>>>         <mailto:nishant.singh@egsgroup.com>> wrote:
>>>
>>>             Hi,
>>>
>>>             My Java web application uses PostgreSQL. It has a
>>>             document table with one of the field called accountCode
>>>             of type character varying(15)[]
>>>
>>>             In the logictable records are accessed through cursor.
>>>             Thats is being done through Apache Torque.(schema.xml:
>>>             ...<table name="document" idMethod="native">... <column
>>>             name="accountCode" type="CLOB"
>>>             javaName="AccountCodeString"/>..)
>>>
>>>             PostgreSQL log for the cursor are as follows:
>>>             2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG: 
>>>             execute <unnamed>: DECLARE CursIt4 CURSOR FOR SELECT
>>>             document.DOCUMENTID, document.DOCUMENTNUMBER,
>>>             document.ADHOCDOCUMENTNUM, document.ORGUNITID,
>>>             document.ACCOUNTID, document.TEMPLATEID,
>>>             document.REFDOCUMENTID, document.DOCUMENTTITLE,
>>>             document.STATUSID, document.STATUSSTR,
>>>             document.DOCUMENTDATE, document.MODTYPEID,
>>>             document.DELETEFLAG, document.CURRENTSTEP,
>>>             document.ITEMSREADONLY, document.ISCLOSEDFOREINVOICING,
>>>             document.ENABLEAUTOACDISTRIBUTION, document.MODDATE,
>>>             document.DEADLINE, document.ACCOUNTCODE,
>>>             document.EXTERNALID, document.MULTIPLESHIPPING,
>>>             document.MULTIPLEBILLING, document.MULTIPLEACCOUNTING,
>>>             document.DOCUMENTDESCRIPTION, document.REVISERNAME,
>>>             document.REVISEREMAIL, document.REVISERORGUNITNAME,
>>>             document.FORWARDREFID, document.REVISIONDATE,
>>>             document.RESPONSEVENDORID, document.RESPONSECATALOGUEID,
>>>             document.COURIERNAME, document.COURIERTRACKINGNO,
>>>             document.WORKFLOWINSTANCEID, document.WORKFLOWEVALUATED,
>>>             document.PURCHASEORDERVENDORID,
>>>             document.PURCHASEORDERCATALOGUEIDS,
>>>             document.NOTIFYSUPPLIER, document.PURCHASEORDERVARIANT,
>>>             document.MOD, document.ISQUICKORDER,
>>>             document.CONFIRMATIONORDER,
>>>             document.WITHDRAWNFROMAPPROVAL, document.SHIPPINGDATE,
>>>             document.FMSNAME, document.EXTERNAL_REF_ID,
>>>             document.ISCISORDER, document.ISPROXY,
>>>             document.ORIGINAL_PO_ID, document.NUMBER_OF_VARIATIONS,
>>>             document.ORIGINAL_ORDER_DATE, document.SHARED_SECRET
>>>             FROM document, organizationalUnit WHERE
>>>             document.ISPROXY<>1 AND organizationalUnit.ORGID=15136
>>>             AND document.STATUSID IN
>>>             (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451)
>>>             AND document.ORGUNITID=organizationalUnit.ORGUNITID
>>>             ...
>>>             2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG: 
>>>             execute <unnamed>: FETCH 25 FROM CursIt4
>>>             ...
>>>
>>>             We have recently moved to PostgreSQL 9.2.4 and JDBC
>>>             driver postgresql-9.2-1003.jdbc4.jar. But we have
>>>             noticed that now accountcode field is not getting
>>>             populated in the Java code. Same is happening with
>>>             postgresql-9.2-1002.jdbc4.jar
>>>
>>>             Earlier with PostgreSQL 9.1.4 and JDBC driver
>>>             postgresql-9.1-903.jdbc4.jar we were getting accountCode
>>>             field populated in the Java code.
>>>
>>>             But when we change to JDBC driver
>>>             postgresql-9.1-903.jdbc4.jar on PostgreSQL 9.2.4 it
>>>             works fine.
>>>
>>>             Are new drivers (postgresql-9.2-1003.jdbc4and
>>>             postgresql-9.2-1002.jdbc4) having some bug which is
>>>             causing this problem or therecan be some other reason?
>>>
>>>             Thanks in advance.
>>>
>>>             Regards,
>>>             Nishant
>>>



This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 15:37  Dave Cramer <pg@fastcrypt.com>
  parent: Nishant Singh <nishant.singh@egsgroup.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Dave Cramer @ 2013-07-29 15:37 UTC (permalink / raw)
  To: Nishant Singh <nishant.singh@egsgroup.com>; +Cc: pgsql-jdbc

Nishant,

Yes, pretty much the same except there were other enhancements, bug fixes.

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Mon, Jul 29, 2013 at 11:36 AM, Nishant Singh
<nishant.singh@egsgroup.com>wrote:

>  Hi Dave,
>
> Thanks for the information.
>
> Does that mean the behaviour with binaryTransfer=false in postgresql-9.2-1003.jdbc4
> is same as what we have with postgresql-9.1-903.jdbc4 driver ?
>
> Regards,
> Nishant
>
>
>  On 29/07/2013 16:20, Dave Cramer wrote:
>
>
>
>  Nishant,
>
>  Binary transfer was added and I think I am going to default it to false
> going forward. It *should* be faster but apparently there are some bugs in
> it.
>
>  Dave
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Mon, Jul 29, 2013 at 11:16 AM, Nishant Singh <
> nishant.singh@egsgroup.com> wrote:
>
>>  Hi,
>>
>> binaryTransfer=false corrected the problem (I changed url to
>> "jdbc:postgresql://localhost:5434/db?binaryTransfer=false").
>>
>> What is the difference between postgresql-9.2-1003.jdbc4 and
>> postgresql-9.1-903.jdbc4 drivers in terms of binaryTransfer?
>>
>> Regards,
>> Nishant
>>
>>
>>
>> On 29/07/2013 14:37, Dave Cramer wrote:
>>
>>
>>  Nishant,
>>
>>  The old driver should work fine with pg 9.2 I am wondering if this is
>> an artifact of the binary transfer,
>>
>>  Can you try with binaryTransfer=false
>>
>> Dave Cramer
>>
>> dave.cramer(at)credativ(dot)ca
>> http://www.credativ.ca
>>
>>
>> On Mon, Jul 29, 2013 at 9:14 AM, Nishant Singh <
>> nishant.singh@egsgroup.com> wrote:
>>
>>>  Hi Dave,
>>>
>>> Thanks for your reply.
>>>
>>> In my latest test I have noticed that with new jdbc driver
>>> (postgresql-9.2-1003.jdbc4.jar), out of total 512 records only first
>>> 125 records are having non-null value for type 'character varying[15)[]' field
>>> and for the rest of the records (from 126 to 512) field value is null.
>>>
>>> But with old jdbc driver (postgresql-9.1-903.jdbc4.jar) all 512 records
>>> are having non-null value for type 'character varying[15)[]' field. File
>>> Comparison-of-results.jpg shows the comparison of test logs (OldDriverWithCursor.txt
>>> and NewDriverWithCursor.txt) for the two drivers.
>>>
>>> I am not sure whether above is of any help in understanding the actual
>>> problem or not.
>>>
>>> By the way we are planning to revert back to old jdbc driver (postgresql-9.1-903.jdbc4.jar)
>>> on the live environment having PostgreSQL 9.2.4 till we can find any
>>> solution for the problem.
>>>
>>> Do you think that there can be some issue (in general) with old jdbc
>>> driver(postgresql-9.1-903.jdbc4.jar) and PostgreSQL 9.2.4 combination?
>>>
>>> Regards,
>>> Nishant
>>>
>>>
>>>  On 29/07/2013 11:41, Dave Cramer wrote:
>>>
>>>
>>>  Nishant,
>>>
>>>  Your email does suggest there is a bug in there somewhere. However we
>>> would require a bit more of a detailed test case in order to be able to
>>> help find it.
>>>
>>>  Regards,
>>>
>>> Dave Cramer
>>>
>>> dave.cramer(at)credativ(dot)ca
>>> http://www.credativ.ca
>>>
>>>
>>> On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh <
>>> nishant.singh@egsgroup.com> wrote:
>>>
>>>>  Hi,
>>>>
>>>> My Java web application uses PostgreSQL. It has a document table with
>>>> one of the field called accountCode of type character varying(15)[]
>>>>
>>>> In the logic table records are accessed through cursor. Thats is being
>>>> done through Apache Torque.(schema.xml: ...<table name="document"
>>>> idMethod="native">... <column name="accountCode" type="CLOB"
>>>> javaName="AccountCodeString"/>..)
>>>>
>>>> PostgreSQL log for the cursor are as follows:
>>>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>>>> DECLARE CursIt4 CURSOR FOR SELECT document.DOCUMENTID,
>>>> document.DOCUMENTNUMBER, document.ADHOCDOCUMENTNUM, document.ORGUNITID,
>>>> document.ACCOUNTID, document.TEMPLATEID, document.REFDOCUMENTID,
>>>> document.DOCUMENTTITLE, document.STATUSID, document.STATUSSTR,
>>>> document.DOCUMENTDATE, document.MODTYPEID, document.DELETEFLAG,
>>>> document.CURRENTSTEP, document.ITEMSREADONLY,
>>>> document.ISCLOSEDFOREINVOICING, document.ENABLEAUTOACDISTRIBUTION,
>>>> document.MODDATE, document.DEADLINE, document.ACCOUNTCODE,
>>>> document.EXTERNALID, document.MULTIPLESHIPPING, document.MULTIPLEBILLING,
>>>> document.MULTIPLEACCOUNTING, document.DOCUMENTDESCRIPTION,
>>>> document.REVISERNAME, document.REVISEREMAIL, document.REVISERORGUNITNAME,
>>>> document.FORWARDREFID, document.REVISIONDATE, document.RESPONSEVENDORID,
>>>> document.RESPONSECATALOGUEID, document.COURIERNAME,
>>>> document.COURIERTRACKINGNO, document.WORKFLOWINSTANCEID,
>>>> document.WORKFLOWEVALUATED, document.PURCHASEORDERVENDORID,
>>>> document.PURCHASEORDERCATALOGUEIDS, document.NOTIFYSUPPLIER,
>>>> document.PURCHASEORDERVARIANT, document.MOD, document.ISQUICKORDER,
>>>> document.CONFIRMATIONORDER, document.WITHDRAWNFROMAPPROVAL,
>>>> document.SHIPPINGDATE, document.FMSNAME, document.EXTERNAL_REF_ID,
>>>> document.ISCISORDER, document.ISPROXY, document.ORIGINAL_PO_ID,
>>>> document.NUMBER_OF_VARIATIONS, document.ORIGINAL_ORDER_DATE,
>>>> document.SHARED_SECRET FROM document, organizationalUnit WHERE
>>>> document.ISPROXY<>1 AND organizationalUnit.ORGID=15136 AND
>>>> document.STATUSID IN
>>>> (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451) AND
>>>> document.ORGUNITID=organizationalUnit.ORGUNITID
>>>> ...
>>>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>>>> FETCH 25 FROM CursIt4
>>>> ...
>>>>
>>>> We have recently moved to PostgreSQL 9.2.4 and JDBC driver postgresql-9.2-1003.jdbc4.jar.
>>>> But we have noticed that now accountcode field is not getting populated
>>>> in the Java code. Same is happening with postgresql-9.2-1002.jdbc4.jar
>>>>
>>>> Earlier with PostgreSQL 9.1.4 and JDBC driver
>>>> postgresql-9.1-903.jdbc4.jar we were getting accountCode field populated in
>>>> the Java code.
>>>>
>>>> But when we change to JDBC driver postgresql-9.1-903.jdbc4.jar on
>>>> PostgreSQL 9.2.4 it works fine.
>>>>
>>>> Are new drivers (postgresql-9.2-1003.jdbc4 and postgresql-
>>>> 9.2-1002.jdbc4) having some bug which is causing this problem or therecan be some other reason?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Regards,
>>>> Nishant
>>>>
>>>>
>
>
> This message has been scanned for malware by SurfControl plc.
> www.surfcontrol.com
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 15:54  Nishant Singh <nishant.singh@egsgroup.com>
  parent: Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 10+ messages in thread

From: Nishant Singh @ 2013-07-29 15:54 UTC (permalink / raw)
  To: Dave Cramer <pg@fastcrypt.com>; pgsql-jdbc

Hi Dave,

We have decided to use the new driver with binaryTransfer=false.

Thanks for your help.

Regards,
Nishant

On 29/07/2013 16:37, Dave Cramer wrote:
>
> Nishant,
>
> Yes, pretty much the same except there were other enhancements, bug fixes.
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Mon, Jul 29, 2013 at 11:36 AM, Nishant Singh 
> <nishant.singh@egsgroup.com <mailto:nishant.singh@egsgroup.com>> wrote:
>
>     Hi Dave,
>
>     Thanks for the information.
>
>     Does that mean the behaviour with binaryTransfer=false in
>     postgresql-9.2-1003.jdbc4 is same as what we have with
>     postgresql-9.1-903.jdbc4 driver?
>
>     Regards,
>     Nishant
>
>
>     On 29/07/2013 16:20, Dave Cramer wrote:
>>
>>
>>     Nishant,
>>
>>     Binary transfer was added and I think I am going to default it to
>>     false going forward. It *should* be faster but apparently there
>>     are some bugs in it.
>>
>>     Dave
>>
>>     Dave Cramer
>>
>>     dave.cramer(at)credativ(dot)ca
>>     http://www.credativ.ca
>>
>>
>>     On Mon, Jul 29, 2013 at 11:16 AM, Nishant Singh
>>     <nishant.singh@egsgroup.com <mailto:nishant.singh@egsgroup.com>>
>>     wrote:
>>
>>         Hi,
>>
>>         binaryTransfer=false corrected the problem (I changed url to
>>         "jdbc:postgresql://localhost:5434/db?binaryTransfer=false").
>>
>>         What is the difference between postgresql-9.2-1003.jdbc4 and
>>         postgresql-9.1-903.jdbc4 drivers in terms of binaryTransfer?
>>
>>         Regards,
>>         Nishant
>>
>>
>>
>>         On 29/07/2013 14:37, Dave Cramer wrote:
>>>
>>>         Nishant,
>>>
>>>         The old driver should work fine with pg 9.2 I am wondering
>>>         if this is an artifact of the binary transfer,
>>>
>>>         Can you try with binaryTransfer=false
>>>
>>>         Dave Cramer
>>>
>>>         dave.cramer(at)credativ(dot)ca
>>>         http://www.credativ.ca
>>>
>>>
>>>         On Mon, Jul 29, 2013 at 9:14 AM, Nishant Singh
>>>         <nishant.singh@egsgroup.com
>>>         <mailto:nishant.singh@egsgroup.com>> wrote:
>>>
>>>             Hi Dave,
>>>
>>>             Thanks for your reply.
>>>
>>>             In my latest test I have noticed that with new jdbc
>>>             driver (postgresql-9.2-1003.jdbc4.jar), out of total 512
>>>             records only first 125 records are having non-null value
>>>             for type 'character varying[15)[]' field and for the
>>>             rest of the records (from 126 to 512) field value is null.
>>>
>>>             But with old jdbc driver (postgresql-9.1-903.jdbc4.jar)
>>>             all 512 records are having non-null value for type
>>>             'character varying[15)[]' field.File
>>>             Comparison-of-results.jpg shows the comparison of test
>>>             logs (OldDriverWithCursor.txt and
>>>             NewDriverWithCursor.txt) for the two drivers.
>>>
>>>             I am not sure whether above is of any help in
>>>             understanding the actual problem or not.
>>>
>>>             By the way we are planning to revert back to old jdbc
>>>             driver (postgresql-9.1-903.jdbc4.jar) on the live
>>>             environment having PostgreSQL 9.2.4 till we can find any
>>>             solution for the problem.
>>>
>>>             Do you think that there can be some issue (in general)
>>>             with old jdbc driver(postgresql-9.1-903.jdbc4.jar) and
>>>             PostgreSQL 9.2.4 combination?
>>>
>>>             Regards,
>>>             Nishant
>>>
>>>
>>>             On 29/07/2013 11:41, Dave Cramer wrote:
>>>>
>>>>             Nishant,
>>>>
>>>>             Your email does suggest there is a bug in there
>>>>             somewhere. However we would require a bit more of a
>>>>             detailed test case in order to be able to help find it.
>>>>
>>>>             Regards,
>>>>
>>>>             Dave Cramer
>>>>
>>>>             dave.cramer(at)credativ(dot)ca
>>>>             http://www.credativ.ca
>>>>
>>>>
>>>>             On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh
>>>>             <nishant.singh@egsgroup.com
>>>>             <mailto:nishant.singh@egsgroup.com>> wrote:
>>>>
>>>>                 Hi,
>>>>
>>>>                 My Java web application uses PostgreSQL. It has a
>>>>                 document table with one of the field called
>>>>                 accountCode of type character varying(15)[]
>>>>
>>>>                 In the logictable records are accessed through
>>>>                 cursor. Thats is being done through Apache
>>>>                 Torque.(schema.xml: ...<table name="document"
>>>>                 idMethod="native">... <column name="accountCode"
>>>>                 type="CLOB" javaName="AccountCodeString"/>..)
>>>>
>>>>                 PostgreSQL log for the cursor are as follows:
>>>>                 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:
>>>>                 execute <unnamed>: DECLARE CursIt4 CURSOR FOR
>>>>                 SELECT document.DOCUMENTID,
>>>>                 document.DOCUMENTNUMBER, document.ADHOCDOCUMENTNUM,
>>>>                 document.ORGUNITID, document.ACCOUNTID,
>>>>                 document.TEMPLATEID, document.REFDOCUMENTID,
>>>>                 document.DOCUMENTTITLE, document.STATUSID,
>>>>                 document.STATUSSTR, document.DOCUMENTDATE,
>>>>                 document.MODTYPEID, document.DELETEFLAG,
>>>>                 document.CURRENTSTEP, document.ITEMSREADONLY,
>>>>                 document.ISCLOSEDFOREINVOICING,
>>>>                 document.ENABLEAUTOACDISTRIBUTION,
>>>>                 document.MODDATE, document.DEADLINE,
>>>>                 document.ACCOUNTCODE, document.EXTERNALID,
>>>>                 document.MULTIPLESHIPPING,
>>>>                 document.MULTIPLEBILLING,
>>>>                 document.MULTIPLEACCOUNTING,
>>>>                 document.DOCUMENTDESCRIPTION, document.REVISERNAME,
>>>>                 document.REVISEREMAIL, document.REVISERORGUNITNAME,
>>>>                 document.FORWARDREFID, document.REVISIONDATE,
>>>>                 document.RESPONSEVENDORID,
>>>>                 document.RESPONSECATALOGUEID, document.COURIERNAME,
>>>>                 document.COURIERTRACKINGNO,
>>>>                 document.WORKFLOWINSTANCEID,
>>>>                 document.WORKFLOWEVALUATED,
>>>>                 document.PURCHASEORDERVENDORID,
>>>>                 document.PURCHASEORDERCATALOGUEIDS,
>>>>                 document.NOTIFYSUPPLIER,
>>>>                 document.PURCHASEORDERVARIANT, document.MOD,
>>>>                 document.ISQUICKORDER, document.CONFIRMATIONORDER,
>>>>                 document.WITHDRAWNFROMAPPROVAL,
>>>>                 document.SHIPPINGDATE, document.FMSNAME,
>>>>                 document.EXTERNAL_REF_ID, document.ISCISORDER,
>>>>                 document.ISPROXY, document.ORIGINAL_PO_ID,
>>>>                 document.NUMBER_OF_VARIATIONS,
>>>>                 document.ORIGINAL_ORDER_DATE,
>>>>                 document.SHARED_SECRET FROM document,
>>>>                 organizationalUnit WHERE document.ISPROXY<>1 AND
>>>>                 organizationalUnit.ORGID=15136 AND
>>>>                 document.STATUSID IN
>>>>                 (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451)
>>>>                 AND document.ORGUNITID=organizationalUnit.ORGUNITID
>>>>                 ...
>>>>                 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:
>>>>                 execute <unnamed>: FETCH 25 FROM CursIt4
>>>>                 ...
>>>>
>>>>                 We have recently moved to PostgreSQL 9.2.4 and JDBC
>>>>                 driver postgresql-9.2-1003.jdbc4.jar. But we have
>>>>                 noticed that now accountcode field is not getting
>>>>                 populated in the Java code. Same is happening with
>>>>                 postgresql-9.2-1002.jdbc4.jar
>>>>
>>>>                 Earlier with PostgreSQL 9.1.4 and JDBC driver
>>>>                 postgresql-9.1-903.jdbc4.jar we were getting
>>>>                 accountCode field populated in the Java code.
>>>>
>>>>                 But when we change to JDBC driver
>>>>                 postgresql-9.1-903.jdbc4.jar on PostgreSQL 9.2.4 it
>>>>                 works fine.
>>>>
>>>>                 Are new drivers (postgresql-9.2-1003.jdbc4and
>>>>                 postgresql-9.2-1002.jdbc4) having some bug which is
>>>>                 causing this problem or therecan be some other reason?
>>>>
>>>>                 Thanks in advance.
>>>>
>>>>                 Regards,
>>>>                 Nishant
>>>>
>
>



This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

^ permalink  raw  reply  [nested|flat] 10+ messages in thread

* Re: Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4
@ 2013-07-29 15:57  Dave Cramer <pg@fastcrypt.com>
  parent: Nishant Singh <nishant.singh@egsgroup.com>
  0 siblings, 0 replies; 10+ messages in thread

From: Dave Cramer @ 2013-07-29 15:57 UTC (permalink / raw)
  To: Nishant Singh <nishant.singh@egsgroup.com>; +Cc: pgsql-jdbc

Nishant,

Please let me know if you run into any other issues.

Thanks,

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Mon, Jul 29, 2013 at 11:54 AM, Nishant Singh
<nishant.singh@egsgroup.com>wrote:

>  Hi Dave,
>
> We have decided to use the new driver with binaryTransfer=false.
>
> Thanks for your help.
>
> Regards,
> Nishant
>
>
> On 29/07/2013 16:37, Dave Cramer wrote:
>
>
>  Nishant,
>
>  Yes, pretty much the same except there were other enhancements, bug
> fixes.
>
> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Mon, Jul 29, 2013 at 11:36 AM, Nishant Singh <
> nishant.singh@egsgroup.com> wrote:
>
>>  Hi Dave,
>>
>> Thanks for the information.
>>
>> Does that mean the behaviour with binaryTransfer=false in postgresql-9.2-1003.jdbc4
>> is same as what we have with postgresql-9.1-903.jdbc4 driver ?
>>
>> Regards,
>> Nishant
>>
>>
>>  On 29/07/2013 16:20, Dave Cramer wrote:
>>
>>
>>
>>  Nishant,
>>
>>  Binary transfer was added and I think I am going to default it to false
>> going forward. It *should* be faster but apparently there are some bugs in
>> it.
>>
>>  Dave
>>
>> Dave Cramer
>>
>> dave.cramer(at)credativ(dot)ca
>> http://www.credativ.ca
>>
>>
>> On Mon, Jul 29, 2013 at 11:16 AM, Nishant Singh <
>> nishant.singh@egsgroup.com> wrote:
>>
>>>  Hi,
>>>
>>> binaryTransfer=false corrected the problem (I changed url to
>>> "jdbc:postgresql://localhost:5434/db?binaryTransfer=false").
>>>
>>> What is the difference between postgresql-9.2-1003.jdbc4 and
>>> postgresql-9.1-903.jdbc4 drivers in terms of binaryTransfer?
>>>
>>> Regards,
>>> Nishant
>>>
>>>
>>>
>>> On 29/07/2013 14:37, Dave Cramer wrote:
>>>
>>>
>>>  Nishant,
>>>
>>>  The old driver should work fine with pg 9.2 I am wondering if this is
>>> an artifact of the binary transfer,
>>>
>>>  Can you try with binaryTransfer=false
>>>
>>> Dave Cramer
>>>
>>> dave.cramer(at)credativ(dot)ca
>>> http://www.credativ.ca
>>>
>>>
>>> On Mon, Jul 29, 2013 at 9:14 AM, Nishant Singh <
>>> nishant.singh@egsgroup.com> wrote:
>>>
>>>>  Hi Dave,
>>>>
>>>> Thanks for your reply.
>>>>
>>>> In my latest test I have noticed that with new jdbc driver
>>>> (postgresql-9.2-1003.jdbc4.jar), out of total 512 records only first
>>>> 125 records are having non-null value for type 'character varying[15)[]
>>>> ' field and for the rest of the records (from 126 to 512) field value
>>>> is null.
>>>>
>>>> But with old jdbc driver (postgresql-9.1-903.jdbc4.jar) all 512
>>>> records are having non-null value for type 'character varying[15)[]'
>>>> field. File Comparison-of-results.jpg shows the comparison of test
>>>> logs (OldDriverWithCursor.txt and NewDriverWithCursor.txt) for the two
>>>> drivers.
>>>>
>>>> I am not sure whether above is of any help in understanding the actual
>>>> problem or not.
>>>>
>>>> By the way we are planning to revert back to old jdbc driver (postgresql-9.1-903.jdbc4.jar)
>>>> on the live environment having PostgreSQL 9.2.4 till we can find any
>>>> solution for the problem.
>>>>
>>>> Do you think that there can be some issue (in general) with old jdbc
>>>> driver(postgresql-9.1-903.jdbc4.jar) and PostgreSQL 9.2.4 combination?
>>>>
>>>> Regards,
>>>> Nishant
>>>>
>>>>
>>>>  On 29/07/2013 11:41, Dave Cramer wrote:
>>>>
>>>>
>>>>  Nishant,
>>>>
>>>>  Your email does suggest there is a bug in there somewhere. However we
>>>> would require a bit more of a detailed test case in order to be able to
>>>> help find it.
>>>>
>>>>  Regards,
>>>>
>>>> Dave Cramer
>>>>
>>>> dave.cramer(at)credativ(dot)ca
>>>> http://www.credativ.ca
>>>>
>>>>
>>>> On Fri, Jul 26, 2013 at 11:54 AM, Nishant Singh <
>>>> nishant.singh@egsgroup.com> wrote:
>>>>
>>>>>  Hi,
>>>>>
>>>>> My Java web application uses PostgreSQL. It has a document table with
>>>>> one of the field called accountCode of type character varying(15)[]
>>>>>
>>>>> In the logic table records are accessed through cursor. Thats is
>>>>> being done through Apache Torque.(schema.xml: ...<table
>>>>> name="document" idMethod="native">... <column name="accountCode"
>>>>> type="CLOB" javaName="AccountCodeString"/>..)
>>>>>
>>>>> PostgreSQL log for the cursor are as follows:
>>>>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>>>>> DECLARE CursIt4 CURSOR FOR SELECT document.DOCUMENTID,
>>>>> document.DOCUMENTNUMBER, document.ADHOCDOCUMENTNUM, document.ORGUNITID,
>>>>> document.ACCOUNTID, document.TEMPLATEID, document.REFDOCUMENTID,
>>>>> document.DOCUMENTTITLE, document.STATUSID, document.STATUSSTR,
>>>>> document.DOCUMENTDATE, document.MODTYPEID, document.DELETEFLAG,
>>>>> document.CURRENTSTEP, document.ITEMSREADONLY,
>>>>> document.ISCLOSEDFOREINVOICING, document.ENABLEAUTOACDISTRIBUTION,
>>>>> document.MODDATE, document.DEADLINE, document.ACCOUNTCODE,
>>>>> document.EXTERNALID, document.MULTIPLESHIPPING, document.MULTIPLEBILLING,
>>>>> document.MULTIPLEACCOUNTING, document.DOCUMENTDESCRIPTION,
>>>>> document.REVISERNAME, document.REVISEREMAIL, document.REVISERORGUNITNAME,
>>>>> document.FORWARDREFID, document.REVISIONDATE, document.RESPONSEVENDORID,
>>>>> document.RESPONSECATALOGUEID, document.COURIERNAME,
>>>>> document.COURIERTRACKINGNO, document.WORKFLOWINSTANCEID,
>>>>> document.WORKFLOWEVALUATED, document.PURCHASEORDERVENDORID,
>>>>> document.PURCHASEORDERCATALOGUEIDS, document.NOTIFYSUPPLIER,
>>>>> document.PURCHASEORDERVARIANT, document.MOD, document.ISQUICKORDER,
>>>>> document.CONFIRMATIONORDER, document.WITHDRAWNFROMAPPROVAL,
>>>>> document.SHIPPINGDATE, document.FMSNAME, document.EXTERNAL_REF_ID,
>>>>> document.ISCISORDER, document.ISPROXY, document.ORIGINAL_PO_ID,
>>>>> document.NUMBER_OF_VARIATIONS, document.ORIGINAL_ORDER_DATE,
>>>>> document.SHARED_SECRET FROM document, organizationalUnit WHERE
>>>>> document.ISPROXY<>1 AND organizationalUnit.ORGID=15136 AND
>>>>> document.STATUSID IN
>>>>> (1457,1456,1459,1458,1453,1466,1452,1455,1454,1450,1461,1470,1451) AND
>>>>> document.ORGUNITID=organizationalUnit.ORGUNITID
>>>>> ...
>>>>> 2013-07-26 15:14:00 BST 9592 efed-328 postgresLOG:  execute <unnamed>:
>>>>> FETCH 25 FROM CursIt4
>>>>> ...
>>>>>
>>>>> We have recently moved to PostgreSQL 9.2.4 and JDBC driver postgresql-9.2-1003.jdbc4.jar.
>>>>> But we have noticed that now accountcode field is not getting populated
>>>>> in the Java code. Same is happening with postgresql-9.2-1002.jdbc4.jar
>>>>>
>>>>> Earlier with PostgreSQL 9.1.4 and JDBC driver
>>>>> postgresql-9.1-903.jdbc4.jar we were getting accountCode field populated in
>>>>> the Java code.
>>>>>
>>>>> But when we change to JDBC driver postgresql-9.1-903.jdbc4.jar on
>>>>> PostgreSQL 9.2.4 it works fine.
>>>>>
>>>>> Are new drivers (postgresql-9.2-1003.jdbc4 and postgresql-
>>>>> 9.2-1002.jdbc4) having some bug which is causing this problem or therecan be some other reason?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Regards,
>>>>> Nishant
>>>>>
>>>>>
>>
>>
>
>
> This message has been scanned for malware by SurfControl plc.
> www.surfcontrol.com
>

^ permalink  raw  reply  [nested|flat] 10+ messages in thread


end of thread, other threads:[~2013-07-29 15:57 UTC | newest]

Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-26 15:54 Facing issue with driver postgresql-9.2-1003.jdbc4 on PostgreSQL 9.2.4 Nishant Singh <nishant.singh@egsgroup.com>
2013-07-29 10:41 ` Dave Cramer <pg@fastcrypt.com>
2013-07-29 13:33   ` Nishant Singh <nishant.singh@egsgroup.com>
2013-07-29 13:37   ` Dave Cramer <pg@fastcrypt.com>
2013-07-29 15:16     ` Nishant Singh <nishant.singh@egsgroup.com>
2013-07-29 15:20       ` Dave Cramer <pg@fastcrypt.com>
2013-07-29 15:36         ` Nishant Singh <nishant.singh@egsgroup.com>
2013-07-29 15:37           ` Dave Cramer <pg@fastcrypt.com>
2013-07-29 15:54             ` Nishant Singh <nishant.singh@egsgroup.com>
2013-07-29 15:57               ` Dave Cramer <pg@fastcrypt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox