[jboss-user] [EJB 3.0] - Inconsistent behavior of Discriminator

2006-08-10 Thread hitman_in_wis
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

[jboss-user] [JBossWS] - javax.xml.bind.annotation annotations all being ignored

2007-01-05 Thread hitman_in_wis
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.

[jboss-user] [JBossWS] - Re: Help using Client Certificates with Web Services

2007-01-19 Thread hitman_in_wis
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

[jboss-user] [EJB 3.0] - Hook onto Transaction Manager

2007-02-08 Thread hitman_in_wis
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

[jboss-user] [EJB 3.0] - Re: Inconsistent behavior of Discriminator

2006-08-14 Thread hitman_in_wis
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

[jboss-user] [EJB 3.0] - Embedded Object in Where Clause

2006-08-29 Thread hitman_in_wis
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

[jboss-user] [EJB 3.0] - Re: SINGLE_TABLE Inheritance and relations

2006-09-08 Thread hitman_in_wis
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 :

[jboss-user] [EJB 3.0] - @TransactionAttribute being ignored by Transaction Manager

2006-09-08 Thread hitman_in_wis
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

[jboss-user] [EJB 3.0] - Re: @TransactionAttribute being ignored by Transaction Manag

2006-09-08 Thread hitman_in_wis
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

[jboss-user] [EJB 3.0] - GeneratedValue within Embedded Id

2006-09-18 Thread hitman_in_wis
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

[jboss-user] [Installation, Configuration Deployment] - Change boot library jars

2007-05-15 Thread hitman_in_wis
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