Issue Details (XML | Word | Printable)

Key: NUCRDBMS-656
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Gerrit Volkenborn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

Extra brackets pair in SQLQuery causes result to disconnect immediately

Created: 22/Mar/13 10:51 AM   Updated: 06/Apr/13 10:00 AM   Resolved: 24/Mar/13 07:09 PM
Component/s: Queries
Affects Version/s: 3.0.0.release, 3.1.0.release, 3.2.0.release
Fix Version/s: 3.1.5, 3.2.1


 Description  « Hide
see org.datanucleus.store.rdbms.query.SQLQuery, lines 315ff:

  mconn.addListener(new ManagedConnectionResourceListener()
  {
    public void transactionFlushed(){}
    public void transactionPreClose(){} // <<-- empty method body, so the following block of instructions will always run immediately!
    {
      // Disconnect the query from this ManagedConnection (read in unread rows etc)
      qr1.disconnect();
    }
  ...

This bug was introduced with commit 12713:

http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/store.rdbms/trunk/src/java/org/datanucleus/store/rdbms/query/SQLQuery.java?r1=12617&r2=12713&pathrev=12713

Andy Jefferson made changes - 24/Mar/13 07:05 PM
Field Original Value New Value
Project DataNucleus AccessPlatform [ 10140 ] DataNucleus Store RDBMS [ 10144 ]
Key NUCACCESS-114 NUCRDBMS-656
Affects Version/s 3.2.0.release [ 11789 ]
Affects Version/s 3.1.0.release [ 11452 ]
Affects Version/s 3.0.0.release [ 11063 ]
Affects Version/s 2.2.4 [ 11183 ]
Affects Version/s 2.1.4 [ 11082 ]
Affects Version/s 2.0.5 [ 10961 ]
Affects Version/s 3.0.0.release [ 11065 ]
Affects Version/s 3.1.0.release [ 11361 ]
Affects Version/s 3.2.0.release [ 11723 ]
Component/s Queries [ 10142 ]
Component/s Software [ 10242 ]
Andy Jefferson added a comment - 24/Mar/13 07:09 PM
SVN trunk fixes this typo, thx

Andy Jefferson made changes - 24/Mar/13 07:09 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.2.1 [ 11918 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 24/Mar/13 07:28 PM
Affects Version/s 2.0.5 [ 10961 ]
Affects Version/s 2.1.4 [ 11082 ]
Affects Version/s 2.2.4 [ 11183 ]
Andy Jefferson made changes - 25/Mar/13 11:37 AM
Fix Version/s 3.1.5 [ 11871 ]
Andy Jefferson made changes - 06/Apr/13 10:00 AM
Status Resolved [ 5 ] Closed [ 6 ]