submited by krishnas on Wed Aug 1st, 2007
hibernate
ernate Search has a new beta out and comes with a bunch of interesting new features:
* Named filters: custom filters on query results (transparently cacheable)
* Automatic index optimization
* Access to query metadata (Score, ...)
* Support for the Java Persistence API
* Index Sharding (indexing an entity into several underlying Lucene indexes) ...
more »
submited by krishnas on Mon Jul 30th, 2007
hibernate
Hibernate has one set of ideas about how to make something unique, such as using a database sequence number as an ID. But this clashes with Java's need for implementations of equals() and hashCode() that determine identity for objects, even those that haven't yet made a trip to the database and thus can't have a sequence number. James Brundege has an option that should satisfy both Hibernate and Java....
more »
submited by krishnas on Mon Jul 30th, 2007
hibernate
Hibernate is just about the defacto standard for Java database persistence. With Hibernate 3, it has become even easier to specify how your Java objects are stored in a database. In this article, John Smart shows how Java 5 annotations are used by Hibernate to simplify your code and make persisting your data even easier...
more »
submited by krishnas on Sun Jul 29th, 2007
spring hibernate
The Hibernate team never liked Spring's HibernateTemplate. In one of the latest TheServerSide Spring free-for-alls, Gavin King pointed out:...
more »
submited by krishnas on Sun Jul 29th, 2007
hibernate
I've been working some time with Hibernate and been quite happy with it. However, for one of the projects I'm working on, I've been facing a problem Hibernate could not manage alone. The main idea was just to migrate an existing database from MySQL to an ORM DB independent through Hibernate....
more »
submited by krishnas on Sun Jul 29th, 2007
hibernate
Your data model was near perfect when your application was first written. Since then, it has evolved. You've hacked, you've denormalized, and, as a result, you've spent countless hours in meetings ranting about the fixes you need to put in place....
more »
submited by krishnas on Wed Jul 25th, 2007
hibernate
We've seen a few people using internationalized reference data where labels displayed in the user interface depend upon the user's language. It's not immediately obvious how to deal with this in Hibernate, and I've been meaning to write up my preferred solution for a while now....
more »
submited by krishnas on Wed Jul 25th, 2007
hibernate
Hibernate3 adds the ability to pre-define filter criteria and attach those filters at both a class and a collection level. What's a "pre-defined filter criteria"? Well, it's the ability to define a limit clause very similiar to the existing "where" attribute available on the class and various collection elements. Except these filter conditions can be parameterized! The application can then make the decision at runtime whether given filters should be enabled and what their parameter values should be....
more »
submited by krishnas on Mon Jul 16th, 2007
hibernate ejb
How can you slowly migrate existing Hibernate apps to JPA? How can you use Hibernate features and unique mapping capabilities with a JPA deployment? How can you take advantage of EJB3 injection and persistence context management with Hibernate? In this blog I want to show how Hibernate, JPA, and EJB 3.0 can co-exist and compliment one another. This information is fully documented between the Hibernate and JBoss EJB3 projects, but I thought I'd highlight them in this blog to make the community aware that they exist....
more »