[jboss-user] [JBoss Seam] - Alternative_FileUpload - upload action never gets called

2006-12-22 Thread scotttam
I am trying to get the Alternate File Upload example from the wiki working: http://wiki.jboss.org/wiki/Wiki.jsp?page=Alternative_FileUpload I have copied the sample project into my Eclipse workspace, built and deployed but the upload action method is never called when I hit the submit button.

[jboss-user] [JBoss Seam] - Seam 1.1.0.GA with IceFaces 1.5.1 - updating existing entity

2006-12-18 Thread scotttam
Seam 1.1.0.GA Icefaces 1.5.1 JBoss-AS 4.0.5.GA MySQL 5.0.27 I created a basic Seam application following the instructions in the Seam documentation. I have 2 simple tables in a MySQL database for testing. I ran the following commands to create the basic application: seam setup seam new-project

[jboss-user] [EJB 3.0] - RC9 - LEFT JOIN FETCH queries that worked with RC8 are now g

2006-09-25 Thread scotttam
I recently upgraded to RC9 and some of my queries that contain LEFT JOIN FETCHES to lazy load relationships are now failing. For example, the following query: | SELECT c FROM Campaign c " | "LEFT JOIN FETCH c.states " | "LEFT JOIN FETCH c.dmas " | "LEFT JOIN FETCH c.ads " | "LEFT JOIN

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JPA-QL compliance requires select clause

2006-09-22 Thread scotttam
I upgraded to the latest version of EJB3 and started using the all server configuration and all of a sudden I am getting the following exception. How do I shut off this compliance check? | | 16:49:06,899 ERROR [STDERR] javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibern

[jboss-user] [JBoss Eclipse IDE (users)] - Re: My breakpoints are not being hit with JBoss Eclipse IDE

2006-09-05 Thread scotttam
Doh. Didn't see that. Guess I have been using the old IDE for too long. Sorry about that. Have you noticed that debugging on Linux is much slower on Linux than on windows? When I hit a breakpoint and try to step, there is a at least a couple second delay between each step but I don't experienc

[jboss-user] [JBoss Eclipse IDE (users)] - My breakpoints are not being hit with JBoss Eclipse IDE 2.0.

2006-09-05 Thread scotttam
I am running the Eclipse 3.2/JBoss Eclipse IDE 2.0.0.Beta1 bundle on Linux and for some reason my breakpoints are not being hit. Is there a new configuration setup that needs to be added for the debug perspective or the servers view? I checked my compiler settings and all the classfile generatio

[jboss-user] [EJB 3.0] - Re: ManyToMany problem

2006-08-17 Thread scotttam
As far as I understand the mappedBy, it is mapped to the getter name using bean rules on the owning side of the relationship. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965822#3965822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [EJB 3.0] - Re: Persistence unit dependency failure on deploy

2006-08-11 Thread scotttam
I am not sure if this works or not as I have not tried it myself but according to the Burke EJB 3.0 book, you can add the element to the persistence.xml that will scan additional jar files for classes to add to the persistence set. If you have the book, see page 70. I'll be curious to wheth

[jboss-user] [EJB 3.0] - Re: OneToMany-Problem

2006-08-08 Thread scotttam
Is your OneToMany annotation marked as FetchType=LAZY? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963857#3963857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963857 ___

[jboss-user] [EJB 3.0] - Re: EJB3 find() with Oracle database returns NPE

2006-08-08 Thread scotttam
Can you post the exception? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963850#3963850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963850 ___ jboss-user mailing list jbo

[jboss-user] [EJB 3.0] - Re: ejb 3.0 lazy loading no session

2006-07-30 Thread scotttam
Do you have a pojo for your Category object? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961736#3961736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961736 ___ jboss-user

[jboss-user] [EJB 3.0] - ManyToMany: entry on the other side of the relationship is b

2006-07-30 Thread scotttam
I have a many to many relationship that is handled by a join table. Here's the simple "diagram" : campaign -> campaign_adslot_xref <- ad_slot When I create a new campaign object and add adslots to the relationship to get the entries in the join table created, for some reason, persist is trying t

[jboss-user] [EJB 3.0] - Re: How to access a join table column?!

2006-07-30 Thread scotttam
For the join object, don't you need to define a composite primary key, otherwise you will get a "No identifies exists for specific entity" error on startup? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961726#3961726 Reply to the post : http://www.jboss.c

[jboss-user] [EJB 3.0] - Re: How to store information about many-to-many relationship

2006-07-29 Thread scotttam
Check out this posting, it covers the same scenario. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87407 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961687#3961687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[jboss-user] [EJB 3.0] - Re: ManyToMany relationship removal example

2006-07-26 Thread scotttam
Below are my two entities, Campaign and AdSlot with the relationship stored in campaign_adslot_xref. (all the other info has been removed for brevity) One of the older positings mentioned something about ensuring that both equals and hashCode are implemented. I am not implementing those methods,

[jboss-user] [EJB 3.0] - ManyToMany relationship removal example

2006-07-26 Thread scotttam
I have been hunting around looking for an example of how to remove an entry from the join table but not remove the entities. For example, let's say I have a user table and a role table, which have a many to many relationship, so add a user_role table to manage that. In my POJO's, I setup my Many