DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Kelly Cheng
Votes: 0
Watchers: 0

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

Hbase Put Always Deletes Record

Created: 04/Feb/10 02:51 AM   Updated: 27/Jan/11 07:54 PM   Resolved: 04/Feb/10 06:39 PM
Component/s: None
Affects Version/s: 1.0.3, 1.0.4
Fix Version/s: 1.0.5

OS: windows 7
Jetty Client using datanucleus-hbase-1.0.4
HBase-0.20.2 server
zookeeper 3.2.2

Forum Thread URL:
Datastore: Other

 Description  « Hide
Updates issued for persistent objects issues a delete and removes the record.

more details are here:,5939

From inspecting the source and from help from Tatsuya, it looks like the issue has been present since 1.0.3:

             if( !put.isEmpty() )
             if( !put.isEmpty() )

Erik Bengtson made changes - 04/Feb/10 06:39 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 1.0.5 [ 10850 ]
Resolution Fixed [ 1 ]
Erik Bengtson made changes - 04/Feb/10 06:39 PM
Comment [ Can you provide a test case?

It seems that Tatsuya spotted easily the issue, the problem is that I dont understand why I cant put and delete? We are deleting attributes that were nullified and putting attributes modified. ]
Erik Bengtson made changes - 04/Feb/10 06:39 PM
Assignee Erik Bengtson [ erik ]
Andy Jefferson made changes - 27/Jan/11 07:54 PM
Status Resolved [ 5 ] Closed [ 6 ]