Skip to main content

Posts

Hibernate Native SQL Query Example | Named SQL Queries Hibernate

 Hibernate Native SQL Query Example For explanation watch the video : Directory structure pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>NamedSqlQueries</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>NamedSqlQueries</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.9</maven.compiler.source> <maven.compiler.target>1.9</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>junit<...

Collection Mapping in Hibernate

 Collection Mapping in Hibernate For Explanation watch Video :: Directory Structure: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>CollectionMapping</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>CollectionMapping</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.9</maven.compiler.source> <maven.compiler.target>1.9</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>junit</...

HQL (Hibernate Query Language) Tutorial with Examples

  HQL (Hibernate Query Language) Tutorial with Examples For explanation watch video: Directory Structure: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">   <modelVersion>4.0.0</modelVersion>   <groupId>com.test</groupId>   <artifactId>HQLQueries</artifactId>   <version>0.0.1-SNAPSHOT</version>   <packaging>jar</packaging>   <name>HQLQueries</name>   <url>http://maven.apache.org</url>   <properties>     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>     <maven.compiler.source>1.9</maven.compiler.source>     <maven.compiler.target>1.9</maven.compiler.target>   </properties>   <d...

JPA Criteria Queries | Hibernate - Criteria Queries

 JPA Criteria Queries  for explanation watch video :: Directory Structure: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>JPACriteriaAPI</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>JPACriteriaAPI</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.9</maven.compiler.source> <maven.compiler.target>1.9</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>junit</groupId> ...