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

Re: [JBoss-dev] XmlFileLoader and validation?

2002-03-03 Thread Dain Sundstrom
) public Document getDocument(InputStream is, String inPath) throws DeploymentException Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Dain Sundstrom [EMAIL PROTECTED] To: JBoss-dev [EMAIL PROTECTED

[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

[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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ public final class JDBCDeclaredQueryMetaData

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

[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
=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @see org.jboss.ejb.EntityPersistenceStore - * @version $Revision: 1.28 $ + * @version $Revision: 1.29 $ */ public class JDBCStoreManager implements EntityPersistenceStore { @@ -373,7 +373,12 @@ Object[] args

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 all error messages are printed

[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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.11 $ + * @version $Revision: 1.12 $ */ public final class JDBCRelationMetaData { private final static int TABLE = 1; @@ -307,6

[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

Re: [JBoss-dev] Testsuite completely broken?

2002-03-03 Thread Dain Sundstrom
by hand after the 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 DefaultDS. A sample error follows: 2002-03

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

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

2002-02-27 Thread Dain Sundstrom
-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 is the maximum length of an alias in Oracle (or any other dbs that we support) I did

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, throwing away

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

[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

[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

[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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.13 $ + * @version $Revision: 1.14 $ */ public class EntityBridgeInvocationHandler implements InvocationHandler { private final EntityContainer

[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
a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public interface EntityBridge { public String getEntityName(); + public String getAbstractSchemaName(); public List getFields

[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
=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @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/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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @author a href=mailto:[EMAIL PROTECTED];Justin

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

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

[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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @version $Revision: 1.1 $ */ public class JDBCJBossQLQuery extends JDBCAbstractQueryCommand { public

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

2002-02-26 Thread Dain Sundstrom
PROTECTED];Dain Sundstrom/a - * @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

[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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @version $Revision: 1.1

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

2002-02-26 Thread Dain Sundstrom
. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @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 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-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-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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @version $Revision: 1.1 $ */ public final class JDBCDynamicQLQueryMetaData implements JDBCQueryMetaData { /** * The method to which this query is bound

[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 a href=mailto:[EMAIL PROTECTED];Dain

[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-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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @version $Revision: 1.1 $ */ public final class JDBCJBossQLQueryMetaData implements JDBCQueryMetaData { /** * The method to which this query is bound

[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 JDBCTypeMappingMetaData.java

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

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

2002-02-26 Thread Dain Sundstrom
];Dain Sundstrom/a - * @version $Revision: 1.11 $ + * @version $Revision: 1.12 $ */ public class JDBCQueryMetaDataFactory { private JDBCEntityMetaData entity; @@ -92,6 +93,27 @@ return new JDBCRawSqlQueryMetaData(method); } + // JBOSS-QL

[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
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.JDBCEntityBridge; @@ -58,7 +59,7 @@ * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a * @see org.jboss.ejb.EntityPersistenceStore

[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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ */ public final class JDBCDeclaredQueryMetaData implements

[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/bridge EntityBridgeInvocationHandler.java

2002-02-26 Thread Dain Sundstrom
];Dain Sundstrom/a - * @version $Revision: 1.14 $ + * @version $Revision: 1.15 $ */ public class EntityBridgeInvocationHandler implements InvocationHandler { private final EntityContainer container

[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 a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.1 $ + * @version

[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

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 engine to be compiled and execute at runtime

[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

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:

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

[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] 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 to

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 wrote: Jason Dillon wrote: What is the value

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] 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] JSX seems

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 ___

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

2002-02-22 Thread Dain Sundstrom
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 Message- |From: Dain Sundstrom [mailto:[EMAIL

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 sure the value

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) returns true.

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

2002-02-22 Thread Dain Sundstrom
Here is an example: target name=javadoc depends=prepare, compile mkdir dir=${javadoc.dir}/ javadoc packagenames=com.marleta.school.${course}.${assignment}.* sourcepath=${src.dir} destdir=${javadoc.dir} author=true use=true

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

[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] JBossOne T-Shirts...

2002-02-15 Thread Dain Sundstrom
:[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 that Marc posted was supposed to be two different sayings, as follows: JBoss Because nothing is worth $10,000/cpu. JBoss DIE

Re: [JBoss-dev] BCEL org.jboss.proxy.compiler

2002-02-13 Thread Dain Sundstrom
Yep this package is an absolute requirement of CMP 2.0. The java.lang.reflect.Proxy package can't generate a subclass of an abstract class, and this is where BCEL could take over. If you want to look into writing a replacement with BCEL that would be very cool (they do have a sample dynamic

Re: [JBoss-dev] JBoss a JavaWorld finalist

2002-02-13 Thread Dain Sundstrom
This means we already edged out Oracle and others. -dain Jeff Tulley wrote: Somebody on the ant list just posted that Ant is a JavaWorld Finalist. It appears JBoss is also. Best Java Application Server (alphabetical order) BEA WebLogic Server 6.1, BEA Systems JBoss 2.4.4,

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

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

2002-02-12 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/12 07:12:13 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Added java.util.Data mapping for PostgreSQL Revision ChangesPath 1.16 +6 -1 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index:

[JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Dain Sundstrom
Hi all, I wrote the JBossCMP code before I was aware the JBoss Code Style Guide, so I now I want to run a beautifier to correct my code. Does any one use a free beautifier that they have setup for JBoss? I found one called jacobe which seems to do the trick, but I have some questions about

Re: [JBoss-dev] JBoss Code Style Guide

2002-02-12 Thread Dain Sundstrom
reformated. Cheers, Sacha -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Dain Sundstrom Envoye : mardi, 12 fevrier 2002 17:49 A : JBoss-dev Objet : [JBoss-dev] JBoss Code Style Guide Hi all, I wrote the JBossCMP code

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

2002-02-12 Thread Dain Sundstrom
Sure, feel free to add them. -dain David Budworth wrote: Should we have this mapping for all DB's? Whenever I rebuild JBoss, I have to go add java.util.Date mapping myself back in. -David On Tue, 12 Feb 2002, Dain Sundstrom wrote: User: dsundstrom Date: 02/02/12 07:12:13

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

2002-02-12 Thread Dain Sundstrom
java.lang.reflect.Method; import org.jboss.metadata.QueryMetaData; -import org.w3c.dom.Element; /** * Immutable class which contains information about an EJB QL query. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.6 $ + * @version

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

2002-02-12 Thread Dain Sundstrom
+++ QueryMetaData.java12 Feb 2002 18:51:18 - 1.6 @@ -17,7 +17,7 @@ * Contains information about ejb-ql queries. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class

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

2002-02-12 Thread Dain Sundstrom
=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ public class JDBCQueryMetaDataFactory { private JDBCEntityMetaData entity; @@ -112,7 +112,7 @@ } throw new DeploymentException( -Error

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

2002-02-12 Thread Dain Sundstrom
:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ public abstract class JDBCAbstractCMPFieldBridge implements JDBCCMPFieldBridge { protected JDBCStoreManager manager; @@ -93,6 +93,24

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

2002-02-12 Thread Dain Sundstrom
:12 - 1.12 +++ EntityBridgeInvocationHandler.java12 Feb 2002 22:35:11 - 1.13 @@ -37,7 +37,7 @@ * One per cmp entity bean instance, including beans in pool. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.12

Re: [JBoss-dev] java.util.Date in PostgreSQL DB

2002-02-12 Thread Dain Sundstrom
, 12 Feb 2002, Adam Heath wrote: On Tue, 12 Feb 2002, Dain Sundstrom wrote: This is for anyone who knows Postgres out there, There is a patch at sf that suggest adding the following mapping: mapping java-typejava.util.Date/java-type jdbc-typeTIMESTAMP/jdbc-type sql-typeTIMESTAMP/sql

Re: [JBoss-dev] CVS update: jbossmx/src/main/org/jboss/invocation/jrmp/server JRMPInvokerHA.java

2002-02-11 Thread Dain Sundstrom
Didn't someone mention something about new ObjectName was very very expensive call? Can you cache it? -dain Oleg Nitz wrote: User: olegnitz Date: 02/02/11 16:53:35 Modified:src/main/org/jboss/invocation/jrmp/server JRMPInvokerHA.java Log: The bean hashCode was calculated

[JBoss-dev] Is log4j MaxFileSize broken?

2002-02-11 Thread Dain Sundstrom
Before DR1 I was changing log4j.appender.Default.MaxFileSize in my log4j.properties file to 10MB so I could see all of my DB code. Now it seams that this value is always ignored as I can only get a log with 1700 lines. Is this value still used? Is this file still used? On another issue do

Re: [JBoss-dev] Is log4j MaxFileSize broken?

2002-02-11 Thread Dain Sundstrom
can you remove it? Jason Dillon wrote: On another issue do we sill need the instantdb.properties file? Nope. --jason ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

Re: [JBoss-dev] Is log4j MaxFileSize broken?

2002-02-11 Thread Dain Sundstrom
I figgured it out. I'm an idiot. For some reason the log system only logs INFO messages except for org.jboss.system. -dain Dain Sundstrom wrote: Before DR1 I was changing log4j.appender.Default.MaxFileSize in my log4j.properties file to 10MB so I could see all of my DB code. Now

Re: [JBoss-dev] BCEL org.jboss.proxy.compiler

2002-02-11 Thread Dain Sundstrom
When I was at marc's place last week I suggested changing to BCEL, as it is actively maintained by the jakarta group, and it would be one less moving part for us. He liked the idea, but neither of us have the time right now to learn another tool. If you've got nothing better to work on go

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

2002-02-11 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/11 22:15:17 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java Log: Removed wanker log.info protection code. Changed addForeignKeyConstraint to assure that the connection and statement are closed before

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

2002-02-11 Thread Dain Sundstrom
:15 - 1.4 @@ -12,13 +12,14 @@ * mapping of java classes to multipul columns. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public interface JDBCType { public String[] getColumnNames

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

2002-02-11 Thread Dain Sundstrom
+++ JDBCCMPFieldPropertyMetaData.java 12 Feb 2002 06:17:16 - 1.6 @@ -15,7 +15,7 @@ * This immutable class contains information about the an overriden field property. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.5 $ + * @version $Revision: 1.6

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

2002-02-11 Thread Dain Sundstrom
that entity has. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ */ public class JDBCCMRFieldBridge implements JDBCFieldBridge { // -- Invocation messages

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

2002-02-11 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/11 22:22:51 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Added not-null to cmp-field and property. Revision ChangesPath 1.11 +8 -2 jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd Index:

[JBoss-dev] java.util.Date in PostgreSQL DB

2002-02-11 Thread Dain Sundstrom
This is for anyone who knows Postgres out there, There is a patch at sf that suggest adding the following mapping: mapping java-typejava.util.Date/java-type jdbc-typeTIMESTAMP/jdbc-type sql-typeTIMESTAMP/sql-type /mapping There is currently no mapping for java.util.Date, but there is

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

2002-02-02 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/02 18:19:27 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Fixed type-mapping element. Revision ChangesPath 1.10 +1 -1 jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd Index:

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

2002-02-01 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/01 07:17:01 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Fixed typo in list-cache-max. Revision ChangesPath 1.8 +2 -2 jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd Index:

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

2002-02-01 Thread Dain Sundstrom
User: dsundstrom Date: 02/02/01 09:26:34 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Fixed bug in type-mapping element where fk constaint was listed twice, and pk constraint was missing. Revision ChangesPath 1.9 +1 -1

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

2002-01-31 Thread Dain Sundstrom
User: dsundstrom Date: 02/01/31 17:26:58 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Changed type-mapping element in defaults to datasource-mapping as is required in the new dtd. Revision ChangesPath 1.15 +2 -2

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

2002-01-31 Thread Dain Sundstrom
User: dsundstrom Date: 02/01/31 17:47:09 Modified:src/resources/cmp2/ejbselect/META-INF jbosscmp-jdbc.xml Log: Updated to new dtd. Revision ChangesPath 1.2 +14 -15 jbosstest/src/resources/cmp2/ejbselect/META-INF/jbosscmp-jdbc.xml Index: jbosscmp-jdbc.xml

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

2002-01-31 Thread Dain Sundstrom
User: dsundstrom Date: 02/01/31 17:47:09 Modified:src/resources/cmp2/readonly/META-INF jbosscmp-jdbc.xml Log: Updated to new dtd. Revision ChangesPath 1.2 +15 -16jbosstest/src/resources/cmp2/readonly/META-INF/jbosscmp-jdbc.xml Index: jbosscmp-jdbc.xml

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

2002-01-31 Thread Dain Sundstrom
User: dsundstrom Date: 02/01/31 17:47:09 Modified:src/resources/cmp2/relationship/META-INF jbosscmp-jdbc.xml Log: Updated to new dtd. Revision ChangesPath 1.3 +14 -14 jbosstest/src/resources/cmp2/relationship/META-INF/jbosscmp-jdbc.xml Index:

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

2002-01-31 Thread Dain Sundstrom
+++ JDBCRelationMetaData.java 2002/02/01 01:43:52 1.10 @@ -25,7 +25,7 @@ * have set methods. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ */ public final class JDBCRelationMetaData { private final static

[JBoss-dev] That flaming fireball in the sky...

2002-01-31 Thread Dain Sundstrom
I found this on the apache web site. I interpret this statement slightly different the Jakarta guys. To me it looks like the J2EE licensees are getting nervous about the high quality of the open source J2EE implementations (i.e., JBoss), and feel the only way to distinguish them selves in the

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

2002-01-29 Thread Dain Sundstrom
User: dsundstrom Date: 02/01/29 09:56:15 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql IdentifierManager.java SQLGenerator.java Log: Fixed bug where the alias for relation tables was not incorrectly stored in hashmap, so each time it was requested

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

2002-01-29 Thread Dain Sundstrom
-u -r1.3 -r1.4 --- JDBCEJBQLQuery.java 2002/01/15 22:19:32 1.3 +++ JDBCEJBQLQuery.java 2002/01/30 03:23:03 1.4 @@ -21,7 +21,7 @@ * This class generates a query from EJB-QL. * * @author a href=mailto:[EMAIL PROTECTED];Dain Sundstrom/a - * @version $Revision

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

2002-01-29 Thread Dain Sundstrom
User: dsundstrom Date: 02/01/29 19:23:03 Modified:src/main/org/jboss/ejb/plugins/cmp/ejbql Parser.java Log: Changed ejb-ql parser to throw an exception if it is unable to fully parse the ejb-ql. Revision ChangesPath 1.5 +2 -5

[JBoss-dev] Proposed changed to jbosscmp-jdbc.xml

2002-01-29 Thread Dain Sundstrom
I need to make some changes to the jbosscmp-jdbc.xml file to enable better dtd validation. The first involves simply renaming the type-mapping element used in the defaults and the entity to datasource-mapping. In the current system type mapping is used in both to identify the type mapping to be

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

2002-01-28 Thread Dain Sundstrom
User: dsundstrom Date: 02/01/28 11:54:42 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java Log: Changed to throw a deployment exception when an exception occures while creating a table or adding a foreign key constraint. Revision

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