Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using DataNucleus to connect Hbase

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Exit safemode mode and run the program again

DataNucleus is a middleware that implements the jpa interface, makes it easy to connect to Hbase, and maps entity classes in model (@ Entity,@Id... ), encapsulated by dataNucleus. Just like Hibernate, encapsulate the sql statement.

When you use Datanuclues in myeclipse/eclipse, you need to install a plug-in for datanucleus by:

Plug-in download address: http://www.datanucleus.org/downloads/eclipse-update/ (download automatically using myeclipse/eclipse)

Myeclipse add plug-in

Eclipse add plug-in

If there is no response in myeclipse, manually place the plug-in's jar package in myeclipse's dropins file (which also holds hadoop's plug-in) and restart myeclipse.

Install the DataNucleus plug-in in eclipse, and the next step will allow you to restart, as follows

After starting eclipse/myeclipse again, right-click on the project to see the options for DataNucleus, as shown in the figure

When using DataNucleus, you should first use it to compile the project as shown in the figure

Display after successful compilation

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report