Does iBatis enforce a primary key on my table?
        Posted  
        
            by Yousui
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Yousui
        
        
        
        Published on 2010-03-17T06:49:11Z
        Indexed on 
            2010/03/17
            6:51 UTC
        
        
        Read the original article
        Hit count: 196
        
Hi guys,
I'm working on a legacy project. The database is poorly designed. I want to change the DB layer now. The first think go through my mind is hibernate, but I hibernate need a primary key on my table. In fact some of my table does not have primary key. So I did a google search and I find iBatis, it's sounds very good with it. But I don't know whether iBatis enforce a primary key on my table?
Thanks.
© Stack Overflow or respective owner