[appfuse-user] Re: Using JPA Annotations, getting Unknown Entity problem

2008-08-29 Thread John Kwon
On Fri, Aug 29, 2008 at 2:51 PM, John Kwon <[EMAIL PROTECTED]> wrote: > I was trying to do a simple unit test and I can't get it to run because I > get > > testAddAndRemoveIncidentAttachment(com.csc.ctms2.dao.IncidentNoteAttachmentDaoTestCase) > Time elapsed: 0.047 sec <<< ERROR! > org.springfram

[appfuse-user] Using JPA Annotations, getting Unknown Entity problem

2008-08-29 Thread John Kwon
I was trying to do a simple unit test and I can't get it to run because I get testAddAndRemoveIncidentAttachment(com.csc.ctms2.dao.IncidentNoteAttachmentDaoTestCase) Time elapsed: 0.047 sec <<< ERROR! org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity: com.csc.ctms2.model

[appfuse-user] Question about BLOBs and Appfuse

2008-08-29 Thread John Kwon
I see in various searches that some people create their own BinaryBlobType and use some XML to tell Hibernate to map that custom type to a blob. On other sites, I see that with annotations, I am supposed to do the following: @Lob @Column(name="FILE_CONTENTS") public byte[] getFileCont

[appfuse-user] Data Access Failure Incorrect result size: expected 1, actual 0

2008-08-29 Thread Miguel Romero
I´m testing my appfuse project and i have founded a exception when i have updated the username with any user. ¡Data Access Failure Incorrect result size: expected 1, actual 0! The exception can be seen in demo´s appfuse web: http://demo.appfuse.org/appfuse-struts/login.jsp 1) login user/user,

Re: [appfuse-user] Out Of Memory When Listing Entity With 300K Rows

2008-08-29 Thread SteveCohen21
I just stumbled across this post and I also am trying to do something similar to prvent all the data in a wide database being loaded up at once. I d also like to be able to continue making use of the Excel / CSV export which I think is really useful. I m using Struts 2 so if the extended pagina