Hello,
I'm relatively new to Seam and am trying to want to integrate an application
using seam into an existing ear. The other apps in the ear use basic
authentication therefore I have been trying to use the AuthenticationFilter in
Seam 1.3 Alpha.
My components.xml:
http://jboss.com/products/
Wasn't sure where to post this, so excuse me if its in the wrong place.
I'm trying to update the hibernate jars from version 3.2.1 to the latest and
get the following exception:
2007-04-02 16:19:00,417 INFO [org.hibernate.cfg.annotations.CollectionBinder]
Mapping collection:
main.java.com.sms
Hi,
Can someone tell me if its possible for an individual query to override the
fetchtype annotation?
I have two related entities, both eagerly fetched, however I have a query that
requires just one entity be loaded...is this possible?
Thanks
View the original post :
http://www.jboss.com
Ok found two problems:
Lazy OneToOne mapping has to have 'optional=false' in order to work
but more seriously;
|
| manager.find(Audit.class, id);
|
|
Causes an infinite loop...replacing it with a select statement solves
the problem but that isn't great.
Does anyone know an
I have three entity beans; one Audit contains many AuditImage, one AuditImage
contains one AuditLargeImage .
Audit to AuditImage is eagerly loaded, AuditImage to AuditLargeImage is lazily
loaded.
I can sucessfully upload images to the database (MySQL) but when I load
(manager.find) the Audit,
I am trying to upgrade from jboss 4.0.3 SP1 ejb RC6 to 4.05 RC9.
When I try to access my ejb's that have other ejbs injected into them, I get a
NameNotBoundException.
Looking in the jmx console, I can see that those ejbs are registered but not
started. Having searched the net for a solution, on
Despite having the following persistence.xml:
|java:/ShipdbDS
|
|
|
|
|
|
when i do a jndi lookup for the manager thus:
InitialContext ic = new InitialContext();
|
I'm trying to create a deployment descriptor so that I can overwrite the
annotations in an ejb but am running into a NoSuchMethodError regardless of
what I do. My jboss.xml:
| http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";>
|
|
|
| ObjectFacade
|
try putting them in the deploy directory...not inside an ear, that should make
them accessible by all other apps
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966458#3966458
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply
Having checked the JMX-Console, two of my ejbs are registered but not started
which i'm guessing is causing the...
javax.servlet.ServletException: ShipFacadeBean not bound
|
when the application tries to find them.
What is the cause of this?
Neither of the EJBs have a jboss.xml or ejb-jar.x
I've just upgraded from 4.03 EJB 3 RC6 to 4.04 RC8.
I have a servlet that is run on startup, gets info from a database through an
EJB and configures the app using it. For some reason the servlet cannot find
the EJB under the name specified.
Has the jndi address changed since the last upgrade?
P
I may be wrong but is this not to do with transactions?
try
| entityManager.flush()
after you've done the merge but before you query the db
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965990#3965990
Reply to the post :
http://www.jboss.com/index.html
Sorry, bad wording. Three databases structured in exactly the same way but
holding different information.
What I would like to do is use one set of components (Facade/EJB/Entity) to
access each of the three depending on dynamic configuration. So I'm thinking
that I either need to deploy 3 insta
Hi,
A requirement i have for an application is that it uses 3 identical databases.
It makes sense to have one set of entity bean classes, dao classes and facade
on top to manage if possible each of the three.
How do I configure the facade, entity manager and/or persistence.xml so that
the appli
Hi, I need to query the join table of a many to many relationship and am having
trouble.
PersistentValue class:
@ManyToMany(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY)
| @JoinTable(name = "user_filter",
| [EMAIL PROTECTED](name="persistentvalue_id")},
15 matches
Mail list logo