Hi,
I have developed an application with embedded EJB3.0.
The Ids of all Entity Beans should be generated automatic, so I use
@SequenceGenerator and @GeneratedValue(strategy=GenerationType.SEQUENCE,...) as
Generator Strategy.
When I deploy the EntityBeans I get a warning that Hibernate does
Hello,
during deployment of my stateless Session Bean I get a RuntimeException:
| java.lang.RuntimeException: bean class has no local, webservice, or remote
interfaces defined and does not implement at least one business interface
| at
Hello,
I'm using the EJB3 embedded Version with Tomcat 5.5.23
My deployed Project has a structure like this:
-de.testProject.ejb.security Contains Stateless SB and Local Interface
-de.test.Project.web.mBeans Contains ManagedBean
In my ManagedBean I do a lookup process like this:
Well, I'm new to EJB so now I'm a little bit confused.
Is there any problem to use Inheritance.JOINED?
I think, SINGLETABLE means all attributes in both entity beans are in one
database table.
But there is one table for users (parent entity) and one table for registered
users (child entity).
Thx for your help
Yes I use hibernate.hbm2ddl.auto = update but I did not try to use
InheritanceType.JOINED. That was the problem. If I change it, it works fine.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036613#4036613
Reply to the post :
Well, I'm a bit confused how to solve this problem:
I have got two tables in my database:
|
| Table1:
| ---
| -- locale_text --
| ----
| -- PK locale --
| -- PK,FK test_id--
| -- text --
|
Well it's me again with a question for using @Inheritance
Well I got one super Entity:
| @Entity
| @Table(name=users)
| @SequenceGenerator(name = user_sequence, sequenceName = user_id_seq)
| @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)
| public class User implements
Hey,
I tried it again with JBoss Wiki and O'Reilly's JSFExamples and it works fine.
Then I try to run my one application, added the same librarys which are in
JSFExamples and used simple MyFaces components.
Now when I add the extension filter I get an error:
anonymous wrote :
| 1:45:50,602
Now I have added the common-file-upload.jar to JBoss lib.
When I start the application with:
http://localhost:8080/ConverterWeb/
I get:
anonymous wrote :
| org.apache.jasper.JasperException: Exception in JSP: /index.jsp:5
|
| 2: %@ taglib uri=http://java.sun.com/jsf/core; prefix=f %
|
I am requestion *.jsf
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035525#4035525
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035525
___
jboss-user mailing list
Hello,
first let me say, I have red the wiki page about how to use JSF with JBoss.
I use:
JBoss 4.0.5
MyFaces Tomahawk
EJB 3.0
I've deployed the application as an *.ear file including the ejb.jar and
web.war file. There are no JSF libs within /WEB-INF/lib.
anonymous wrote : When I start
Hi,
I am realy new to EJB and JBoss. So I followed the tipps for installing JBoss
with EJB.
Because I am using EJB with JSF I searched for a Tutorial including both and
tried it out.
I use: JBoss 4.04
On deploying the Project, I got the following Exception:
12 matches
Mail list logo