[JBoss-dev] CMP 2.x Persistence Store

2001-06-23 Thread Dain Sundstrom
code merged yet, but it is not really important now because I'll probably have to restructure the query code anyway in phase 3. I'll follow-up with a message tomorrow, detailing how you can configure the new stuff. Dain Sundstrom ___ Jboss-development

[JBoss-dev] How can I convert a pk into an entity?

2001-06-23 Thread Dain Sundstrom
Hi, I have been designing the Container Managed Relationships, and have run into one problem; I can't seem to figure out how to turn a primary key for an entity into the entity (local or remote). Here is what I envision happening. The bean code, say OrderBean, calls getLineItems(). My cmp

Re: [JBoss-dev] JAWS -Single Datasource

2001-06-25 Thread Dain Sundstrom
: Re: [JBoss-dev] JAWS -Single Datasource | | | | | |Dain Sundstrom wrote: | | | | No reason to tie an entire jar to a single datasource. I'll | |check my code | | to see if it can support multiple datasources, although I |don't think it | | will work with most DBs. This would require

Re: [JBoss-dev] zombie thread- bug

2001-06-25 Thread Dain Sundstrom
I don't know if this helps but you can always call inerrupt() on the thread. This causes the thread to throw an InterruptedException. Which will cause most code to exit unless they catch Exception in the main loop and restart. -dain - Original Message - From: Peter Fagerlund [EMAIL

Re: [JBoss-dev] zombie thread- bug

2001-06-25 Thread Dain Sundstrom
, Dain Sundstrom at [EMAIL PROTECTED] wrote: I don't know if this helps but you can always call inerrupt() on the thread. This causes the thread to throw an InterruptedException. Which will cause most code to exit unless they catch Exception in the main loop and restart. Where would one call

Re: [JBoss-dev] High load...

2001-06-25 Thread Dain Sundstrom
I'm just curious what was the passivation cache for? Memory management. If your database contains 10 GB and you only have 1GB of memory, you'll need to swap out some bean based on some criteria (LRU by default) to make room. -danch Exactly, so what was the passivation cache? During

Re: The next generation GUI (was : Re: [JBoss-dev] EJX and XML)

2001-06-25 Thread Dain Sundstrom
Dude, GUI tools suck. Just edit the xml by hand. IMO if a person can't edit xml they shouldn't be configuring the server or ejb-jar. -dain - Original Message - From: Jay Walters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 25, 2001 2:42 PM Subject: RE: The next generation

RE: [JBoss-dev] High load...

2001-06-25 Thread Dain Sundstrom
I'm just curious what was the passivation cache for? Memory management. If your database contains 10 GB and you only have 1GB of memory, you'll need to swap out some bean based on some criteria (LRU by default) to make room. -danch Exactly, so what was the passivation

RE: The next generation GUI (was : Re: [JBoss-dev] EJX and XML)

2001-06-25 Thread Dain Sundstrom
but also to administer the EJBs, redeploy, restart Services, add new Servcies (DataSources) etc. Finally when you have a look at the success of M$ then you see that convinience matters. Andy -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: Monday

[JBoss-dev] CMP 2.x Quick How-to

2001-06-25 Thread Dain Sundstrom
a feature, please email me. I will fix bugs as they are discovered, and feature req1uests I will definitely think over. Dain Sundstrom ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development

Re: [JBoss-dev] High load...

2001-06-25 Thread Dain Sundstrom
So if we remove the passivation cache, do we loose commit Option A? If not, how do we keep bean data alive while passivated? I still may not understand this. I think Mark is just suggesting losing the passivation part of the cache. The cache we keep, it just keeps growing and

Re: [JBoss-dev] CMP 2.x Quick How-to

2001-06-25 Thread Dain Sundstrom
Thanks for the comments... (Dam it is hot here in Minneapolis, 97 degrees F, I got to get my airconditioner down from the attic and installed ASAP) Maybe as a first question - how 'done' do you consider the basic architecture of the CMP2.0 module? Done enough that there aren't going to be

Re: [JBoss-dev] CMP 2.x Quick How-to

