type mapping (RSS)

Pragmatism, not to use Hibernate, enumerated type Enum mapping application in the OR

In a long time ago刚接触Hibernate, think that novel, on-line a lot of evaluation, how that's convenient, to study it, read the source code, do the test, with step-by-step inside. Also learn a lot of ...

Hibernate type mapping mapping types hibernate mysql

Hibernate mapping type of standard Java types and SQL types of the size range of integer or int int or java.lang.Integer INTEGER 4 bytes long long Long BIGINT 8 bytes short short Short SMALLINT 2 byte ...

J2EE project data persistence layer design

J2EE project data persistence layer design Data Persistence Layer design goal is to provide a high level throughout the project, unity, security, and concurrent data persistence mechanism. Achieve the ...

6. Configuration JBoss data source

M in the main SQL as an example: (1): add driver package Put MySQL driver mysql-connector-java-5.0.8-bin.jar copied to the% JBOSS_HOME% / server / default / lib directory (the default configuration is ...

The EJB3 Persistence

EJB3 persistence with Hibernate is very similar to the mechanism: Environment: Server: JBOSS5.0 Database: MySQL5.0 1. Set up a data source First of all, in jboss-5.0.0.GA \ server \ default \ deploy, ...