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.

NHibernate and Rhino Security – illegally trying to associate a proxy with two open sessions

I am using Rhino Security as my security layer on top of NHibernate in my ASP.NET MVC 3 application. When I try to delete a secure entity, Rhino Security triggers for cleanup The OnPreDelete method

October 12, 2021By Simo Hibernate Agent, association, illegal, NHIBERNATE, open, RHINO, security, sessions, try, twoLeave a Comment

NHIBERNATE – Update the subkey version does not increase

If I read the document correctly, if I have an Order entity that uses version column mapping (added by nhibernate), then changes to the order line should update the aggregate root (order) Version n

October 12, 2021By Simo Hibernate Child, increase, NHIBERNATE, no, time, Update, versionLeave a Comment

NHIBERNATE – Can’t find the field: ‘nancy.bootstrapper.nancybootstrapperlocator.bootstrapper’

I have been using Nancy fx recently and I like it, but when I try to make a structure diagram ioc like the documentation page suggests I get an error

Find Field not found:’Nancy.Bootstrapper.

October 12, 2021By Simo Hibernate bootstrapper, nancy, nancy.bootstrapper.nancybootstrapperlocator.bootstrapper, nancybootstrapperlocator, NHIBERNATE, 字段, 找不到Leave a Comment

Despite the use of lazy fetch, Hibernate JPA OnToone is still inquiring

The problem I encountered is that Hibernate queries a class on the other side of the lazy onetoone relationship.

Query top_players (depending on cache settings) Query through the mapping tabl

October 12, 2021By Simo Hibernate Despite, FETCH, Hibernate, JPA, lazy, OneToone, still inquiriesLeave a Comment

Hibernate – If Cascade.Persist and Cascade.Remove are used together in the parent entity in the HiberNet, Cascade deletes don’t work.

I have a table relationship definition as shown below, I am trying to cascade persistence and delete from Entity2 (table 2) means deleting a record from table2 should delete the entry in table 3, a

October 12, 2021By Simo Hibernate Cascade, Cascade.Pascade, Cascade.remove, Casual, entity, father, Hibernate, Hibernet, if, Perscade, removeLeave a Comment

Hibernate – JPA @LOB attribute encoding cannot be used with PostgreSQL text

JPA Mapping

I am using JPA and Hibernate. I have an entity with @Lob attributes

@Column(nullable=false)
@Lob
private String text; I am using PostgreSQL 8.4 and entities are correctly ma

October 12, 2021By Simo Hibernate attribute, can't, encoding, Hibernate, JPA, LOB, PostgreSQL, Text, Together, useLeave a Comment

Hibernate tools are erroneous in Eclipse STS when connecting to mySQL database

I use Eclipse STS 3.1.0 and Hibernate Tools 3.6.0. I am trying to connect to a MySQL 5.5 database to generate my DAO class. I am using the MySQL driver mysql-connector- java-5.1.21.jar

When s

October 12, 2021By Simo Hibernate database, Eclipse, mysql, STSLeave a Comment

Add other columns to the audit table using Hibernate Envers

Can I add other columns to the audit table?
For example, I have a table like this

@Entity
@Table(name=”EmpEnverPrac”)
@Audited
public class EmpEnverPractice {
@Id
@Column(name=”ID”)
@Ge

October 12, 2021By Simo Hibernate ColumnLeave a Comment

Hibernate – GRAILS Domain Relationship

I have a class called School, which has many students, so now when I use School.read to read the school instance, I don’t want all students Have been taken out eagerly, so I changed the laziness of

October 12, 2021By Simo Hibernate domain name, Grails, Hibernate, relationshipLeave a Comment

Hibernate – How do I work in the JPQL WHERE clause?

How to evaluate entity comparison (equal) statements in JPQL: Is it through identity comparison, equals() or something else?

I spent a few hours Googling and completed the Hibernate and JPA s

October 12, 2021By Simo Hibernate clause, comparison, entity, Hibernate, How, JPQL, Medium, PlayLeave a Comment

Posts navigation

Page 1 Page 2 … 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