[EJB 3.0] - Entity Bean Package Modification (javax.persistence.Persiste
by repkin
Hi,
I have changed Entity bean package to another, but jboss server is still looking for for old package and giving "class or package not found" exception.
I have changed com.atosorigin.utils.pojo.PrStaff to com.atosorigin.utils.ejb.PrStaff, but server is still searching for old package.
15:01:15,327 WARN [ServiceController] Problem starting service persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
javax.persistence.PersistenceException: [PersistenceUnit: time_report_persistence_context] class or package not found
at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1092)
.
.
Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.atosorigin.utils.pojo.PrStaff
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
15:01:15,640 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,656 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrGroupsHome,service=EJB3 with dependencies:
15:01:15,656 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,656 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,656 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrLocationHome,service=EJB3 with dependencies:
15:01:15,656 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,672 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,672 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectHome,service=EJB3 with dependencies:
15:01:15,672 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,703 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,703 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectTaskHome,service=EJB3 with dependencies:
15:01:15,703 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,703 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,703 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHistoryHome,service=EJB3 with dependencies:
15:01:15,750 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,750 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,750 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHome,service=EJB3 with dependencies:
15:01:15,750 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,765 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,765 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrTeamsHome,service=EJB3 with dependencies:
15:01:15,797 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,797 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,797 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationCompensationHome,service=EJB3 with dependencies:
15:01:15,797 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,797 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,812 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationHome,service=EJB3 with dependencies:
15:01:15,812 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,812 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,812 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorksheetHome,service=EJB3 with dependencies:
15:01:15,812 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,828 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
15:01:15,828 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorkunitHome,service=EJB3 with dependencies:
15:01:15,828 INFO [JmxKernelAbstraction] persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
15:01:15,828 INFO [EJB3Deployer] Deployed: file:/C:/jboss/server/default/tmp/deploy/tmp33896surgeonfish.ear-contents/surgeonfish.jar
15:01:15,844 INFO [TomcatDeployer] deploy, ctxPath=/surgeonfish, warUrl=.../tmp/deploy/tmp33896surgeonfish.ear-contents/surgeonfish-exp.war/
15:01:15,969 INFO [EARDeployer] Started J2EE application: file:/C:/jboss/server/default/deploy/surgeonfish.ear
15:01:15,969 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
State: FAILED
Reason: javax.persistence.PersistenceException: [PersistenceUnit: time_report_persistence_context] class or package not found
I Depend On:
jboss.jca:service=DataSourceBinding,name=time_reporting_data_source
Depends On Me:
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrGroupsHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrLocationHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectTaskHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHistoryHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrTeamsHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationCompensationHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorksheetHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorkunitHome,service=EJB3
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrGroupsHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrLocationHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectTaskHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHistoryHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrTeamsHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationCompensationHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorksheetHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
ObjectName: jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorkunitHome,service=EJB3
State: NOTYETINSTALLED
I Depend On:
persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: persistence.units:ear=surgeonfish.ear,jar=surgeonfish.jar,unitName=time_report_persistence_context
State: FAILED
Reason: javax.persistence.PersistenceException: [PersistenceUnit: time_report_persistence_context] class or package not found
I Depend On:
jboss.jca:service=DataSourceBinding,name=time_reporting_data_source
Depends On Me:
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrGroupsHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrLocationHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrProjectTaskHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHistoryHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrStaffHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrTeamsHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationCompensationHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrVacationHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorksheetHome,service=EJB3
jboss.j2ee:ear=surgeonfish.ear,jar=surgeonfish.jar,name=PrWorkunitHome,service=EJB3
I have cleaned tmp directory, but not affected.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159908#4159908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159908
17 years, 10 months
[JBoss Messaging] - Messages distribution across cluster.
by fl_
Hello,
We are thinking about switching from JBossMQ to JBossMessaging. I have read user guide for JBM 1.4.0 SP3 and few messages on forum but I think I still need clarification about how messages are distributed across nodes in cluster configuration. I read a following topic but still don't know if I understand everything correctly.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133762&postdays=...
We have three application servers, called AS1, AS2, and AS3. Our application is assembled from:
Producer A (singleton) - deployed only on AS1
Queue A (clustered)
Consumer A - deployed on all nodes
Producer B - deployed on all nodes
Queue B (clustered)
Consumer B - deployed on all nodes
Deployment and messages flow:
| (AS1) Producer A ---> Queue A ---> Consumer A/Producer B ---> Queue B ---> Consumer B
| (AS2) Queue A ---> Consumer A/Producer B ---> Queue B ---> Consumer B
| (AS3) Queue A ---> Consumer A/Producer B ---> Queue B ---> Consumer B
|
As you can guess, I wish that load related with queue A will be balanced across cluster. If I understand correctly, if non-loadBalanced ConnectionFactory will be used in Producer A only Consumer A on AS1 will be used to handle whole load, right? (according to the rule: 'local consumer is preferred')
Have it got any matter how many elements will be in queueA? Is there any starvation-protecting mechanism which will sends part of messages across cluster if 'number of messages' or 'time in queue' exceed some limit?
In other words, is there any situation where rule: 'local consumer is preferred' will be ignored.
If I understand correctly the best I can do is to use loadBalanced ConnectionFactory in Producer A. Then different connections created via this ConnectionFactory will be attached to various nodes. Then load will be balanced. Am I right?
Second issue is about rule: 'local consumer is preffered'. If I understand correctly in cluster configuration every node has its own 'local queue' for every queue.
In fact it may be very useful feature for us, if part of the flow stay on one node. It means behavior where: Consumer A on AS2 gets a message, process it and send new message to queue B (via Producer B on the same node: AS2), then Consumer B on the same node (AS2) will be used to process this message. So part of the flow: 'Consumer A/Producer B ---> Consumer B' will be processed on the same node.
If I understand correctly this will happen if non-loadBalanced ConnectionFactory will be used in Consumer A, Producer B and Consumer B, right?
Will it be ok, if Producer A sends message via loadBalanced ConnectionFactory to QueueA and Consumer A use non-loadBalanced ConnectionFactory to consume such message?
Most important question in this approach is about failover. Lets say that there is processing and all queues (especially QueueB) keeps messages (each node has its own messages in its own 'local queue') and then, lets say, AS2 go down. Will messages related with AS2 be seamless distributed to other nodes?
Best regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159907#4159907
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159907
17 years, 10 months
[JBoss Portal] - Re: Why /portal/portal/myPortal ?
by julien@jboss.com
the second portal comes from the PortalObjectURLFactory and PortalObjectCommandFactory that are mapped to handle URL mapping of portal objects (pages, windows, etc...) to URLs.
for instance, /portal/portal/default/default can be decomposed into
/portal + /portal + /default/default
which means
- /portal = context path of portal war file
- /portal = mapping of the PortalObject command&url factories
- /default/default = mapping of ViewPortalObjectCommand with id=/default/default
all of this is totally flexible and could be adapted to your needs.
I made the mistake to have a "/portal/portal" in order to remove ambiguity with CMS content which is under "/portal/content". I could have use "/" as portal object root and use a notion of shadowing (i.e "/content" would present CMS content and shadow a "/content" virtual portal) and I should have done that.
We are keeping that setting as default behavior until now for backward compatibility.
With the presentation framework there will be a new mapping of URLs to portal invocations so it is an opportunity to fix that in 2.8.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159898#4159898
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159898
17 years, 10 months
[JBoss Cache: Core Edition] - Re: Clustered and JDBCCacheLoader access to DB
by jorgemoralespou_2
What I don`t understund is why, with this configurations (both) the cache loader does:
1.- Retrieve state from cluster and delete data in JDBCCacheLoader
|
|
| | [org.jboss.cache.TreeCache] received the state (size=131072 bytes)
| | 2008-06-23 13:33:42,733 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: delete from core_data
| | 2008-06-23 13:33:42,736 INFO [org.jboss.cache.TreeCache] state was retrieved successfully (in 677 milliseconds)
|
| 2.- Store received stat into database
|
|
|
|
| | 2008-06-23 13:33:42,736 DEBUG [org.jboss.cache.loader.CacheLoaderManager] preloading transient state from cache loader org.jboss.cache.loader.AsyncCacheLoader@142e6767 delegate=[org.jboss.cache.loader.JDBCCacheLoader@7286a58a] processor=TQ t=Thread[AsyncCacheLoader-2,5,jboss] stopped=false batchSize=100 pollWait=100 returnOld=true asyncPut=true queue.capacity()=10000 queue.peek()=null
| | 2008-06-23 13:33:42,737 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select fqn from core_data where parent=? (/)
| | 2008-06-23 13:33:42,783 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select fqn from core_data where parent=? (/DB_CAPABILITY)
| | 2008-06-23 13:33:42,789 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select fqn from core_data where parent=? (/DB_CAPABILITY/SESIONES)
| | 2008-06-23 13:33:42,792 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select fqn from core_data where parent=? (/TRAP)
| | 2008-06-23 13:33:42,824 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] total rows deleted: 152
| | 2008-06-23 13:33:42,824 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select node from core_data where fqn=? (/)
| | 2008-06-23 13:33:42,829 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: insert into core_data (fqn, node, parent) values (?, ?, ?) (/)
| |
|
| 3.- Leave some interleaved messages
|
|
| | 2008-06-23 13:33:42,954 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select node from core_data where fqn=? (/TRAP)
| | 2008-06-23 13:33:42,960 DEBUG [org.jboss.cache.loader.CacheLoaderManager] preloading transient state from cache loader was successful (in 223 milliseconds)
| | 2008-06-23 13:33:43,001 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: insert into core_data (fqn, node, parent) values (?, ?, ?) (/TRAP)
| | 2008-06-23 13:33:43,240 DEBUG [org.jboss.cache.TreeCache] Starting jboss.cache:service=SOMServicesProvisioningCache
| | 2008-06-23 13:33:43,246 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: insert into core_data (fqn, node, parent) values (?, ?, ?) (/TRAP/TA_START_ERROR)
| | 2008-06-23 13:33:43,246 INFO [org.jboss.cache.loader.AsyncCacheLoader] Async cache loader starting: org.jboss.cache.loader.AsyncCacheLoader@2b51574b delegate=[org.jboss.cache.loader.ClusteredCacheLoader@693a1324] processor=null stopped=true batchSize=100 pollWait=100 returnOld=true asyncPut=true queue.capacity()=10000 queue.peek()=null
| | 2008-06-23 13:33:43,276 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select node from core_data where fqn=? (/TRAP/WS_DEPLOYMENT)
| |
|
| Why is it updating the persistent state from the data I`m receiving from the cluster?
|
| Also, I see that every time I do a read from cache, it is retrieving the data from database. Why?
|
|
|
| | 2008-06-23 13:38:50,012 DEBUG [org.jboss.cache.loader.JDBCCacheLoader] executing sql: select node from core_data where fqn=? (/STATISTIC_LOGGING_MONITOR)
| |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159893#4159893
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159893
17 years, 10 months
[JBoss Tools (users)] - Generating entities problem with equals method in id class
by elvisd
hi all,
i have a problem with jboss tools (nigthly JBossTools-200806211803-nightly-ALL-linux-gtk) and eclipse canymede 3.4RC4.
i have created an application via terminal using seam-gen and so on, following instructions in getting started.
Then i'd like to generate my entities from my existing db (MS SQL 2005, connecting through MS jdbc driver)
tables are correctly loaded and beans are generated.
when a table has a composite Id (i.ex. table Account, ID cols are IDAccount and IDCompany) the composite id class is generated (AccountID) and embedded with annotations.
But in the equals method there are errors that i ignore how to fix them:
Class AccountGroupId.java
| public boolean equals(Object other) {
| if ((this == other)) // *1
| return true;
| if ((other == null))
| return false;
| if (!(other instanceof AccountGroupId)) //*2
| return false;
| AccountGroupId castOther = (AccountGroupId) other; //*3
|
| return ((this.getIdgroup() == castOther.getIdgroup()) || (this
| .getIdgroup() != null
| && castOther.getIdgroup() != null && this.getIdgroup().equals(
| castOther.getIdgroup())))
| && ((this.getIdCompany() == castOther.getIdCompany()) || (this
| .getIdCompany() != null
| && castOther.getIdCompany() != null && this
| .getIdCompany().equals(castOther.getIdCompany())));
| }
|
*1: Incompatible operand types AccountGroupId and Object
*2: Incompatible conditional operand types Object and AccountGroupId
*3: Cannot cast from Object to AccountGroupId
Any Composite Id class has this three errors... any thoughts?
Kindly
elvisd
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159890#4159890
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159890
17 years, 10 months