Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Category: Hibernate

Hibernate is an open source object-relational mapping framework. It encapsulates JDBC very lightweight objects. It establishes a mapping relationship between POJOs and database tables. It is a fully automatic orm framework. Hibernate can automatically generate SQL statements. Automatic execution allows Java programmers to use object programming thinking to manipulate the database as they like. Hibernate can be used in any occasion where JDBC is used, either in Java client programs or in Servlet/JSP Web applications. The most revolutionary thing is that Hibernate can replace CMP in the J2EE architecture using EJB. , To complete the important task of data persistence.

Hibernate – HQL’With ‘clause in JPQL

From the Hibernate 3.6 documentation:

You may supply extra join conditions using the HQL with keyword. from Cat as cat
left join cat.kittens as kitten
with kitten.bodyWeight> 10.0 Thi

October 12, 2021By Simo Hibernate clause, Hibernate, HQL, JPQL, middleLeave a Comment

How to solve AbstractMethodError in Hibernate 5?

I am trying to use hibernate 5 in Java EE in tomcat 7, and I receive this error:

java .lang.AbstractMethodError
org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:278)
org.hib

October 12, 2021By Simo Hibernate AbstractMethodError, Hibernate, How, Medium, SolvedLeave a Comment

Hibernate – C3P0 deadlock detection – thread run too frequent

We are using Hibernate and the c3p0 connection pool library. So far, this combination works well, until recently we decided to increase maxPoolSize to 1000 and perform a lot of stress testing on ou

October 12, 2021By Simo Hibernate c3p0, dead lock, detection, frequent, Hibernate, operation, thread, tooLeave a Comment

Hibernate – Connect multiple tables in HQL

Can anyone help me convert this query to HQL

SELECT
supplierOrderDetails.productID,< br /> supplierOrderDetails.orderQty,
supplierOrderReceiveDetail.qtyArrived
FROM
supplierOrder
INNER JO

October 12, 2021By Simo Hibernate connection, Hibernate, HQL, middle, multiple, tableLeave a Comment

Hibernate manually set id invalid reason and solution

In the process of using Hibernate, it is found that the manually set id (primary key) is invalid. Hibernate will still automatically generate a random id when saving (calling the merge() method pro

October 12, 2021By Simo Hibernate Hibernate, ID, invalid, manual, method, reasons, set, solutionLeave a Comment

Hibernate&MyBatis different

I. Introduction to the framework

Hibernate is an excellent ORM framework (object relationship implicit), which highly encapsulates the relationship between SQL statements and tables. Develope

October 12, 2021By Simo Hibernate Different, Hibernate, hibernate&mybatis, mybatisLeave a Comment

Hibernate – Envers: Unidirectional OneTomany does not have additional audit tables?

The following database structure:

Employee [EMP_ID(PK), name, salary]

Phone [ID(PK), number_str,OWNER_ID(FK)]

Employee_aud [EMP_ID(PK),REV(PK / FK),REVTYPE,name,salary]

Phon

October 12, 2021By Simo Hibernate additional, auditing, Envers, Hibernate, no, One-way, OneTomany, tableLeave a Comment

NHIBERNATE – When the entity is previously retrieved, an entity with a composite ID cannot be combined.

The project I’m working on requires the data in our system to be synchronized with the data in another system (the other system is very popular, which is why synchronization is so important). Howev

October 12, 2021By Simo Hibernate composite, entity, front, ID, Merge, NHIBERNATE, retrieval, time, Unable, useLeave a Comment

Why is Hibernate searches the same column 4 times? Help mapping?

My class looks like these. Why is the same column selected 4 times? What’s wrong with the mapping?

@Entity @Table(name=”CLIENTS”)
public class Client implements Serializable {
@Id @Generated

October 12, 2021By Simo Hibernate Column, help, Hibernate, like, Mapping, Second, select, whyLeave a Comment

Hibernate 3.2.6.GA LocalDateTime (JODA-TIME) mapping

After many headaches with java.util.Date and Calendar, I solved using joda-time 1.3 in my project, but now I am facing another problem. The project uses Hibernate 3.2.6.ga version. In order to map

October 12, 2021By Simo Hibernate 3.2.6.Ga, GA, Hibernate, Joda, LocalDateTime, Medium, Shinjin, timeLeave a Comment

Posts navigation

Page 1 … Page 5 Page 6 Page 7 … Page 9
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress