Lazy JSF Primefaces Datatable Pagination
    
                
摘要:http://www.javacodegeeks.com/2012/04/lazy-jsf-primefaces-datatable.html
        
阅读全文
 
                
                    posted @ 
2013-12-25 18:22 
七月逆流
        
阅读(213) 
         
        推荐(0)     
                 
             
                
                
    Install Maven
    
                
摘要:Windows 2000/XPUnzip maven-2.0.7-bin.zip to the directory you wish to install Maven 2.0.7. These instructions assume you chose C:\Program Files\Apache Software Foundation\maven-2.0.7Add the bin directory to your path, by opening up the system properties (WinKey + Pause), selecting the "Advanced
        
阅读全文
 
                
                    posted @ 
2013-12-19 23:36 
七月逆流
        
阅读(277) 
         
        推荐(0)     
                 
             
                
                
    PO BO VO DTO POJO DAO概念及其作用
    
                
摘要:J2EE开发中大量的专业缩略语很是让人迷惑,尤其是跟一些高手讨论问题的时候,三分钟就被人家满口的专业术语喷晕了,PO VO BO DTO POJO DAO,一大堆的就来了(听过老罗对这种现象的批判的朋友会会心一笑)。 首先声明偶也不是什么高手,以下总结都是自己的体会。不对之处请您多指教。PO:persistant object持久对象最形象的理解就是一个PO就是数据库中的一条记录。好处是可以把一条记录作为一个对象处理,可以方便的转为其它对象。 BO:business object业务对象主要作用是把业务逻辑封装为一个对象。这个对象可以包括一个或多个其它的对象。比如一个简历,有教育经历、工...
        
阅读全文
 
                
                    posted @ 
2013-12-19 10:21 
七月逆流
        
阅读(258) 
         
        推荐(0)     
                 
             
                
                
    ManagedProperty not injected in @FacesConverter
    
                
摘要:I'm trying to inject a ManagedBean in my FacesConverted the following way:@ManagedBean@RequestScoped@FacesConverter(forClass = Group.class)public class GroupConverter implements Converter {@ManagedProperty("#{groupService}")private GroupService groupService;@Overridepublic Group getAsO
        
阅读全文
 
                
                    posted @ 
2013-12-17 16:47 
七月逆流
        
阅读(310) 
         
        推荐(0)     
                 
             
                
                
    java.lang.NoClassDefFoundError: weblogic/kernel/KernelStatus
    
                
摘要:solution Step:1.In the classpath tab, be sure to add the wlclient.jar file located here \wlserver_10.3\server\lib to the User Entries section 2.remove the WebLogic System Libraries from the Bootstrap Entries section. If you forget to remove the WebLogic System Libraries, you will get a stack like th
        
阅读全文
 
                
                    posted @ 
2013-12-11 13:30 
七月逆流
        
阅读(1137) 
         
        推荐(0)     
                 
             
                
                
    多表联合查询
    
                
摘要:1.相关概念:笛卡儿积在数学中,两个集合X和Y的笛卡儿积(Cartesian product),又称直积,表示为X × Y,是其第一个对象是X的成员而第二个对象是Y的一个成员的所有可能的有序对:。笛卡儿积得名于笛卡儿,他的解析几何的公式化引发了这个概念。具体的说,如果集合X是13个元素的点数集合{ A, K, Q, J, 10, 9, 8, 7, 6, 5, 4, 3, 2 }而集合Y是4个元素的花色集合{♠, ♥, ♦, ♣},则这两个集合的笛卡儿积是52个元素的标准扑克牌的集合{ (A, ♠), (K, ♠), ..., (2, ♠), (A, ♥), ..., (3, ♣), 
        
阅读全文
 
                
                    posted @ 
2013-12-11 12:28 
七月逆流
        
阅读(2641) 
         
        推荐(0)     
                 
             
                
                
    javax.persistence.RollbackException: Error while committing the transaction
    
                
摘要:the valid jpa update entity code gives the exception below in the case of wrong dependency( org.hibernate, hibernate-core, 4.2.0.CR1) entityManager.getTransaction().begin(); CompactDisc compactDisc = entityManager.find(CompactDisc.class, 7777); compactDisc.setTitle("ZZZZZZZ"); entityManage
        
阅读全文
 
                
                    posted @ 
2013-12-09 09:07 
七月逆流
        
阅读(6358) 
         
        推荐(0)     
                 
             
                
                
    HUAWEI手机解锁
    
                
摘要:1.关机;2.同时按上音量键和电源键,直至出现Android system recovery,按下音量键选择wipe date/factory reset->Yes-delete all user data,按电源键确定;当手机出现Date wipe complete,拆掉电池;3.安装电池,重启手机即可。 如果还是不行的话,用另一台手机打这台手机,接通后按中间home键,进入主界面在‘设置’中找到‘恢复出厂设置’。但这样自己装的软件会没有。
        
阅读全文
 
                
                    posted @ 
2013-12-04 09:25 
七月逆流
        
阅读(355) 
         
        推荐(0)