2001-06-25 Thread Dain Sundstrom
Dain, I've read your email on how to use the eager/lazy loading features. I'm not sure if this is the same thing as danch's read-ahead feature. Your eager/lazy loading seems to be focused around LoadEntity, where danch's read-ahead happens on the finder call itself. I really should

Re: [JBoss-dev] High load...

2001-06-26 Thread Dain Sundstrom
we would have to implement the transaction isolation levels correctly in jboss again I believe that lives at the jbossCMP level. But if we are going to support different vendors for the CMP engines we must take this part out or at least offer a common API... hmmm must think about it. I

Re: [JBoss-dev] High load...

2001-06-26 Thread Dain Sundstrom
I don't know if you wanted with user configurable, but for now it will allow you to play with different levels. I can make it static later. static? fixed ___ Jboss-development mailing list [EMAIL PROTECTED]

Fw: [JBoss-dev] Shouldn't expose transaction-isolation within CMP

2001-06-26 Thread Dain Sundstrom
Sorry, didn't get to to line right on this message, and it only went to marc... read below... -dain - Original Message - From: Dain Sundstrom [EMAIL PROTECTED] To: marc fleury [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 2:24 PM Subject: Re: [JBoss-dev] Shouldn't expose transaction

Re: [JBoss-dev] Shouldn't expose transaction-isolation within CMP

2001-06-26 Thread Dain Sundstrom
All of this is covered in detail in section 17.3.2 of the EJB 2.0 spec. I think everyone should take a secound and read it (it is only three paragraphs). -dain - Original Message - From: Bill Burke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 2:52 PM Subject:

Re: [JBoss-dev] High load...

2001-06-26 Thread Dain Sundstrom
I don't know if you wanted with user configurable, but for now it will allow you to play with different levels. I can make it static later. static? fixed Like at compile time, literally 'static' in the java sense static? Please god, not this again. Remember that the

Re: [JBoss-dev] Shouldn't expose transaction-isolation within CMP

2001-06-26 Thread Dain Sundstrom
|Please correct me if I'm wrong(I seem to be wrong about 50% of the |time :-), |but, I really don't think you should expose transaction-isolation levels |within CMP or in the definition of entities. This really belongs in the |creation of the connection pool. CMP cannot

Re: [JBoss-dev] High load...

2001-06-26 Thread Dain Sundstrom
I think you missed one of the old messages (way to many today). It appears that if you changes the transaction isolation in the middle of a transaction the driver can perform an implicit commit (YUCK). So, I don't think we can trust drivers to allows us to change the level on the fly. -dain

