• Menu
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

JavaBeat

Java Tutorial Blog

  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)
  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)

MySQL

Read Only / Write Only Operations using Spring Data Repository Services

June 16, 2014 //  by Amr Mohammed//  Leave a Comment

As we’ve learned about Spring Data Repository in our previous tutorials, it’s an abstraction layer that built in top of persistent store that leverage the ability of accessing that store for achieving CRUD operations. Spring Data Repository had integrated seamlessly with all of the aspects that might be concerned by a developer, one of those aspect …

Category: Spring FrameworkTag: MySQL, Repositories, Spring Data

PrimeFaces + Spring Data using PagingAndSortingRepository Example

June 4, 2014 //  by Amr Mohammed//  Leave a Comment

In general, Spring Data JPA module implements the Spring Data Commons repository abstraction to ease repository implementations. As well as the Spring Data repository approach allows you to get rid of most of the implementation code by using a plain interface definition. You’ve leveraged repository implementation in your applications by creating an interfaces that extends the …

Category: Spring FrameworkTag: MySQL, PrimeFaces, Spring Data, Spring Repository

PrimeFaces 5 + Spring Data + MySQL Integration

May 20, 2014 //  by Amr Mohammed//  Leave a Comment

This tutorial guides you through creating a web application that integrates between PrimeFaces 5, Spring Data and MySQL database. It’s important for you to learn the basics of the technologies PrimeFaces and Spring Data before start reading this tutorial. Also read: Spring Data JPA Spring Data JPA + Querydsl Spring Data + MongoDB  Connect With …

Category: Spring FrameworkTag: MySQL, Primefaces 5, Spring Data, Spring JPA

Connect To MySQL With JDBC Driver

November 11, 2013 //  by Krishna Srinivasan//  Leave a Comment

Here is an example to connect your JDBC code to MySQl database. You have to download mysql.jar for the JDBC driver class from here. [code] Class.forName("com.mysql.jdbc.Driver"); Connection conn = null; conn = DriverManager.getConnection("jdbc:mysql://hostname:port/dbname","username", "password"); conn.close(); [/code]   [code lang=”java”] package javabeat.net.db; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class MySQLConnectionExample { public static void main(String[] …

Category: MYSQLTag: JDBC, MySQL

Hibernate, Maven and HSQL – Example Project (Using Annotations)

March 11, 2013 //  by Manisha Patil//  Leave a Comment

In this tutorial we will write a simple Java project to demonstrate Hibernate, HSQL and Maven using Java 5 Annotations. For this we will use our previous example in the post Hibernate, Maven and HSQL – Example Project (XML Mapping)) as base and convert it from XML Mapping to Annotation. HSQL database is used to …

Category: HibernateTag: Hibernate, MySQL

JDBC connection in JDeveloper with MySQL database

November 25, 2008 //  by Krishna Srinivasan//  Leave a Comment

The Java Database Connectivity (JDBC) API is used to access a SQL database from a Java application. JDBC also supports tabular data sources, such as a spreadsheet. Oracle JDeveloper is a free Integrated Development Environment (IDE) for modeling, developing, debugging, optimizing, and deploying Java applications. JDeveloper 10g is used to develop J2EE applications comprising the JSPs, …

Category: JavaTag: JDBC, JDeveloper, MySQL

Configure MySql Database With Hibernate Mappings

July 29, 2008 //  by Krishna Srinivasan//  Leave a Comment

Configure MySql Database Configuring MySql database with hibernate is the same as with other databasses. The only difference will be connection url and the database dialect to be specified in the configuration file. This tips provides a basic example configuration file for configuaring the MySql with hibernate. But it doesn’t explain you installing the MySql …

Category: HibernateTag: hibernate mappings, MySQL

Primary Sidebar

Follow Us

  • Facebook
  • Pinterest

FEATURED TUTORIALS

np.zeros

A Complete Guide To NumPy Functions in Python For Beginners

What is new in Java 6.0 Collections API?

The Java 6.0 Compiler API

Introductiion to Jakarta Struts

What’s new in Struts 2.0? – Struts 2.0 Framework

JavaBeat

Copyright © by JavaBeat · All rights reserved
Privacy Policy | Contact