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 – Delete the parent reference before deleting the entity (if any)

Before deleting an entity, you must delete the entity from its parent list and delete the parent entity from the entity itself.

Example (CMT in EJB) One-to-many from state to city:

publ

October 12, 2021By Simo Hibernate Before, delete, entity, Hibernate, if, its parent, referenceLeave a Comment

NHibernate Queryover on iUserType

First of all let me apologize for the length of this article, it is mainly code, so I hope you all bear with me!

I have a scenario dealing with a legacy database, I need to write an IUserType

October 12, 2021By Simo Hibernate iusertype, NHIBERNATE, QueryoverLeave a Comment

Sleep – repeatable reading and second loss update problem

Using a repeatable read isolation level, updates may still be lost (the second lost update problem). For example. In the scenario where the isolation level is set to RR: 1) Transaction t1 reads da

October 12, 2021By Simo Hibernate loss, problem, read, Repeat, Second, sleep, UpdateLeave a Comment

Hibernate – Creating a JPA EntityMananger in Spring Context

I have a JPA/Spring application which uses Hibernate as the JPA provider. In part of the code, I have to manually create DAOs in my application using the new operator, Instead of using Spring DI. W

October 12, 2021By Simo Hibernate context, create, Entitymanger, JPA, Of Hibernate, Question, springLeave a Comment

Hibernate annotation development

We use annotations in hibernate, which can help us simplify hbm file configuration.
1.1. PO class annotation configuration
@Entity declares an entity br/>@Table to describe the class and table cor

October 12, 2021By Simo Hibernate annotation, Development, HibernateLeave a Comment

How to tell Hibernate Conditionally ignore the columns in Crud operations

Is it possible in some way to tell Hibernate to conditionally ignore missing columns in the database table when performing CRUD operations?

I have a Java application that uses Hibernate as th

October 12, 2021By Simo Hibernate condition, CRUD, Hibernate, how to tell, Ignore, land, operationLeave a Comment

NHIBERNATE line number exceeds partition C #

I am new to nhibernate and need your help.

How to execute this sql query in nhibernate-criteria C#

select * from
(
select *, row_number() over (partition by questionaireId order by ste

October 12, 2021By Simo Hibernate C #, exceeding, line number, NHIBERNATE, partitionLeave a Comment

Use the Hibernate Projections on Entity With Manytoone relationship, use fewer columns on SQL query

I am trying to build a smaller SQL to avoid the “select * from A” built for hibernate Criteria by default.

If I Using simple fields (no relation), through “Transformers”, I can manage to have

October 12, 2021By Simo Hibernate entity, Hibernate, less, Manytoone, More, Projections, query, relationship, SQL, Through, useLeave a Comment

When the component is removed, NHibernate is incorrectly compared to NULL.

I have a problem updating the collection of components on the entity. It was originally mapped as a package, but this resulted in deleting and reinserting all entries every time. Change it to a gro

October 12, 2021By Simo Hibernate comparison, Component, delete, error, land, NHIBERNATE, null, procedure, timeLeave a Comment

Select multiple hibernate import.sql depending on the conditions

How to specify the import file I want to run hibernate. Is there a configuration option I can put (I think I have seen something similar somewhere) I can say custom. sql file and hibernate will run

October 12, 2021By Simo Hibernate By, conditions, Hibernate, import, import.sql, multiple, options, SQLLeave a Comment

Posts navigation

Page 1 … Page 3 Page 4 Page 5 … 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