Re: [JBoss-dev] Connection Pool Configuration

2002-04-03 Thread Dain Sundstrom
Can this be set in the initial connection properties? I don't know much about pool set-up, but David does (and I CCed him on this email). Does the current pool code support setting of properties in the config file? -dain Giorgio42 wrote: > Is JBoss CMP currently making any use > of propriet

Re: [JBoss-dev] Long deployment file names... again

2002-04-03 Thread Dain Sundstrom
My $0.02. I think that _filename would be the easiest to for developers to follow. Even better would be if the UID was always the same length, so they would lineup in with ls or dir. -dain Jason Dillon wrote: > For the cache, I initially implement a reproducable long url -> short > url usi

Re: [JBoss-dev] CMP Entity bean error messages

2002-04-03 Thread Dain Sundstrom
This is a user question, and should be posted in the forums or jboss-users list. The problem is you have the ejb 1.1 doctype declared in your ejb-jar.xml, and not ejb 2.0 (you are using cmp2 correct?). Secondly, you are using jaws.xml which is depreciated, instead of the new jbosscmp-jdbc.xml

Re: [JBoss-dev] AutoNumber in Jboss 3.0.0

2002-04-03 Thread Dain Sundstrom
I wasn't aware of this. Are you sure it was removed? If you are having problems, post again, and I'll ask around. -dain Marius Kotsbak wrote: > On ons, 2002-03-27 at 23:13, jessica hekman wrote: > >>I am trying to upgrade from 2.4 to 3.0 in order to use CMP 2.0. However, in moving >my appl

Re: [JBoss-dev] PK values and CMP commit option A

2002-04-03 Thread Dain Sundstrom
This select just verifies that the row still exists in the database, but is shouldn't be called in commit option A. I was under the impression that in commit option A didn't call the actual find if the bean was still in the ready cache. If this is happening after the bean is initially create

Re: [JBoss-dev] JBoss and Apache

2002-03-24 Thread Dain Sundstrom
Scott, I really can't see anything to gain by becoming a Jakarta project, other then more bureaucracy. BTW, we do have the "whole stack". We just support a pluggable web tier. -dain Scott Sanders wrote: > As a jakarta committer, I have to say thanks for stating this as > succintly as you di

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Dain Sundstrom
marc fleury wrote: > OK what you want to do is have the initialization of the Bean in the CMP > engine (the deploy) CHECK for the presence of a transaction. SO if the > deployment is transactional (as done with a Required in MEJB) then you need > to check for that transaction and only start if n

Re: [JBoss-dev] MEJB transactions (invoke deploy)

2002-03-22 Thread Dain Sundstrom
The JDBCStartCommand executes the create table statements, and some database have problems when you execute ddl in the same transactions normal sql. Why would jsr-77 care if I start a new transaction? I plan I using a private transaction in an autonumber generator when I implement the unknown

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

