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.
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
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
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
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
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
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
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
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
___
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
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
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
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
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
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,
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
16 matches
Mail list logo