Skip to content

FaKod's Blog

Primary menu

  • Home
  • Impressum
Menu
  • Home
  • Impressum

Tag Archives: JPA

Scala Case Class as JPA EmbeddedId

Posted on 8. March 2011 by fakod

It is a good idea to use case classes as EmbeddedId class. Id classes can be used to specify an embeddable composite primary key class owned by the entity (more…). Scala Case classes provide a default equals and an “automatic” Continue reading Scala Case Class as JPA EmbeddedId→

Posted in Uncategorized | Tagged JPA, Scala

Constructor Arguments with JPA-Annotations

Posted on 14. July 2010 by fakod

Scala provides the possibility to define constructor argument that are class properties as well. I recoded the entity OrganisationAssociation to use j__organisations as argument. The example entity from my post Relations with Scala Collections and JPA looks like this: @Entity Continue reading Constructor Arguments with JPA-Annotations→

Posted in Uncategorized | Tagged JPA, OpenJPA, Scala

Relations with Scala Collections and JPA

Posted on 1. July 2010 by fakod

Java Collection JPA’s One to Many and Many to Many relations require an attribute of type java.util.Collection like it is shown in the next example. This will be normally a List interface and a ArrayList implementation. … @OneToMany public Collection Continue reading Relations with Scala Collections and JPA→

Posted in Uncategorized | Tagged JPA, OpenJPA, Scala

Scala Entity and JPAExtension Examples (JPA 2.0)

Posted on 10. June 2010 by fakod

I am using: a Mapped Superclass for all basic entities (MIPEntity) a pre persist entity listener to change some values the following hierarchy: MIPEntity . . . // do something with oi } withQuery (filter) Apply function on entity got Continue reading Scala Entity and JPAExtension Examples (JPA 2.0)→

Posted in Uncategorized | Tagged JPA, JPAExtension, OpenJPA, ORM

JPA For Scala

Posted on 15. May 2010 by fakod

JPAExtension (JPA for Scala, ORM for Scala) should: be fully JPA 2.0 compliant Persistence Layer and Object Relational Mapper (ORM) for Scala perfectly replace the Java API with Scala Collections and other niceties support Transaction Scope Wrappers with Scalas Functional Continue reading JPA For Scala→

Posted in Uncategorized | Tagged JPA, JPAExtension, ORM

Wrapping JPA Queries

Posted on 4. February 2010 by fakod

I love the “pattern” used in this post (which I got from here). Working with JPA queries I tried to follow the same pattern. In a REST resource I needed to query for one entity and change the location attribute. Continue reading Wrapping JPA Queries→

Posted in Uncategorized | Tagged JPA, Scala

Primary Sidebar Widget Area

more about me

  • My Curriculum Vitae
  • My Github Account
  • My Twitter

Recent Posts

  • Dockerfile for Nexus 3.0.0-m7
  • Splout Docker image with Hadoop
  • Charting for Splout with AngularJS and NVD3.js
  • Realtime Analysis with Kafka and Vertx
  • Camus Sweeper
  • A Journey With Scala and Akka
  • Sliding Window and Adaptive Counting
  • Vertx, Twitter and Top-K
  • Scala’s Built-in Dependency Injection
  • Scala Type Class with Context Bounds
  • Verteilte Anwendung komplexer Filteroperationen auf große Bilder
  • Scala Case Class as JPA EmbeddedId
  • Mishmash of Topics (worth to look at)
  • Yet Another Try: A REST Client with Jersey and Scala
  • Neo4j REST Server, GWT and JIT Part 3
  • Neo4j REST Server, GWT and JIT Part 2
  • Neo4j REST Server, GWT and JIT Part 1
  • Wave in a Box (GTUG BootCamp)
  • Spatial Lucene Example in Scala
  • HBase on Cloudera VM

Tags

AngularJS AOP Aspect AspectJ Camus D3.js Google GTUG GWT Hadoop HBase HDFS Hudson Java JavaScript JAX-RS JAXB Jersey JIT JPA JPAExtension JSON Kafka Lucene Neo4j NoSQL NVD3.js OpenJPA ORM Reflection Release it REST Satire Scala Scrum Spatial Splout streaming stream processing SW Architecture Test vertx VMWare Wave XML

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
  • Twitter
  • Google Plus
  • Linkedin
Copyright © 2019 FaKod's Blog. All Rights Reserved.
Theme: Catch Box by Catch Themes
Go to Header Section