2002-03-14 Thread Dain Sundstrom
PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public class RelationSet implements Set { private JDBCCMRFieldBridge cmrField; @@ -42,7 +42,11 @@ // CMR field sets my referance to the set to null, s

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

2002-03-14 Thread Dain Sundstrom
org.jboss.ejb.EntityEnterpriseContext; @@ -25,7 +26,7 @@ * or the responsibilities of this class. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class RelationSet im

Re: [JBoss-dev] RE: [JBoss-user] JBOSS 3.x FINAL

2002-03-14 Thread Dain Sundstrom
Trawick, James wrote: > Will the final release actually include documentation? JBossCMP will and already does. > (btw, whoever you went with to sell your JBoss 3 docs should be shot. i > went through their process several times, they said they had problems and > would get back to me. they

Re: [JBoss-dev] is findByPrimaryKey optimization bad?

2002-03-14 Thread Dain Sundstrom
I think the optimization should to do the query and if the bean is not found remove it from the cache. Not really an optimization, but it keeps the cache clean. -dain Scott M Stark wrote: > I would say the optimization is inconsistent with the commit option. > Why should a third party removi

Re: [JBoss-dev] is findByPrimaryKey optimization bad?

2002-03-14 Thread Dain Sundstrom
Bill Burke wrote: > A BMP findByPrimaryKey is optimized to look in cache first for the active > pk. If it is active in cache, then the pk is just returned, without calling > ejbFindByPrimaryKey on the BMP. Should we do this for commit-options 'B' > and 'C'? > > Here's the scenario somebody jus

Re: [JBoss-dev] CMR postCreate

2002-03-14 Thread Dain Sundstrom
No. My focus is on getting spec compliant features in first. Specifically support for unknown pks and a fix for dependent value classes. After that, I haven't decided what I will do first. My choices are insert/delete timing configuration, optimistic locking/caching, and using database meta

Re: [JBoss-dev] Do tests need explicit type mapping? Can they all use cmp2?

2002-03-13 Thread Dain Sundstrom
David Jencks wrote: Some of the tests (e.g. Bank) have an explicit type mapping set to Hypersonic in their jaws.xml file. This makes it difficult to run against other databases. Does anyone have a problem with my removing these? (This is not specifying an sql type for a particular field/column

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

2002-03-12 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class JDBCEJBQLCompiler extends BasicVisitor { @@ -726,6 +726,16 @@ buf.append(" "); buf.append(alias); leftJoins(p

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

2002-03-12 Thread Dain Sundstrom
1.25 +++ JDBCCMRFieldBridge.java 12 Mar 2002 22:25:50 - 1.26 @@ -55,7 +55,7 @@ * One for each role that entity has. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.25 $ + * @version $Revision: 1.26 $ */

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

2002-03-12 Thread Dain Sundstrom
1.11 diff -u -r1.10 -r1.11 --- JDBCCMP2xFieldBridge.java 15 Jan 2002 20:49:11 - 1.10 +++ JDBCCMP2xFieldBridge.java 12 Mar 2002 18:19:50 - 1.11 @@ -32,7 +32,7 @@ * One for each entity bean cmp field. * * @author mailto:[EMAIL PROTECTED]";>Dain S

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

2002-03-12 Thread Dain Sundstrom
-r1.5 --- ReadAheadCache.java 27 Feb 2002 00:07:59 - 1.4 +++ ReadAheadCache.java 12 Mar 2002 18:17:04 - 1.5 @@ -31,7 +31,7 @@ * basis. The read ahead data for each entity is stored with a soft reference. * * @author mailto:[EMAIL PROTECTED]";

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

2002-03-12 Thread Dain Sundstrom
type. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ */ public class JDBCEntityBridge implements EntityBridge { private JDBCEntityMetaData metadata; @@ -442,

Re: [JBoss-dev] Re: [jetty-discuss] HTTP loadbalancing

2002-03-07 Thread Dain Sundstrom
This looks like a great plan. Don't forget to include a way to transition a sticky session from http to https. If I remember correctly, Cisco supports this by having an additional ip address added to css switch for each child web server. When the session is transitioned from http to https

Re: [JBoss-dev] Tests something broke

2002-03-06 Thread Dain Sundstrom
ixing it Dain. >> >>Regards, >>Adrian >> >> >>>Thanks kudos to you my friend. >>> >>>Newbie spanking time >>>Adrian, in my office >>> >>>"do as I say, not as I do" >>> >>>marcf >>>

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

2002-03-06 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/06 10:56:15 Modified:src/main/org/jboss/ejb EntityContainer.java Log: Fixed fix to creat patch. Will now correctly call createHome and createLocalHome. Revision ChangesPath 1.73 +2 -2 jboss/src/main/org/jboss/ejb/EntityContainer.

Re: [JBoss-dev] Tests something broke

2002-03-05 Thread Dain Sundstrom
Fixed it. The create patched was keyed to always return remote objects. Once I opened the correct class it was obvious. In the future, please run the testsuite before committing changes, especially changes to the core of the server. -dain Dain Sundstrom wrote: > It appears the the cre

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

2002-03-05 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/05 20:42:57 Modified:src/main/org/jboss/ejb EntityContainer.java Log: Fixed bug where create of an EJB 2.0 entity was always returning remote objects. The create method mapping was keyed to createHome even for local home methods. Revision Chan

Re: [JBoss-dev] Tests something broke

2002-03-05 Thread Dain Sundstrom
It appears the the create patch has broken create for CMP 2 entities. Now create always returns null. Was the testsuite run before this patch was committed? I'll see if I can fix it. -dain Dain Sundstrom wrote: > I'm looking into it. > > -dain > > Scott M Star

Re: [JBoss-dev] Tests something broke

2002-03-05 Thread Dain Sundstrom
I'm looking into it. -dain Scott M Stark wrote: > All of the new errors are in the org.jboss.test.cmp2.relationship package, > and all are NPEs in the unit test code. One example stack trace is: > > N/A > > java.lang.NullPointerException > at > org.jboss.test.cmp2.relationship.oneToOneBidirec

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

2002-03-04 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/04 14:27:45 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCAbstractQueryCommand.java QueryParameter.java Log: Cleaned up typeMapping handling. Revision ChangesPath 1.9 +6 -5 jboss/src/main/org/jboss/e

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

2002-03-04 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/04 10:58:05 Modified:src/main/org/jboss/metadata XmlFileLoader.java Log: Will now throw a DeploymentException if an error occures while validating. Revision ChangesPath 1.27 +18 -2 jboss/src/main/org/jboss/metadata/XmlFileLoader.java

[JBoss-dev] CVS update: jbosstest/src/resources/cmp2/ejbselect/META-INF jbosscmp-jdbc.xml

2002-03-04 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/04 10:53:50 Modified:src/resources/cmp2/ejbselect/META-INF jbosscmp-jdbc.xml Log: fixed invalid metadata Revision ChangesPath 1.3 +0 -1 jbosstest/src/resources/cmp2/ejbselect/META-INF/jbosscmp-jdbc.xml Index: jbosscmp-jdbc.xm

[JBoss-dev] CVS update: jbosstest/src/resources/cmp2/readonly/META-INF jbosscmp-jdbc.xml

2002-03-04 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/04 10:53:50 Modified:src/resources/cmp2/readonly/META-INF jbosscmp-jdbc.xml Log: fixed invalid metadata Revision ChangesPath 1.3 +2 -4 jbosstest/src/resources/cmp2/readonly/META-INF/jbosscmp-jdbc.xml Index: jbosscmp-jdbc.xml

[JBoss-dev] Problem with new deployer

2002-03-04 Thread Dain Sundstrom
I have been working on the XmlFileLoader stuff I discussed yesterday and it has revealed a problem with the new deployer. When a DeploymentException is thrown in the create life cycle method the deployer does not remove the ejbs that were registered a part for ejb-jar. Then later when you

Re: [JBoss-dev] Guidance required EJB1.1/2.0

2002-03-04 Thread Dain Sundstrom
You can detect if a jar is an EJB 2.0 jar by looking at the DOCTYPE. I already do this in ApplicationMetaData, so all you need to do is call isEJB2x(). -dain marc fleury wrote: > 2.0 is so much more powerful than 1.1 we will support only 2.0 when it is > stable. For now we need both, > > m

Re: [JBoss-dev] Testsuite completely broken?

2002-03-03 Thread Dain Sundstrom
> 1. what happens if you move default-hsqldb-service.sar out of deploy so it > undeploys and then back so it redeploys? Still doesn't work, but when I undeploy I get the following exceptions. 21:18:08,084 INFO [HypersonicDatabase] Destroying 21:18:08,084 INFO [HypersonicDatabase] Destroyed 21

Re: [JBoss-dev] Testsuite completely broken?

2002-03-03 Thread Dain Sundstrom
Jason Dillon wrote: > I just ran the testsuite (from a clean cvs) and got 4 failure 2 errors... I wish. > The problems I say with jbosscx.sar were only when I was explicit with > which arhvies to load... which are only local to my workspace (not > commited). > > Dain, if you start up the

Re: [JBoss-dev] Testsuite completely broken?

2002-03-03 Thread Dain Sundstrom
RARDeployer is loaded. (i'm not certain where jbosscx.sar is > right now) > > david jencks > > On 2002.03.03 19:33:31 -0500 Dain Sundstrom wrote: > >>I just did a fresh checkout of jboss-all and almost every test is >>failing because it can't find DefaultD

[JBoss-dev] Testsuite completely broken?

2002-03-03 Thread Dain Sundstrom
I just did a fresh checkout of jboss-all and almost every test is failing because it can't find DefaultDS. A sample error follows: 2002-03-03 18:14:03,027 DEBUG [org.jboss.ejb.EntityContainer] failed to lookup DefaultDS; ignoring javax.naming.NameNotFoundException: DefaultDS not bound Am I d

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

2002-03-03 Thread Dain Sundstrom
1.12 @@ -25,7 +25,7 @@ * have set methods. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.11 $ + * @version $Revision: 1.12 $ */ public final class JDBCRelationMetaData { private final static int TABLE = 1; @@ -307,6

Re: [JBoss-dev] XmlFileLoader and validation?

2002-03-03 Thread Dain Sundstrom
If there are no objections to this, I'm going to make the change (assuming it doesn't break any test cases). -dain Dain Sundstrom wrote: > It's just eating the exceptions. I can add code to set a flag in the > handler. Then after the whole file is parsed and a

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

2002-03-03 Thread Dain Sundstrom
:[EMAIL PROTECTED]";>Dain Sundstrom * @see org.jboss.ejb.EntityPersistenceStore - * @version $Revision: 1.28 $ + * @version $Revision: 1.29 $ */ public class JDBCStoreManager implements EntityPersistenceStore { @@ -373,7 +373,12 @@ Objec

[JBoss-dev] When do DTDs get updated?

2002-03-03 Thread Dain Sundstrom
When do the DTDs get updated on the JBoss site? The dtd for jbosscmp-jdbc.xml hasn't been updated in like a month. Can we setup a redirect (or something similar) to the web cvs version at sf? The url is like this: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/jboss/jboss/src/res

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

2002-03-03 Thread Dain Sundstrom
1.11 @@ -19,7 +19,7 @@ * Imutable class contains information about a declated query. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ public final class JDBCDeclaredQueryMetaData im

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

2002-03-03 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/03 12:02:28 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDeclaredSQLQuery.java Log: Added optional alias element to select in declared-sql for specifing the exact alias that will be used for the main select table. R

[JBoss-dev] CVS update: jboss/src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd

2002-03-03 Thread Dain Sundstrom
User: dsundstrom Date: 02/03/03 12:01:16 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Added optional alias element to select in declared-sql for specifing the exact alias that will be used for the main select table. Revision ChangesPath 1.13

Re: [JBoss-dev] XmlFileLoader and validation?

2002-03-03 Thread Dain Sundstrom
. >> >>Any ideas? >> >>-dain >> >>Scott M Stark wrote: >> >> >>>If you have the doc URL then use: >>> >>>public static Document getDocument(URL url, boolean validateDTDs) throws >>>DeploymentException >>> >>

[JBoss-dev] Is DatabaseMetaData safe to use?

2002-03-03 Thread Dain Sundstrom
I have been looking at using DatabaseMetaData extensively in the code for determining what sql to generate. Is DatabaseMetaData safe to use? I do remember way back some vendors meta data lied. -dain ___ Jboss-development mailing list [EMAIL PROTECT

Re: [JBoss-dev] XmlFileLoader and validation?

2002-03-03 Thread Dain Sundstrom
e the document stream and call: > > XmlFileLoader(boolean validateDTDs) > public Document getDocument(InputStream is, String inPath) throws > DeploymentException > > > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xx

[JBoss-dev] XmlFileLoader and validation?

2002-03-03 Thread Dain Sundstrom
How can I know if there were no validation errors when loading a doc with XmlFileLoader? I want to throw a DeploymentException if jbosscmp-jdbc.xml is not valid. -dain ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.ne

Re: [JBoss-dev] njar still has problems with security manager

2002-03-01 Thread Dain Sundstrom
Have you tried adding it to the primordial class loader? I think it is something like -Xbootclasspath -dain Scott M Stark wrote: > Even if I put the njar protocol handler in the system classpath > and try a trival hello world main with the following simple > policy file, running with a securi

Re: [JBoss-dev] Logger change

2002-02-27 Thread Dain Sundstrom
>public static void main(String[] args) >{ > org.apache.log4j.BasicConfigurator.configure(); > > testWrapper(); > testVolatile(); >} What if you run the volatile test first and then the wrapper test? Maybe you are seeing jit stuff. I suggest running both, throwin

[JBoss-dev] SQL alias-max-length=30

2002-02-27 Thread Dain Sundstrom
mpra Energy Trading > 203-355-5182 > > -Original Message- > From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 11:27 AM > To: JBoss-dev > Subject: [JBoss-dev] Re: [ jboss-Bugs-516835 ] pk constraint name too > long > > > What

[JBoss-dev] Re: [ jboss-Bugs-516835 ] pk constraint name too long

2002-02-27 Thread Dain Sundstrom
ou can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=376685&aid=516835&group_id=22866 > > Category: JBossCMP > Group: v3.0 Rabbit Hole > Status: Open > Resolution: Accepted > Priority: 5 > Submitted By: Georg Schmid (giorgio42) > Assig

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

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 22:46:48 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Changed mySQL java.util.Date jdbc-type to TIMESTAMP. Bug #518197. Revision ChangesPath 1.19 +2 -2 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Ind

Re: [JBoss-dev] New EJB-QL compiler (ORDER BY and DynamicQL)

2002-02-26 Thread Dain Sundstrom
Adam Heath wrote: > On Tue, 26 Feb 2002, Dain Sundstrom wrote: > > >>dynamic-ql: >>The new compiler is eye-blink fast, so I added a new query type >>dynamic-ql. With dynamic-ql you can generate a JBossQL query and pass it >>along with the parameters to the eng

[JBoss-dev] New EJB-QL compiler (ORDER BY and DynamicQL)

2002-02-26 Thread Dain Sundstrom
The new EJB-QL compiler is finished and checked in tip. The new compiler is a complete rewrite in JavaCC, and is much faster, easier to maintain, and has error messages. I was surprised by the number of errors I found in the old parser. You guys haven't been pushing the engine enough, so to

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

2002-02-26 Thread Dain Sundstrom
--- ASTSelect.java26 Feb 2002 23:16:40 - 1.1 +++ ASTSelect.java27 Feb 2002 00:52:52 - 1.2 @@ -11,9 +11,8 @@ * This abstract syntax node represents a select clause. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.1 $ + *

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

2002-02-26 Thread Dain Sundstrom
javax.ejb.EJBException; +import javax.ejb.FinderException; import javax.transaction.Transaction; import org.jboss.deployment.DeploymentException; @@ -37,7 +38,7 @@ * One per cmp entity bean instance, including beans in pool. * * @author mailto:[EMAIL PROTECTED]";

[JBoss-dev] CVS update: jboss build.xml

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 16:47:05 Modified:.build.xml Log: Added generate-parsers target which uses JavaCC to generate the EJB-QL and JBossQL parsers. Revision ChangesPath 1.72 +40 -2 jboss/build.xml Index: build.xml =

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

2002-02-26 Thread Dain Sundstrom
@@ -19,7 +19,7 @@ * Imutable class contains information about a declated query. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ */ public final class JDBCDeclaredQueryMetaData implements JDBCQuery

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

2002-02-26 Thread Dain Sundstrom
ityPersistenceStore; import org.jboss.ejb.EntityEnterpriseContext; import org.jboss.ejb.ListCacheKey; +import org.jboss.ejb.plugins.cmp.ejbql.Catalog; import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMPFieldBridge; import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge; import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBC

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

2002-02-26 Thread Dain Sundstrom
org.jboss.ejb.plugins.cmp.jdbc.metadata; +import java.lang.reflect.Array; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; @@ -24,7 +25,7 @@ * on the query specifiection type. * * @author mailto:[EMAIL PROTECTED]";

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

2002-02-26 Thread Dain Sundstrom
27 Feb 2002 00:05:41 - 1.11 @@ -17,7 +17,7 @@ * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author Sebastien Alborini - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ public final class JDBCTypeMappingMetaData {

[JBoss-dev] CVS update: jboss/src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 16:13:53 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Added new jboss-ql and dynamic-ql elements. Made alias generation elements required. Added subquery-supported element. Revision ChangesPath 1.12 +

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

2002-02-26 Thread Dain Sundstrom
contains information about an JBossQL query. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revision: 1.1 $ */ public final class JDBCJBossQLQueryMetaData implements JDBCQueryMetaData { /** * The method to which this query is bound. */

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

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 16:03:25 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/metadata JDBCReadAheadMetaData.java Log: Added new constructor that takes all state info as parameters. Revision ChangesPath 1.6 +19 -1 jboss/src/

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

2002-02-26 Thread Dain Sundstrom
-r1.10 --- JDBCTypeFactory.java 12 Feb 2002 06:17:15 - 1.9 +++ JDBCTypeFactory.java 26 Feb 2002 23:55:46 - 1.10 @@ -27,7 +27,7 @@ * this class is to flatten the JDBCValueClassMetaData into columns. * * @author mailto:[EMAIL PROTECTED]";>Dain S

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

2002-02-26 Thread Dain Sundstrom
class which contains information about an DynamicQL query. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revision: 1.1 $ */ public final class JDBCDynamicQLQueryMetaData implements JDBCQueryMetaData { /** * The method to which this query

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

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 15:53:07 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java Log: Minor changes due to changes in CMRFieldBridge interface. Revision ChangesPath 1.22 +4 -4 jboss/src/main/org/jboss/ejb/

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

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 15:52:01 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCQueryManager.java Log: Added support for new DynamicQL and JBossQL queries. Revision ChangesPath 1.4 +12 -2 jboss/src/main/org/jboss/ejb/plugi

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

2002-02-26 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.14 $ + * @version $Revision: 1.15 $ */ public class JDBCLoadRelationCommand { private final JDBCStoreManager manager; @@ -195,7 +195,7 @@ List relatedKeyFields = getRelatedKeyFields(

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

2002-02-26 Thread Dain Sundstrom
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCFunctionMappingMetaData; import org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData; import org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCTypeMappingMetaData; /** * Compiles EJB-QL and JBossQL into SQL. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revis

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

2002-02-26 Thread Dain Sundstrom
]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class JDBCEJBQLQuery extends JDBCAbstractQueryCommand { @@ -32,44 +27,37 @@ super(manager, q); JDBCQlQueryMetaData metadata = (JDBCQlQueryMetaData)q; - getLog().de

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

2002-02-26 Thread Dain Sundstrom
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaData; /** * This class generates a query from JBoss-QL. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revision: 1.1 $ */ public class JDBCJBossQLQuery extends JDBCAbstractQueryCommand { public JDBCJBos

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

2002-02-26 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revision: 1.1 $ */ public class JDBCDynamicQLQuery extends JDBCAbstractQueryCommand { private final Catalog catalog; private JDBCDynamicQLQueryMetaData metadata; public JDBCDynamicQLQuery( JDBCStor

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

2002-02-26 Thread Dain Sundstrom
1.15 diff -u -r1.14 -r1.15 --- JDBCCommandFactory.java 15 Jan 2002 21:48:45 - 1.14 +++ JDBCCommandFactory.java 26 Feb 2002 23:31:43 - 1.15 @@ -17,7 +17,7 @@ * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author mailto:[EMAIL PROTECTED]";&

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

2002-02-26 Thread Dain Sundstrom
:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.11 $ + * @version $Revision: 1.12 $ */ public abstract class JDBCAbstractCMPFieldBridge implements JDBCCMPFieldBridge { protected JDBCStoreManager manager; @@ -75,6 +75,10 @@

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

2002-02-26 Thread Dain Sundstrom
mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public interface EntityBridge { public String getEntityName(); + public String getAbstractSchemaName(); public List g

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

2002-02-26 Thread Dain Sundstrom
beans in pool. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.13 $ + * @version $Revision: 1.14 $ */ public class EntityBridgeInvocationHandler implements InvocationHandler { private final EntityC

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql AbstractSchema.java CMPField.java CMRField.java EJBQLParser.java EntityPathElement.java IdentifierManager.java PathElement.java SQLGenerator.java SQLTarget.java

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 15:15:19 Removed: src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql AbstractSchema.java CMPField.java CMRField.java EJBQLParser.java EntityPathElement.java IdentifierManager.java PathElem

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql Alternation.java ApproximateNumericToken.java Assembler.java Assembly.java AssemblySet.java DeepCloneable.java Empty.java ExactNumericToken.java InputParameter.java InputParameterState.java InputParameterToken.java Literal.java NumberState.java NumericLiteral.java Optional.java Parser.java QuoteState.java Repetition.java Sequence.java StringLiteral.java StringToken.java Symbol.java SymbolState.java SymbolToken.java Terminal.java Token.java Tokenizer.java TokenizerState.java WhitespaceState.java Word.java WordState.java WordToken.java

2002-02-26 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/26 15:15:18 Removed: src/main/org/jboss/ejb/plugins/cmp/ejbql Alternation.java ApproximateNumericToken.java Assembler.java Assembly.java AssemblySet.java DeepCloneable.java Empty.java Ex

Re: [JBoss-dev] Auto-resolving dependencies/deployment

2002-02-26 Thread Dain Sundstrom
Cool idea to solve the class loading dependency, but I think we still need explicit dependency declarations. The problem I still see is the need to have some services started (i.e. initialized) before others (e.g. db driver setup before a ejb can deploy). Oh, I just thought of another problem

Re: [JBoss-dev] Tshirts at JavaOne FREE TRAINING

2002-02-25 Thread Dain Sundstrom
> JBoss: > All your J2EE are belong to us Maybe I'm an idiot, but what the hell does this mean? -dain ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

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

2002-02-25 Thread Dain Sundstrom
How is it you managed to change every line of these files? Is something wrong in your IDE, or was the file hosed to begin with (and you fixed it)? -dain Dan Christopherson wrote: > User: danch > Date: 02/02/25 09:18:20 > > Modified:src/main/org/jboss/ejb/plugins/jaws/jdbc Tag: B

Re: [JBoss-dev] CVS update: jboss/src/main/org/jboss/deployment DeploymentInfo.java

2002-02-24 Thread Dain Sundstrom
JSX looks like the small fish in the sea anyway. I think we should use JaxB, as it will eventually dominate this field. Assuming you can get it to work. -dain David Jencks wrote: > On 2002.02.24 22:05:19 -0500 Adam Heath wrote: > >>On Sun, 24 Feb 2002, David Jencks wrote: >> >> >>>[snip] >

Re: [JBoss-dev] Loading array class object by name

2002-02-24 Thread Dain Sundstrom
Thanks Scott. I thought I tried that one... Now do you know an easy way to convert java.lang.object[] or whatever to the signature style [Ljava.lang.Object; (other then string manipulation)? Otherwise, I'll write a conversion function. -dain Scott M Stark wrote: > The syntax for obtaining

Re: [JBoss-dev] Loading array class object by name

2002-02-24 Thread Dain Sundstrom
Doesn't work. I tried [Ljava/lang/Object; and both without the semicolon. -dain Jason Dillon wrote: > Try loading "[Ljava.lang.Object;" instead... which is the class name > returned from Object[].class.getName(); > > --jason > > > Dain Sundstrom w

Re: [JBoss-dev] Loading array class object by name

2002-02-24 Thread Dain Sundstrom
Jason Dillon wrote: > What is the value for name you are using? In my test code "java.lang.Object[]" > Why not just use Class.class? Because I am trying to load a parameter type from an xml file that just has the string name of the type. > Or if you really want to use Class.forName t

[JBoss-dev] Loading array class object by name

2002-02-24 Thread Dain Sundstrom
Hi all, I need to load the java.lang.Class object for an array by name. I have tried the following: Class.forName(name, true, entity.getClassLoader()); Where name is "java.lang.Object[]", and I get a ClassNotFoundException. Any ideas? -dain ___

Re: [JBoss-dev] Buildmagic verbosity

2002-02-24 Thread Dain Sundstrom
Jason, Can you get merge these steps with the script task? So instead of calling sub ant files, you dynamically load a script, which basically does the same thing, and run it. -dain marc fleury wrote: > OK, > > 90 of what buildmagic says on the console is useless. > > Can we get rid of >

Re: [JBoss-dev] JBoss javadoc & links to java.lang

2002-02-22 Thread Dain Sundstrom
Here is an example: http://java.sun.com/products/jdk/1.3/docs/api/"/> Jason Dillon wrote: > Does anyone know the correct way to make javadoc generate links to an > external javadoc site? I have seen this before... but have been to lazy > to figure it out. Can anyone

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Dain Sundstrom
David Jencks wrote: > Dain > --just to be really clear-- > > The fix I did for "quadratic algorithm" puts beans in a list to have > ejbStore called if: > > they have a method called on them after the last find, create, or store > -and- > ctxContainer.getPersistenceManager().isModified(ctx) ret

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Dain Sundstrom
James Manning wrote: > [marc fleury] > >>At the aussie training (god I am still so jet-lagged from this :( the guys >>wanted to know if CMP 2.0 in JBoss did the automated generation of >>isModified() on set operations. >> >>i assume yes but just wanted to make sure. >> > > Does it check to make

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Dain Sundstrom
iggy for performance. > > Would you mind explaining the "breaking" of dependency you observed... can > we power our way through this? again I think this is a biggy in perf but I > am largely ignorant of the way it is supposed to work. > > marcf > > |-Original Me

Re: [JBoss-dev] Set on abstract to generate isModified

2002-02-22 Thread Dain Sundstrom
I don't really generate anything other then the simple DP. I have has automatic isModified from the beginning. I have also removed all support for isModified in the CMP 2.0 code as it breaks relationship code. The current implementation could be better, but this is a very low priority. -dain

Re: [JBoss-dev] Configuration layout changes...

2002-02-22 Thread Dain Sundstrom
> castor.jar - ??? Should be in castor.sar > mail-plugin.jar - can be dropped or replaced by another javax.mail.Session Should be mail.sar > hsqldb-plugin.jar - replacable by another DB Should be in hsqldb.sar (db plus driver) -dain ___ Jb

Re: [JBoss-dev] Bug?: no rollback on tx timeout

2002-02-21 Thread Dain Sundstrom
> I'm no threading expert, but I can't find any way of communicating with > the hung thread to force it to return. thread.interrupt() works in most cases. It causes the thread to throw an InterruptedException. -dain ___ Jboss-development mailin

Re: [JBoss-dev] Custom / Generated Finders non-spec compliant

2002-02-21 Thread Dain Sundstrom
JBoss auto generated queries are outside of the spec. JBoss uses the findBy start to signal the system that it should attempt to auto generate a simple single field finder. I think that BMP custom finders in CMP is also non-spec, but jaws should support findX named queries. JBossCMP already

Re: [JBoss-dev] JBossOne T-Shirts...

2002-02-15 Thread Dain Sundstrom
Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED]]On Behalf Of Dain >>Sundstrom >>Sent: Friday, February 15, 2002 2:18 PM >>Cc: [EMAIL PROTECTED] >>Subject: [JBoss-dev] JBossOne T-Shirts... >> >> >>The slogan from me tha

[JBoss-dev] JBossOne T-Shirts...

2002-02-15 Thread Dain Sundstrom
The slogan from me that Marc posted was supposed to be two different sayings, as follows: JBoss Because nothing is worth $10,000/cpu. JBoss DIE BEA! DIE! DIE! DIE! (props to alt.wesley.crusher.die.die.die) I don't necessarily like the latter anymore. Makes us look like the underdog and this

Re: [JBoss-dev] message selectors

2002-02-13 Thread Dain Sundstrom
According to the JMS spec the reserved words are case insensitive. A part of the TOKEN spec I use in the new EJB-QL parser follows: TOKEN [IGNORE_CASE] : /* RESERVED WORDS */ { < FALSE: "FALSE" > | < NOT: "NOT" > | < NULL: "NULL" > | < TRUE: "TRUE" > } The boolean declaration won't work

<    1   2   3   4   5   6   7   8   9   10   >