Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Whenever I develop a J2EE-Application, I at some point decide to switch from my dummy Persistence (Simply Using Lists and other Data Structures) to some Sort of Database Persistence. Mostly when I hope the Data Model is more or less complete.

From this point on, changes to the data model become exhausting, but unluckily they occur rather often.

I've used different Object-Relational-Mappers (iBatis, Hibernate) for my projects. They definitely reduce the pain coming with Data Model changes, but they anyway let me adjust code/configuration at 3 or 4 places for every single change. To me, that's cumbersome and error prone.

I made a better experience with DB4O, which simply persists Java Objects as they are, but I believe it's performance does not scale for huge applications.

Is there anyway to maintain performance while letting out all the ugly configuration work?

I'm seeking a performant framework which really hides persistence from my code. Wish for thinking? Or am I missing out THE technology?

Hope you can help.

share|improve this question
Perhaps there are open source packages for JPA or Hibernate that can maintain the boilerplate configurations based on the current database schema? I am not aware of any good ones so far, but I was thinking along the lines of EntityFramework in .NET, how you are able to update your model from the database schema. In other words, perhaps a code generation tool of some kind would be beneficial? – maple_shaft Jul 11 '12 at 16:36
There are definitely plenty of tools for hibernate and jpa that generate your entities with annotations from db and vice versa (hibernate tools from jboss). – Eduard Jul 11 '12 at 17:08

closed as off topic by Jarrod Roberson, Walter, Matthieu, Ryathal, Dynamic Sep 20 '12 at 10:27

Questions on Programmers Stack Exchange are expected to relate to software development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

1 Answer

I think that you shoul have a look at some of the object databases. There are several. I tried objectdb it supports JPA with no need of mapping which sounds like something you are looking for.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.