Re: JPA and Scala

2010-05-24 Thread Christopher Schmidt
John, I am not sure if I understand you right... (JPAExtension is not a application, it is a library) 5 years ago we started to use a really complex relational schema (that uses really every relational modeling feature available regarding primary keys and subclassing). We used Hibernate (non JPA)

Re: JPA and Scala

2010-05-23 Thread Web developer
Who will use your application? What process it automates? John 2010/5/22 Christopher Schmidt > Just to be sure: what do you mean with practical purpose? > > Christopher > > Am 22.05.2010 13:49 schrieb "Web developer" : > > Interesting, and what is a practical purpose of application(s) that you >

Re: JPA and Scala

2010-05-22 Thread Christopher Schmidt
Just to be sure: what do you mean with practical purpose? Christopher Am 22.05.2010 13:49 schrieb "Web developer" : Interesting, and what is a practical purpose of application(s) that you develop? John 2010/5/21 Christopher Schmidt > Hi all, > I am working on a JPA wrapper for Scala and I th

Re: JPA and Scala

2010-05-22 Thread Web developer
Interesting, and what is a practical purpose of application(s) that you develop? John 2010/5/21 Christopher Schmidt > Hi all, > I am working on a JPA wrapper for Scala and I think that I have found > an elegant way to use some ideas of JPA. > I managed to wrap EntityManager, EntitiyManagerFactor

Re: JPA and Scala

2010-05-22 Thread Christopher Schmidt
Hi Kevin, thanks for your reply In general the Scala community tends to invent things new (one example are the available persistence layers). This is OK, mostly, because a language like Scala has many new possibility to express things in terms of implementation and design of frameworks (DSL). But

Re: JPA and Scala

2010-05-21 Thread Kevin Sutter
Hi Christopher, I took a quick look at your links. Interesting ideas. Of course, the easiest way to allow for Scala Buffers is if Buffer extended Collection. I don't know anything about your Buffer architecture or implementation, so I don't know if this is even a doable question or not. As long

JPA and Scala

2010-05-21 Thread Christopher Schmidt
Hi all, I am working on a JPA wrapper for Scala and I think that I have found an elegant way to use some ideas of JPA. I managed to wrap EntityManager, EntitiyManagerFactory and Query. Unfortunately, there is no simple and elegant way to use Scala's collections. Using Scala classes as entities wor