Spring

14 entries
201607 · 14

Converting from maven to gradle...

There's a manual install method.. but I prefer automatic installs like the above doesn't everyone For manual install see the site…

gradlespring
Etc2 min
201511 · 13

calling a spring jpa namedQuery directly

As in Test.java, you can execute a NamedQuery defined in orm.xml directly with the EntityManager..

springjpa
Spring1 min
201511 · 10

spring redis integration

Integrating Redis with Spring using spring-data-redis, from the dependency through configuration and the result.

springredis
Spring1 min
201510 · 28

building a website with spring + sitemesh

Let's set up sitemesh. There's almost nothing to change in sitemesh.xml (just the decorators.xml file path) Setup is done once you drop in the xml…

springsitemesh
Spring2 min
201510 · 21

spring jpa save

In jpa you save with the repository.save method Like the class, @OneToMany or @ManyToOne fields can be saved together.

springjpa
Spring1 min
201510 · 08

practicing spring jpa @NamedQuery, @NamedNativeQuery

In jpa.. you can query data through a repository with findAll or the findOneBy....

springjavajpa
Spring1 min
201510 · 07

spring jpa query practice

Tested entity mapping plus queries.. Query conditions 1. When fetching a Member.. also fetch the member's images... and the list of inters 2.

springjavajpa
Spring3 min
201510 · 05

spring jpa setup and test (maven config)

I develop with mybatis most of the time.. But JPA is supposedly the trend, so I wired it into a small project.

springjpa
Spring3 min
201508 · 27

using spring batch

Tried spring-batch recently.. worked out well. Being able to set the transaction commit size and read size separately seems especially nice.

spring
Spring1 min
201504 · 15

hadoop + spring integration test 2 - hadoop 2.6.x with spring 4.0 (MapReduce WordCount example)

hadoop + spring integration test 2 - hadoop 2.6.x with spring 4.0 (MapReduce WordCount example)

hadoopspring
Spring2 min