[JBoss-user] [Persistence CMP/JBoss] - How to treate two tables as a one table.

2005-01-02 Thread jboss-user
Hi gurus,

we got a table (user_table)holding user info and the number of records in the 
table were getting bigger and bigger.
So we've separated it to two tables( user_table_0, user_table_1) because of the 
performance. ( Of course, both tables has the exactly same schema. )

And now we want to make a CMP that treats both tables as a one table seemlessly.

Is it possible to make it with only one CMP ?
or Do we have to make two CMPs ?

I think if the EJB-QL or JBOSS-QL(?) can take a table name dynamically, we can 
make it..

Thanks in advance.

ps)
Oracle has the functionality that represents two tables as a one table, but no 
luck...we use MySQL.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3860363#3860363

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3860363


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] !!2003/8/21 05:38:19 jboss-user@lists.sourceforge.net

2003-08-21 Thread jboss-user
 :
  ¡@
  
  
  
  
 





   
  
  
  
  
 



















---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] !!2003/7/11 03:11:48 jboss-user@lists.sourceforge.net

2003-07-10 Thread jboss-user
 :
  ¡@
  
  
  
  
 





   
  
  
  
  
 



















---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] 13:15:47

2003-06-09 Thread jboss-user




,remove [EMAIL PROTECTED] 
  
  


   


  
   

  


   www.mailfair.com
---

  
[]  
  
  2000 
  

  http://www.freeway.cn/pages/agent.htm 
  

  



13:15:47


---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Authentication problem when using JMS testQueue

2002-09-23 Thread jboss-user

Hi,

I am trying to connect to the testQueue JMS queue in JBoss. I have read
the forums about jdk versions etc, but please read on.

I can connect both local and remotely to JBoss-3.0.3RC1 queue using both
jdk 1.4.0_01 and 1.4.0_02 on client and 1.4.0_01 on server.
I can connect locally to JBoss-3.2.0beta queue, but not remotely even
though server and client both uses 1.4.0_02. In this situation I get the
normal cannot authenticate user exception...

Is the jdk version the only culprit here or must I configure something?

P.S. Sorry if this might be in mailing list archives, I tried searching
but it seems to be inaccessible on Sourceforge...

-- 
Alwyn Schoeman
SMART Money Inc.

The clock on the wall keeps moving, time stands still...
 No matter how the dice may fall, someone else always gets to call the number...



msg21388/pgp0.pgp
Description: PGP signature


Re: [JBoss-user] JBoss/Tomcat Question

2002-08-12 Thread jboss-user

You can easily migrate fom 3.0. Just copy catalina dir from 3.0 into
3.0.1 and remove jbossweb.sar directory from deploy and copy
tomcat4-service.* from 3.0 deploy into 3.0.1 deploy dir. Should
work...:) Martin Vanek
 Is there going to be a release of
 JBoss-3.0.1Final/Tomcat-4.0.3 ?

 Greg



---
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



[JBoss-user] (no subject)

2002-08-10 Thread jboss-user

Hi. I'm trying to upgrade my app from JBoss 3.0 to 3.0.1 but serious
problem occurs. I'm using Firebird JCA-JDBC driver(beta) and after
several several requests I'm getting this exception. DataSource is
configured defaultly(./doc/examples/jca) with corrected error
(name-service) Thx for any help. 2002-08-10 19:58:09,781 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Desuser.findByPrimaryKey]
Find failed java.sql.SQLException: Problem getting onnection:
javax.resource.ResourceException: Interrupted while requesting
permit! at
rg.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:100)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:92)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityCommand.java:44)
at
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.java:541)
at
org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.java:336)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:301)
at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:634)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
r.java:1116)
at
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:209)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:88)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
at
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:111)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:105)
at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:129)
at
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
at
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:230)
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
at $Proxy258.findByPrimaryKey(Unknown Source)
at
com.silicium.des.ejb.controller.ClientFacadeBean.getDesuserLocal(ClientFacadeBean.java:47)


---
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