typing error:
My question is now.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860734#3860734
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860734
---
The SF
Hi,
I'm working with CMP entity beans, that uses relationships. The problem is
that I need to add all my beans into one ejb-jar.xml file. Otherwise JBosss
complains when I deploy my beans.
Jboss gives an errors like: Entity bean used into the relation not know.
My question is not, if there
I use the usertransaction for CMP entity beans, and I must say it really
works... I have also readed on the internet that userTransactions are only for
session beans. So I don't have a clue why it works with me.
below the code of my action, of my struts application
|
| public ActionForwa
Hi,
I'm using CMP entity beans.
In my ejb-jar.xml I use:
|
|
|
| Initiaal
| *
|
| Required
|
|
|
in my bean I have
Hi,
I'm developping an application with CMP ejb2.1 on a JBoss4.0.
I'm working with a table clients (+- 5000 records, and 20 columns). Now I want
to add a list ( ) on a jsp page of all my clients. Therefore I
only need two columns the id and the name.
I created a ebjFindAll in my RemoteHome i
Hi hariv,
Can you give a bit more details how to implement this?
Some code would be nice.
Thx,
Pieter
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858937#3858937
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385893
It seems to work like this:
| InitialenRemote initiaal = null;
| Context context = new InitialContext();
| UserTransaction userTran =
(UserTransaction)context.lookup("UserTransaction");
| try{
| userTran.begin();
|
| String strInitiaal = initial
Hi,
I have difficulties to understand how to set up transactions.
I'm using servlets and CMP entitity beans.
On my servlet I want to do the following.
//Start transaction
client.pay(500);
book.soldAmount(10);
//commit transaction
I'm using entity beans, so I'm not sure if I can use
javax.tran
Hi,
I have the EJB 4th edition. I bought this book to learn a bit more about
EJB's. I've setted up a JBoss 4 environment with CMP beans that interacts with
MySQL.
I want to create an application CMP EJB's and Servlets but I want to be
independent of my database version (MySql, Oracle, Ms SQL
darranl, you're right my jboss ignores my jbosscmp-jdbc.xml file. I know
because when I add wrong XML syntacs, my jboss doesn't complain.
darranl is't it possible to send me a working CMP bean that uses MySql, it
would help me a lot. Then I can be sure I'm using the right structure.
email is
Yes yes, I'm sure
my jar consists of:
+ hotline
|-+ beheerhotline
|--+ basisbestanden
|---+ initialen
|- InitialenHomeRemote
|- InitialenRemote
|- InitialenBean
+ META-INF
|- ejb-jar.xml
|- jboss.xml
|- jbosscmp-jdbc.xml
I putted the jar in my deploy dir together with the mysql-ds.xm
Hi,
I'm already trying a few days to get my jboss4.0 work with my MySql, but still
with no success. Is't it possible that somebody can send me a working CMP
bean, that works on a Jboss 4.x, and with MySql to my email address. That
would be very helpfull.
My email address is Pieter(at)ChatBui
Hi,
I still have problems let my CMP bean, interact with mySQL. My bean still saves
the data into the HyperSonic DB. My mysql-ds.xml is configured right, because
when startup jboss4.0, there are two tables (jms_messages, jms_transactions)
automat created into my mySql db.
I also added the mysq
13 matches
Mail list logo