I have entity superclass MYSUPERCLASS
---
@Entity
| @Table(name=TABLE_A)
| @Inheritance(strategy=InheritanceType.SINGLE_TABLE)
| @DiscriminatorColumn(name=MYDESCRIMCOLUMN)
| public abstract class MYSUPERCLASS{}
I have entity
Hi, my name is Brett, and my company is pretty new to java web services, but we
need to use them to communicate between PowerBuilder and EJB3.
As far as I can tell, it looks like the annotations from the
javax.xml.bind.annotation are being completely ignored in our deployed web
services.
Use this guide. I have extremely limited knowledge of Webservices and SSL, and
I was able to get my java client talking to my WS thru SSL using it:
http://java.sys-con.com/read/216388.htm
The only confusing part of the guide is at the end where he instructs you to
create your own
My company has code we need to run at the beginning and end of each database
transaction in order to set and unset context variables in the database session.
Is there a way to hook onto the beginning and end of each transaction? Perhaps
using interceptors? Or can we override the default
Ok, I did figure the wierd part out as to why I was getting multiples of the
same object instead of the 10 different database rows. My Id was declared
incorrectly, and was identical among the ten rows. Apparently the Java
Persistence sees that the objects all have the same Id and, since there
Is it possible to have an embedded object in the WHERE clause of a named query?
Say you have a Customer entity with an Embedded Name object. Name contains
first_name and last_name.
If I write a named query accessing the pieces of Name directly, as in the below
query, it works fine:
SELECT cust
Posted same thing a few weeks ago. No responses.
http://www.jboss.com/index.html?module=bbop=viewtopict=88509
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970349#3970349
Reply to the post :
I believe I must have something configured incorrectly, or I misunderstand
transaction management performed by the container. Though I have my datasource
declared as local-tx, which I believe allows transactions, it appears that my a
call to a remote function in a stateless session bean is
Got my answer, Thanks!
http://forum.java.sun.com/thread.jspa?threadID=766769
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3970391#3970391
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970391
My company has a table that has a primary key of 5 columns, one of which is an
auto-generated sequence. This was not always an auto-generated sequence, and
previously was only unique for any combination of the first 4 columns, not
unique for the entire table. Therefore, the primary key of the
Supposedly you should be able to set the jboss.boot.library.list property when
starting up the server in order to override the defaults. If I look at the
Jboss code at
http://www.cenqua.com/clover/eg/jboss/report/org/jboss/system/server/ServerLoader.html
and
11 matches
Mail list logo