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

Author: Simo

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

Hadoop – How to make S3DISTCP complies with the wrap

I have millions of small one-line s3 files that I want to merge together. I have s3distcp syntax, but I found that after merging the files, the merged set does not contain newline characters.

October 12, 2021By Simo Hadoop DISTCP, Hadoop, How, Merge, newline, S3DistCPLeave 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

NHIBERNATE: Add the entity to many-to-many collections only via ID

I am looking for shortcuts. I have some NH entities with many-to-many relationships. Something like this:

public class Customer: EntityBase
{
public virtual IList Categories {get; set; }
}
p

October 12, 2021By Simo Hibernate addition, entity, ID, multi-, multi-pair, NHIBERNATE, only, willLeave a Comment

Hibernate verifier Change the locale at runtime

I created an application with hibernate and used comments for verification.
I realized that to translate the message into my language, I must put it in the resource folder A file called Validation

October 12, 2021By Simo HibernateLeave a Comment

Problems when using Hibernate and SQL Server 2008

I have a problem with Hibernate and SQL Server 2008. When I try to save an object to the database, Hibernate will throw this:

could not retrieve snapshot: com.my.MyClass
Caused by: com.micros

October 12, 2021By Simo Hibernate appears, Hibernate, problem, server, SQL, UsingLeave a Comment

Hibernate – @AttributeOverride does not use inheritance

I tried to change the column name in the subclass table, but I will not change it with the @AttributeOverride annotation.

@ Entity @Table(name=”emp”)
@Inheritance(strategy=InheritanceType.TAB

October 12, 2021By Simo Hibernate AttributeOverride, does not make, Hibernate, inheritanceLeave a Comment

Hadoop – Hive query stays 99%

I use left join to insert records in Hive. When I set limit 1 query, but for all record queries, it stays at 99% to reduce jobs.

Insert overwrite table tablename select a.id, b.name from a le

October 12, 2021By Simo Hadoop 99%, Hadoop, hive, inquiry, stayLeave a Comment

Hibernate inheritance – Reference entity using @mappedsuperclass comment

@MappedSuperclass
public abstract class AbstractBaseModel{ }
@MappedSuperclass
public class Person extends AbstractBaseModel {}
@Entity
public class APerson extends Person {}
@Entity
public class B

October 12, 2021By Simo Hibernate entity, Hibernate, inheritance, mappedsuperclass, Note, reference, useLeave a Comment

Posts navigation

Page 1 … Page 157 Page 158 Page 159 … Page 590
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 2026 • ThemeCountry Powered by WordPress