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

Tag: Hibernate

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

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

How to delete a collection in Hibernate intermediate?

Suppose I have two entities, a post and a comment (in ColdFusion):

component persistent=” true” table=”post”
{
property name=”Id” fieldtype=”id”;
property name=”Comments” fieldtype=”one-to-

October 12, 2021By Simo Hibernate Cascaded, collection, delete, Hibernate, HowLeave a Comment

Hibernate uses @Dynamicinsert and @Dynamicupdate to generate dynamic SQL statements

In using Hibernate4 recently, I found two very mysterious annotations @DynamicInsert and @DynamicUpdate

If it is in the configuration file That is, dynamic-insert and dynamic-update

The

October 12, 2021By Simo Hibernate Dynamicinsert, Dynamics, Dynamicupdate, Generation, Hibernate, SQL, Statements, utilizationLeave a Comment

GRAILS default Hibernate cache configuration

The Grails 2.0.0 reference manual shows the following as the default Hibernate cache configuration

hibernate {
cache.use_second_level_cache=true
cache.use_query_cache=true
cache.provider_c

October 12, 2021By Simo Hibernate Cache, configuration, default, Grails, HibernateLeave a Comment

Hibernate: How to use a comment to specify a custom sequence generator class name?

I want to use comments to specify the following hbm configuration:

I don’t know how to provide the class name< /p>

@GeneratedValue(strategy=GenerationType.SEQUENCE, generator=”SEQ_STORE

October 12, 2021By Simo Hibernate beache, Born, class, customized, Hibernate, How, Name, Notes, Sequence, specified, useLeave a Comment

Posts navigation

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