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 – grails: Select Return (Random) Null, and the rows in PostgreSQL exist, and the connection pool has been opened

We have developed a Grails 2.0 application, which previously ran smoothly on MySQL

We have been asking administrators to switch to their favorite PostgreSQL

We have added some new featu

October 12, 2021By Simo HibernateLeave a Comment

Why is NHIBERNATE delayed loading binding to session?

Using Castle ActiveRecord, I stumbled upon a problem during lazy loading.

The following works (obviously)

using (new SessionScope())
{
User singleUser = User.FindFirst(…)
User

October 12, 2021By Simo Hibernate binding, latency, loading, NHIBERNATE, session, whyLeave a Comment

NHibernate session (and stateless conversation) and long-running applications

In the context of Windows Web Services for running jobs, we try to reuse the NHibernate DAL we developed for Web applications.

For session management , We have two options, each of which has

October 12, 2021By Simo Hibernate application, long time, NHIBERNATE, operation, program, session, statusLeave a Comment

Hibernate queries unmapped table

Is there a way to use java bean functionality on unmapped tables?

So, I have a table that is only used for reading and it will never be modified. I need to query it to display the data. But I

October 12, 2021By Simo Hibernate Hibernate, Mapping, no, query, tableLeave a Comment

Hibernate – HQL on subclass properties

I have a class A and a class B and a class C. They have different attributes.
How do I do:
aaaa where(a.class = B and a .specific-property-of-b = “y”) or (a.class = C and a.specific-property-of-c

October 12, 2021By Simo Hibernate Hibernate, HQL, Properties, subclassesLeave a Comment

LINQ to NHIBERNATE – Did not implement method COS

In Linq to NHibernate, I am trying to return business users within a certain distance. This is what I have so far:

var query = from b in ActiveRecordLinq.AsQueryable()
where (3959 * Math.Aco

October 12, 2021By Simo Hibernate COS, Implementation, linq, method, NHIBERNATE, noLeave a Comment

How to add ID before using NHibernate

It seems that NH only gets MAX(ID) once, and then stores the value internally when inserting it for the first time, which will cause some problems when other processes insert data. Then I didn’t Ac

October 12, 2021By Simo Hibernate Any, Before, Do, how to make, ID, increase, INSERT, NHIBERNATELeave a Comment

Hibernate – JPQL correctly

After searching, I found that there is no correct join in JPQL. I saw that there is another way to implement it in both directions using JPA (not connected correctly but using pojo objects) but I a

October 12, 2021By Simo Hibernate correct, Hibernate, JOIN, JPQLLeave a Comment

Hibernate – uses producers in Tomcat to inject EntityManager

I am running a project using Hibernate and Weld CDI on tomcat 7. I have written a ServletContextListener to create EntityManagerFactory and EntityManager during application startup.

public cl

October 12, 2021By Simo Hibernate EntityManagerLeave a Comment

Use NHibernate for ASP.NET MVC and user authentication

I am about to start a new application and am excited about using asp.net mvc and nhibernate. However, the biggest “problem” is how do I handle user authentication things. Those What is the way to u

October 12, 2021By Simo Hibernate ASP, ASP.NET, Identity, MVC, NHIBERNATE, user, Using, verificationLeave a Comment

Posts navigation

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