Jinq, a library to provide a DSL for database queries, has been made available for Java and Scala. The work is inspired by .NET's LINQ, and aims at enabling easy-to-write queries with support for type safety. As commented by Ming-Yee Iu, creator of the tool, work on Jinq started in 2006 under project name Queryll; however, the adoption of lambdas in Java 8 is what has realised its full potential.
Stephen Colebourne and OpenGamma released v1.1 of ElSql, a library and DSL for managing SQL in external files. Colebourne is well known for his work as the spec lead of Java Time, a cornerstone of last year's Java 8 release, and for his creation of the Joda Time and Joda Money API's.
NHibernate 4.0 GA has been released. It comes with .NET 4.0 support, moving away from the Iesi.Collections library, and also supports some SQL Server 2012 features such as sequences and Query Paging.
Entity Framework continues to have performance problems when using larger EDMX models to generate classes. “If the EDMX only has one entity type materialization takes 840 ms […] but when the EDMX contains a richer model, for example one with 67 entity types and 92 associations, the same test takes 7246 ms to complete”.
Julie Lerman recently noted that Entity Framework can work with classes having private constructors and private property setters, which promotes persistence ignorance. We explore further.
Hibernate, the popular Java ORM, has recently added OSGi support. InfoQ caught up with Brett Meyer to find out more about the challenges involved.
For many years NHibernate reigned as the premier ORM for the .NET framework and despite the successes of Entity Framework many people still consider it their first choice for new projects. But a lack of developers may severely hamper its future.
A CAST report discloses that JEE enterprise software has lower quality when using Spring or Struts than using just Hibernate. Also, the quality degrades when Java is mixed with C or C++.
Developer Ricardo Peres of Portugal has published a seemingly unbiased comparison of the leading .NET ORMs: NHibernate and Entity Framework. While we recommend anyone considering both to read his article, Differences Between NHibernate and Entity Framework, we are going to tough on some of the key differences.
Version 3.5 of the ORM tool LLBLGen Pro was released this week, and includes updates to Entity Framework and NHibernate functionality, designer improvements, and several updates to the runtime, such as support for OData and SQL Server 2012.
JBoss relases Hibernate 4.1 with improvements to the Envers module that allow for finding the database revision responsible for a change in a specific audited property.
JBoss Releases Hibernate 4.0 which comes with Multi-tenancy support, the introduction of a standard mechanism for writing Hibernate extensions, initial refactorings towards OSGI and several other cleanups.
S#arp Lite is an effort to make S#arp Architecture more accessible to all developers; this scaled-back version includes a project template set up to connect to a database via NHibernate, a set of reusable class libraries, a base repository, and a sample project.
Emmanuel Bernard, the developer behind Hibernate Validator, Hibernate Search, among others, recently announced the birth of Hibernate OGM. The new framework's goal is to provide a common interface for NoSQL datastores using JPA constructs. InfoQ spoke to Bernard to find out more about the framework.
NHibernate 3.0 is the first major release of the popular ORM in over a year. With the release it has changed the CLR version to .NET 3.5. This allows the creation of the QueryOver API, while replaces the string-based ICriteria expressions with strongly typed lambda expressions. This is in addition to the built-in LINQ provider.