g.jboss.ejb.plugins.StatelessSessionInstancePool] Starting
2003-09-24 11:07:37,312 INFO
[org.jboss.ejb.plugins.StatelessSessionInstancePool] Started
2003-09-24 11:07:37,314 INFO [org.jboss.ejb.StatelessSessionContainer]
Started
2003-09-24 11:07:37,317 INFO [org.jboss.ejb.EjbModule] Started
2003-09-24 11:07:37,319 INFO [org.jboss.ejb.EJBDeployer] Deployed:
file:/usr/java/jboss-3.2.2RC4/server/default/deploy/AESOP_Server.jar
2003-09-24 11:07:39,099 INFO [org.jboss.deployment.MainDeployer]
Deployed package:
file:/usr/java/jboss-3.2.2RC4/server/default/deploy/AESOP_Server.jar
2003-09-24 11:07:39,122 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException:
Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=aesop/company,service=EJB
state: FAILED
I Depend On:
Depends On Me: org.jboss.deployment.DeploymentException: Generation
only supported with single PK field]
Matthew Hixson wrote:
You'll want to put this at the top of your entity bean.
* @jboss.entity-command
* name="postgresql-fetch-seq"
and then for your primary key getter:
/**
* @ejb.interface-method
* @ejb.pk-field
* @jboss.persistence
* auto-increment="true"
* @ejb.persistence
* column-name="phone_id"
*
* @return Integer
*/
public abstract Integer getPhoneId();
-M@
On Tuesday, September 23, 2003, at 04:09 PM, Dennis Gesker wrote:
Could someone post a simple (complete) CMP example using Xdoclet &
postgresql-fetch-seq where by the database auto-increments the PK?
I've been struggleing with this for a few hours and can't seem to get
my EJBs to behave properly using the correct combination of @ejb and
@jboss tags.
JBoss 3.2.2RC4 from SF
Xdoclet 1.2b3
Ant 1.5.4
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
AESOP
companyFacade
com.alamon.aesop.ejb.companyFacadeRemoteHome
com.alamon.aesop.ejb.companyFacadeRemote
com.alamon.aesop.ejb.companyFacadeSession
Stateless
Container
ejb/companyLocal
Entity
com.alamon.aesop.ejb.companyLocalHome
com.alamon.aesop.ejb.companyLocal
company
company
com.alamon.aesop.ejb.companyRemoteHome
com.alamon.aesop.ejb.companyRemote
com.alamon.aesop.ejb.companyLocalHome
com.alamon.aesop.ejb.companyLocal
com.alamon.aesop.ejb.companyEJB
Container
java.lang.Object
false
2.x
company
index
name
index
companyFacade
LocalHome
create
companyFacade
Home
create
http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";>
company
aesop/company
companyLocal
companyFacade
aesop/companyFacade
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";>
java:/aesop/AesopDS
PostgreSQL 7.2
true
true
company
true
true
company
index
index
name
name
VARCHAR
VARCHAR(30)