Re: [JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc JDBCCommand.java

2001-06-27 Thread Dain Sundstrom
we are discussing exactly the opposite, I am deeply convinced that this belongs in jaws marcf Sorry, I rolled back the code before you responded. If you want me to put it back in, I will it takes about 10 minutes. I think I made a mistake and made the first change to quick (it was easy) ,

[JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread Dain Sundstrom
response would be appreciated (even if it's 'yep that's cool'). Thanks, Dain Sundstrom ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development

RE: [JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread Dain Sundstrom
| The only way I can find to get a ctx for a pk |is from EntityInstanceInterceptor, and the only way to get to the |EntityInstanceInterceptor is container.invoke(mi). no no no it's in the cache, container.cache.get(id) (or something like that) marcf YES! Thanks so much. I didn't

RE: [JBoss-dev] CMP 2.x Relationships Implementation

2001-06-28 Thread Dain Sundstrom
here is you touch any of the information in the ctx (using setters) marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain |Sundstrom |Sent: Thursday, June 28, 2001 9:45 PM |To: '[EMAIL PROTECTED]' |Subject: RE: [JBoss-dev] CMP 2.x

RE: [JBoss-dev] Where is everyone today?

2001-06-29 Thread Dain Sundstrom
. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Friday, June 29, 2001 2:22 PM To: '[EMAIL PROTECTED]' Subject: [JBoss-dev] Where is everyone today? Is everyone on vacation? Is the list working? What-ever

RE: [JBoss-dev] Where is everyone today?

2001-06-29 Thread Dain Sundstrom
, but in the meantime, I'll try to review the CMP 2.x Relationships. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Friday, June 29, 2001 2:22 PM To: '[EMAIL PROTECTED]' Subject: [JBoss-dev] Where is everyone

RE: [JBoss-dev] FW: [JBoss-user] Strange Behavior When DataSource goes down.

2001-06-30 Thread Dain Sundstrom
Sounds like a pretty duh request. Maybe Bill can add this when he is adding the isolation level code. -dain -Original Message- From: danch [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 30, 2001 12:03 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev] FW: [JBoss-user] Strange

[JBoss-dev] CVS update: jboss/src/main/org/jboss/metadata RelationshipRoleMetaData.java

2001-07-09 Thread Dain Sundstrom
. */ package org.jboss.metadata; import org.w3c.dom.Element; import org.jboss.ejb.DeploymentException; /** * Represents one ejb-relationship-role element found in the ejb-jar.xml * file's ejb-relation elements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom

[JBoss-dev] CVS update: jboss/src/main/org/jboss/metadata RelationMetaData.java

2001-07-09 Thread Dain Sundstrom
; import java.util.ArrayList; import java.util.Iterator; import org.w3c.dom.Element; import org.jboss.ejb.DeploymentException; /** * Represents one ejb-relation element found in the ejb-jar.xml * file's relationships elements. * * @author a href=mailto:[EMAIL PROTECTED];Dain

[JBoss-dev] CVS update: jboss/src/main/org/jboss/metadata BeanMetaData.java

2001-07-09 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/09 13:52:19 Modified:src/main/org/jboss/metadata BeanMetaData.java Log: Added local jndi name, which is the jndi name to which the local home is bound. Revision ChangesPath 1.26 +19 -1

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins CMPPersistenceManager.java

2001-07-09 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/09 14:04:25 Modified:src/main/org/jboss/ejb/plugins CMPPersistenceManager.java Log: Added a method to get the entity persistence store. Revision ChangesPath 1.26 +7 -1 jboss/src/main/org/jboss/ejb/plugins/CMPPersistenceManager.java

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/local BaseLocalContainerInvoker.java

2001-07-09 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/09 14:09:21 Modified:src/main/org/jboss/ejb/plugins/local BaseLocalContainerInvoker.java Log: Added code which binds local home interface into jndi. Revision ChangesPath 1.8 +67 -3

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCRelationshipRoleMetaData.java

2001-07-09 Thread Dain Sundstrom
; /** * Represents one ejb-relationship-role element found in the ejb-jar.xml * file's ejb-relation elements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @version $Revision: 1.1 $ */ public class JDBCRelationshipRoleMetaData extends MetaData

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCApplicationMetaData.java JDBCEntityMetaData.java

2001-07-09 Thread Dain Sundstrom
PROTECTED];Dain Sundstrom/a * @author a href=[EMAIL PROTECTED]Sebastien Alborini/a - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public class JDBCApplicationMetaData extends MetaData implements XmlLoadable { // Constants

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCRelationMetaData.java

2001-07-09 Thread Dain Sundstrom
org.jboss.metadata.RelationshipRoleMetaData; import org.w3c.dom.Element; /** * Represents one ejb-relation element found in the ejb-jar.xml * file's relationships elements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a *@version $Revision: 1.1 $ */ public class JDBCRelationMetaData

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp CMPStoreManager.java

2001-07-09 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/09 16:59:58 Modified:src/main/org/jboss/ejb/plugins/cmp CMPStoreManager.java Log: Added container managed relationships. Revision ChangesPath 1.2 +1 -3 jboss/src/main/org/jboss/ejb/plugins/cmp/CMPStoreManager.java Index:

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/bridge CMPFieldBridge.java CMRFieldBridge.java EntityBridgeInvocationHandler.java

2001-07-09 Thread Dain Sundstrom
a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface CMPFieldBridge { public String getFieldName(); @@ -33,6 +33,9 @@ public Object getPrimaryKeyValue(Object primaryKey

[JBoss-dev] CVS update: jboss/src/etc/conf/default standardjboss.xml

2001-07-09 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/09 17:04:56 Modified:src/etc/conf/default standardjboss.xml Log: Added JDBC relation interceptor for EJB 2.0 CMP. Revision ChangesPath 1.11 +2 -1 jboss/src/etc/conf/default/standardjboss.xml Index: standardjboss.xml

[JBoss-dev] EJB 2.0 Container Managed Relations in Tip

2001-07-09 Thread Dain Sundstrom
generic for other persistence managers, but for now the code is too new to do. Check it out, Dain Sundstrom ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development

[JBoss-dev] RE: [JBoss-user] log4j or JBoss logging

2001-07-11 Thread Dain Sundstrom
]] Sent: Tuesday, July 10, 2001 2:48 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j or JBoss logging Change to use log4j. The JBoss interface will disappear in 3.0 - Original Message - From: Dain Sundstrom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10

RE: [JBoss-dev] RE: [JBoss-user] log4j or JBoss logging

2001-07-11 Thread Dain Sundstrom
that there is a lot of overhead when obtaining a logging category? If there is, I will make sure to obtain all categories during container initialization and not on the fly. I assume that it is ok to perform expensive operations during initialization. -dain - Original Message - From: Dain

Re: [JBoss-dev] jboss + jndi + ldap for ejb referencing

2001-07-13 Thread Dain Sundstrom
Nick, I don't know if this helps, but the server always attempts to bind the home interface into the directory. The code is in org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker method start. For a local home, the code is located in org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.

RE: [JBoss-dev] new wait(1000) not good

2001-07-19 Thread Dain Sundstrom
Bill and Georg, I wrote a lock manager several years ago, so my comments may be out dated. I remember that, if I wanted to wake the waiting threads in a specific order (LIFO FIFO), we would have each thread wait on a different object so it could be awoken individually. Before the thread waits on

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCRelationKeyField.java

2001-07-25 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/25 19:36:32 Removed: src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCRelationKeyField.java Log: No longer used. Functionality was merged back into JDBCCMP2xFieldBridge. ___

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCForeignKeyField.java

2001-07-25 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/25 19:36:57 Removed: src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCForeignKeyField.java Log: No longer used. Functionality was merged back into JDBCCMP2xFieldBridge. ___

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCRelationMetaData.java JDBCRelationshipRoleMetaData.java

2001-07-25 Thread Dain Sundstrom
org.w3c.dom.Element; /** - * Represents one ejb-relation element found in the ejb-jar.xml + * Imutable class that represents one ejb-relation element found in the ejb-jar.xml * file's relationships elements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCAutomaticQueryMetaData.java

2001-07-25 Thread Dain Sundstrom
an automaticlly generated * query look more like a user specified query. This class only contains a * referance to the method used to invoke this query. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a *@author a href=[EMAIL PROTECTED]Sebastien Alborini/a *@version

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCRelationshipRoleMetaData.java

2001-07-25 Thread Dain Sundstrom
=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public final class JDBCRelationshipRoleMetaData { /** @@ -267,7 +267,6 @@ // no field overrides, we're done

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMP1xFieldBridge.java JDBCCMP2xFieldBridge.java JDBCEntityBridge.java

2001-07-25 Thread Dain Sundstrom
+++ JDBCCMP1xFieldBridge.java 2001/07/26 03:01:26 1.3 @@ -36,16 +36,16 @@ * One for each entity bean cmp field. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.2 $ + * @version $Revision: 1.3

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDeleteRelationsCommand.java

2001-07-25 Thread Dain Sundstrom
];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class JDBCDeleteRelationsCommand extends JDBCUpdateCommand @@ -51,10 +51,10 @@ RelationPair pair = (RelationPair)pairs.next(); sql.append

[JBoss-dev] CVS update: jboss/src/main/org/jboss/metadata RelationshipRoleMetaData.java

2001-07-25 Thread Dain Sundstrom
PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class RelationshipRoleMetaData extends MetaData { // one is one @@ -28,6 +28,11 @@ private String relationshipRoleName; /** + * The relation

[JBoss-dev] CVS update: jboss/src/etc/conf/default standardjbosscmp-jdbc.xml

2001-07-25 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/25 20:21:05 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Changed default-entity to defaults. Moved declaration of datasource and type mapping to defaults to allow overridingof the datasource and type mapping on a per bean/relation

[JBoss-dev] CMP 2.x relationships

2001-07-25 Thread Dain Sundstrom
You should now be able to use cmp 2.x relationships. I finally commit the rest of the relationship code I have been working on. It took forever because half way throught the change I decided that I didn't like my metadata package, and had to rewrite it. If anyone would like to help out with the

Re: [JBoss-dev] Transactions and Optimization

2001-07-26 Thread Dain Sundstrom
Dan, In org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy we have the following code: protected Object invokeContainer(final Object id, final Method method, final Object[] args) throws Throwable {

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc JDBCFindEntitiesCommand.java JDBCFindEntityCommand.java

2001-07-26 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/26 14:54:14 Modified:src/main/org/jboss/ejb/plugins/jaws/jdbc JDBCFindEntitiesCommand.java JDBCFindEntityCommand.java Log: Changed finders to allow application exceptions to be passed back to clients

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp CMPStoreManager.java FindEntitiesCommand.java FindEntityCommand.java

2001-07-26 Thread Dain Sundstrom
org.jboss.util.FinderResults; @@ -25,7 +24,7 @@ * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @author a href=mailto:[EMAIL PROTECTED];Justin Forder/a - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public interface FindEntitiesCommand

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/jaws/bmp CustomFindByEntitiesCommand.java

2001-07-26 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/26 14:54:14 Modified:src/main/org/jboss/ejb/plugins/jaws/bmp CustomFindByEntitiesCommand.java Log: Changed finders to allow application exceptions to be passed back to clients instead of being wrapped in a FinderException.

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/bmp CustomFindByEntitiesCommand.java

2001-07-26 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/26 14:54:13 Modified:src/main/org/jboss/ejb/plugins/cmp/bmp CustomFindByEntitiesCommand.java Log: Changed finders to allow application exceptions to be passed back to clients instead of being wrapped in a FinderException. This

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/jaws JAWSPersistenceManager.java JPMFindEntitiesCommand.java JPMFindEntityCommand.java

2001-07-26 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/26 14:54:14 Modified:src/main/org/jboss/ejb/plugins/jaws JAWSPersistenceManager.java JPMFindEntitiesCommand.java JPMFindEntityCommand.java Log: Changed finders to allow application

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCFindEntitiesCommand.java JDBCFindEntityCommand.java

2001-07-26 Thread Dain Sundstrom
User: dsundstrom Date: 01/07/26 14:54:14 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCFindEntitiesCommand.java JDBCFindEntityCommand.java Log: Changed finders to allow application exceptions to be passed back to clients

[JBoss-dev] CVS update: jboss/src/main/org/jboss/metadata QueryMetaData.java

2001-07-26 Thread Dain Sundstrom
--- QueryMetaData.java2001/06/24 01:06:16 1.1 +++ QueryMetaData.java2001/07/26 22:09:41 1.2 @@ -17,7 +17,7 @@ * Contains information about ejb-ql queries. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version $Revision: 1.2

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCQueryMetaDataFactory.java

2001-07-26 Thread Dain Sundstrom
@@ -22,7 +22,7 @@ * on the query specifiection type. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class JDBCQueryMetaDataFactory { private JDBCEntityMetaData entity

Re: [JBoss-dev] jboss daily test results

2001-07-26 Thread Dain Sundstrom
You know the philosophy scratch your own itch. SF is open source. - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 5:15 PM Subject: Re: [JBoss-dev] jboss daily test results The SF people are very resonable and would most

Re: [JBoss-dev] Multiple CMP 2.x relationships to the same bean

2001-08-01 Thread Dain Sundstrom
Stephen, This should really be posted to the JBossCMP list. Here is a copy of a message I sent to a user on the that list that had a similar problem: --- Liam, Here is an example: ejb-relation

Re: [JBoss-dev] Apparent bug in Verifier - static inner classes as valid RMI/IIOP types

2001-08-03 Thread Dain Sundstrom
Luke, In general, it is not really to use an innerclass as a type in a public api. In EJB it is a worse Idea. I think the verifier is complaining that your class is not serializable. On page 217 of Josh Block's book Effective Java her states Inner classes should rarely, if ever, implement

RE: [JBoss-dev] The Remove Problem

2001-08-04 Thread Dain Sundstrom
| |- Original Message - |From: Dain Sundstrom [EMAIL PROTECTED] |To: [EMAIL PROTECTED] |Sent: Friday, August 03, 2001 12:53 PM |Subject: Re: [JBoss-dev] The Remove Problem | | ||Here is my plan. In the EntitySynchronizationInterceptor |instead of | storing ||the entities

Re: [JBoss-dev] Apparent bug in Verifier - static inner classes as valid RMI/IIOP types

2001-08-05 Thread Dain Sundstrom
Hmmm. I'm not sure I agree entirely: 1. the value object is effectively part of the interface because it is what is returned by the getData methods etc. So the client has to have access to it and I don't see anything drastically wrong with having the data bean as an inner class of the

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb Application.java EntityContainer.java

2001-08-05 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/05 12:32:19 Modified:src/main/org/jboss/ejb Application.java EntityContainer.java Log: Fixed remove problem. * Moved tx entity map to application * Moved synchronize entities in tx method to application * Moved sync call to entity container find

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins EntitySynchronizationInterceptor.java

2001-08-05 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/05 12:32:19 Modified:src/main/org/jboss/ejb/plugins EntitySynchronizationInterceptor.java Log: Fixed remove problem. * Moved tx entity map to application * Moved synchronize entities in tx method to application * Moved sync

Re: [JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb ApplicationTxEntityMap.java TxEntityMap.java EntityContainer.java Application.java

2001-08-06 Thread Dain Sundstrom
Bill, why this change? - Original Message - From: Bill Burke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 06, 2001 11:26 AM Subject: [JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb ApplicationTxEntityMap.java TxEntityMap.java EntityContainer.java Application.java

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql - New directory

2001-08-06 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/06 17:16:58 jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql - New directory ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development

Re: [JBoss-dev] synchronizeEntitiesWithinTransaction, null pk remove

2001-08-07 Thread Dain Sundstrom
Mark, If you remember, I posted to this list the suggested change to the interceptor, and waited a day after YOU said it was OK to make the change. As a side note, I was attempting to move the actual store logic out of the interceptor. I moved the sync entities in tx to application. My goal

Re: [JBoss-dev] synchronizeEntitiesWithinTransaction, null pk remove

2001-08-07 Thread Dain Sundstrom
marc, I have simple suggestion. Can we modify the commit script to check that if anyone changes the 'special files' it sends an additional message to the list with the subject 'DANGER' or something simmilar. Then in the code we put the comment (in addition to what is already there) mentions

Re: [JBoss-dev] synchronizeEntitiesWithinTransaction, null pk remove

2001-08-07 Thread Dain Sundstrom
introduced problems like this show up in the nightly build. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dain Sundstrom Sent: Tuesday, August 07, 2001 11:19 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-dev

Re: [JBoss-dev] Transition to JCA only - should I commit now?

2001-08-10 Thread Dain Sundstrom
If the licence becomes an issue, I will rewite all added features since the license change. (After I finish CMP 2.0). -dain - Original Message - From: marc fleury [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 10, 2001 3:03 PM Subject: RE: [JBoss-dev] Transition to JCA

Re: [JBoss-dev] what is webOS?

2001-08-13 Thread Dain Sundstrom
IMHO, for 99.999% of uses an XML over a zipped HTTP stream will be reasonable. You may ask what is zipped HTTP. Well it is what I call (there may be a formal name) the technique where you flag the content with the Transfer-Encoding: gzip header and zip the contentent. This gives a huge boost to

[JBoss-dev] EJB-QL help

2001-08-17 Thread Dain Sundstrom
For thoes of you that have looked at EJB-QL, Can you think of a logical query that uses the MEMBER OF opperator? I can't seem to think of any examples that are not completely contrived. If you can, how would you map it to SQL? How about the same for the NOT MEMBER OF opperator? The EJB-QL

Re: [JBoss-dev] EJB-QL help

2001-08-17 Thread Dain Sundstrom
but several vendors are supporting it after sun dropped the ball... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dain Sundstrom Sent: Friday, August 17, 2001 12:26 PM To: [EMAIL PROTECTED] Subject: [JBoss-dev] EJB-QL help For thoes

[JBoss-dev] JDBC SQL Extensions

2001-08-17 Thread Dain Sundstrom
all JDBC experts, Is it common for the JDBC drivers to support the SQL Extension functions? http://java.sun.com/j2se/1.3/docs/guide/jdbc/spec/jdbc-spec.frame11.html I specifically need the functions: concat, substring, locate, length, abs, and sqrt. I'm planing on mapping these to {fn

Re: [JBoss-dev] JDBC SQL Extensions

2001-08-17 Thread Dain Sundstrom
, but their proprietary outer join syntax is much more concise. I think you will need to do mapping onto the various vendor's syntax... -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 3:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-dev] JDBC SQL Extensions

Re: [JBoss-dev] JDBC SQL Extensions

2001-08-17 Thread Dain Sundstrom
Sorry for the confusion. There are two issues here. == Issue1: use of the {fn concat(str1, str2)} style functions. Solution: use fn style functions as default but have override in xml like: concat-functionCONCAT (?1, ?2)/concat-function

Re: [JBoss-dev] JDBC SQL Extensions

2001-08-17 Thread Dain Sundstrom
). -dain - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 17, 2001 4:46 PM Subject: Re: [JBoss-dev] JDBC SQL Extensions On 2001.08.17 16:31:43 -0400 Dain Sundstrom wrote: Sorry for the confusion. There are two issues here

Re: Re[2]: [JBoss-dev] JDBC SQL Extensions

2001-08-18 Thread Dain Sundstrom
Do any other popular databases not support exists? Any way, I guess MySQL users get to wait a little while, because I already coded it. -dain - Original Message - From: Oleg Nitz [EMAIL PROTECTED] To: Dain Sundstrom [EMAIL PROTECTED] Sent: Saturday, August 18, 2001 5:14 AM Subject: Re

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql Assembly.java InputParameterToken.java Literal.java NumberState.java Parser.java StringLiteral.java Symbol.java Terminal.java

2001-08-18 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/18 08:56:43 Modified:src/main/org/jboss/ejb/plugins/cmp/ejbql Assembly.java InputParameterToken.java Literal.java NumberState.java Parser.java StringLiteral.java Symbol.java

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc SQLUtil.java

2001-08-18 Thread Dain Sundstrom
2001/08/03 17:15:46 1.2 +++ SQLUtil.java 2001/08/18 15:58:57 1.3 @@ -13,7 +13,7 @@ * SQLUtil helps with building sql statements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCApplicationMetaData.java

2001-08-18 Thread Dain Sundstrom
revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- JDBCApplicationMetaData.java 2001/08/03 17:15:47 1.7 +++ JDBCApplicationMetaData.java 2001/08/18 16:08:47 1.8 @@ -30,7 +30,7 @@ * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @author

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCEntityBridge.java

2001-08-18 Thread Dain Sundstrom
-u -r1.5 -r1.6 --- JDBCEntityBridge.java 2001/08/03 17:15:47 1.5 +++ JDBCEntityBridge.java 2001/08/18 16:03:35 1.6 @@ -51,7 +51,7 @@ * One per cmp entity bean type. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge JDBCCMRFieldBridge.java

2001-08-18 Thread Dain Sundstrom
-r1.4 -r1.5 --- JDBCCMRFieldBridge.java 2001/08/03 17:15:47 1.4 +++ JDBCCMRFieldBridge.java 2001/08/18 16:04:26 1.5 @@ -44,7 +44,7 @@ * One for each role that entity has. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCEntityMetaData.java

2001-08-18 Thread Dain Sundstrom
revision 1.5 diff -u -r1.4 -r1.5 --- JDBCEntityMetaData.java 2001/08/03 17:15:47 1.4 +++ JDBCEntityMetaData.java 2001/08/18 16:10:28 1.5 @@ -27,7 +27,7 @@ * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @author a href=[EMAIL PROTECTED]Sebastien Alborini

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCRelationshipRoleMetaData.java

2001-08-18 Thread Dain Sundstrom
ejb-relation elements. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public final class JDBCRelationshipRoleMetaData { /** @@ -84,7 +84,7 @@ for(Iterator i

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCEJBQLFinderCommand.java

2001-08-18 Thread Dain Sundstrom
specification. * This class needs more work and I will clean it up in CMP 2.x phase 3. * The only thing to to note is the seperation of query into a from and where * clause. This code has been cleaned up to improve readability. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom

[JBoss-dev] EJB-QL initial revision done

2001-08-18 Thread Dain Sundstrom
I just committed the initial revision of the EJB-QL to SQL translation engine. All you need to do to use the engine is get the new code and add you EJB-QL query to the ejb-jar.xml file. There are some several restrictions: 1) This only works for finders. ejbSelect methods are not implemented

Re: [JBoss-dev] JDBC SQL Extensions

2001-08-18 Thread Dain Sundstrom
I did a little investigation and found that mSQL does not support EXISTS or JOIN so mSQL users will never be able to use the IS EMPTY operator. -dain - Original Message - From: Oleg Nitz [EMAIL PROTECTED] To: Dain Sundstrom [EMAIL PROTECTED] Sent: Saturday, August 18, 2001 10:34 AM

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql EJBQLParser.java SQLTarget.java

2001-08-18 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/18 20:32:24 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql EJBQLParser.java SQLTarget.java Log: Changed ejb-ql command to set select distinct when an Set is to be returned. Revision ChangesPath 1.2 +8 -5

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCTypeMappingMetaData.java

2001-08-19 Thread Dain Sundstrom
retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JDBCTypeMappingMetaData.java 2001/08/03 17:15:47 1.3 +++ JDBCTypeMappingMetaData.java 2001/08/19 22:50:33 1.4 @@ -18,7 +18,7 @@ * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @author a href

[JBoss-dev] CVS update: jboss/src/etc/conf/default standardjbosscmp-jdbc.xml

2001-08-19 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/19 15:52:16 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Added function mappings for MS SQLServer, Oracle, MySql and PostgreSQL. Revision ChangesPath 1.4 +151 -1jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml

[JBoss-dev] SQL function mapping

2001-08-19 Thread Dain Sundstrom
I added the function mapping code to the EJB-QL to SQL translation engine. I added mappings for MS SQLServer, Oracle, MySQL and PostgreSQL to the standard jboss cmp xmp file. Notes: - These mappings are completely based on info from the 'SQL in a Nutshell' book, so they may not work (I don't use

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCFunctionMappingMetaData.java

2001-08-19 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/19 20:19:55 Added: src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCFunctionMappingMetaData.java Log: Handles metadata about sql function mappings. Revision ChangesPath 1.1

Re: [JBoss-dev] Dain you forgot to commit JDBCFunctionMappingMetaData

2001-08-19 Thread Dain Sundstrom
Oops. Just checked it in. - Original Message - From: Bill Burke To: Jboss-Development@Lists. Sourceforge. Net Sent: Sunday, August 19, 2001 9:58 PM Subject: [JBoss-dev] Dain you forgot to commit JDBCFunctionMappingMetaData Dain you forgot to commit

Re: [JBoss-dev] SQL function mapping

2001-08-20 Thread Dain Sundstrom
Bill, I think so. I think all of these issues with datasource specific configuration are all related. I think we need to change the type-mapping section of the xml file to something like datasource-config (best name I can think of), with subsections for function mapping, type mappings, join

  1   2   3   4   5   6   7   8   9   10   >