• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iBATIS imposing design

 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

im new to iBATIS. For now, it seems iBATIS is imposing a object relational design on the OO design.

What if I want to do an "insert" using data from more than 1 Java object. How can I do that ?

From what I've seen, I would have to create 1 java object for each of my SQL table, which lead me to say that iBATIS is not so flexible.

Can someone please tell me how this can be done.

Regards,
Alex
 
Prem Khan
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I evaluated iBATIS for a large project awhile back, but I found it to be less flexable than other ORM tools.

In the end I choose Hibernate. Hibernate alows you to structure your javaclasses and their relationship to the database tables in just about any way you can imagin. More than one java class can be used to represent one table, or the other way around if you want.

This can be used as an object oriented solution in its self.

Look up "finely grained domain models".



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic