LLBLgen for java

Posts   
 
    
stefcl
User
Posts: 210
Joined: 23-Jun-2007
# Posted on: 03-Nov-2008 10:09:23   

Hello,

I have been using llblgen for more than one year now and have had great success using it.

Next year I'm starting a new job in an another company where I'll be asked to develop enterprise applications using java. Leaving the .net world, llblgen is the tool I'll miss the most. Untyped queries causing runtime exceptions, invasive error handling code, raw transaction management are all things I'm no longer used to. Thanks to llblgen I have been able to focus on my customers requirements rather than on ADO.net issues.

I wonder if anyone knows about a good OR mapping framework in java that would come close to what llblgen does.

Seth avatar
Seth
User
Posts: 204
Joined: 25-Mar-2006
# Posted on: 04-Nov-2008 04:40:48   

How about Hibernate?

stefcl
User
Posts: 210
Joined: 23-Jun-2007
# Posted on: 05-Nov-2008 11:10:05   

Thanks for the idea, I have already done some googling for hibernate.

Looking at the examples I have found, it seems that as soon as there's a need to do anything more advanced than reading/writing single entities, you have to write unsafe string-based queries.

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 06-Nov-2008 22:21:37   

Don't they have HQL - a code based query structure...? http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html

stefcl
User
Posts: 210
Joined: 23-Jun-2007
# Posted on: 10-Nov-2008 15:55:45   

Yes, but as far as I know, queries written in HQL are string-based and aren't checked at compile time. Therefore you might wonder if it's any better than SQL if you don't need portability.