Java Spring Hibernate Extensions

Provides JpaVendor Hibernate specific implementation.

License

License

Categories

Categories

Net Hibernate Data ORM
GroupId

GroupId

net.seesharpsoft.sharping
ArtifactId

ArtifactId

sharping-spring-hibernate
Last Version

Last Version

0.21.0
Release Date

Release Date

Type

Type

jar
Description

Description

Java Spring Hibernate Extensions
Provides JpaVendor Hibernate specific implementation.
Source Code Management

Source Code Management

http://github.com/seesharpsoft/sharping/tree/master/sharping-spring-hibernate

Download sharping-spring-hibernate

How to add to project

<!-- https://jarcasting.com/artifacts/net.seesharpsoft.sharping/sharping-spring-hibernate/ -->
<dependency>
    <groupId>net.seesharpsoft.sharping</groupId>
    <artifactId>sharping-spring-hibernate</artifactId>
    <version>0.21.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.seesharpsoft.sharping/sharping-spring-hibernate/
implementation 'net.seesharpsoft.sharping:sharping-spring-hibernate:0.21.0'
// https://jarcasting.com/artifacts/net.seesharpsoft.sharping/sharping-spring-hibernate/
implementation ("net.seesharpsoft.sharping:sharping-spring-hibernate:0.21.0")
'net.seesharpsoft.sharping:sharping-spring-hibernate:jar:0.21.0'
<dependency org="net.seesharpsoft.sharping" name="sharping-spring-hibernate" rev="0.21.0">
  <artifact name="sharping-spring-hibernate" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.seesharpsoft.sharping', module='sharping-spring-hibernate', version='0.21.0')
)
libraryDependencies += "net.seesharpsoft.sharping" % "sharping-spring-hibernate" % "0.21.0"
[net.seesharpsoft.sharping/sharping-spring-hibernate "0.21.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.hibernate : hibernate-core jar
net.seesharpsoft.sharping : sharping-spring-data jar 0.21.0

Project Modules

There are no modules declared in this project.

Spring - Multipart / Batch messages

Enable multipart / batch request for JAVA Spring.

Links

Implementation is syntactically inspired by

http://www.rfc-editor.org/rfc/rfc2046.txt

https://tools.ietf.org/id/draft-snell-http-batch-00.html

http://www.odata.org/documentation/odata-version-3-0/batch-processing/

Example

  • startup multipart-example spring-boot:run
  • POST localhost:8080/my/own/multipart/endpoint

Header

Content-Type: multipart/mixed

Body

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

GET /hello HTTP/1.1
Host: host

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

GET /greeting?name=Trevor HTTP/1.1
Host: host

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

GET /greeting?name=Peter&name=Lustig HTTP/1.1
--batch--

Response

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 27

Greetings from Spring Boot!
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 35

{"id":1,"content":"Hello, Trevor!"}
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 41

{"id":2,"content":"Hello, Peter,Lustig!"}
--batch--

Versions

Version
0.21.0
0.20.0