FW: [JBoss-dev] RE: Persistant HttpSession

2001-09-01 Thread Dain Sundstrom
I ment to send this to the list, but hit the wrong button. -Original Message- From: Dain Sundstrom Sent: Saturday, September 01, 2001 10:20 AM To: 'Julian Gosnell' Subject: RE: [JBoss-dev] RE: Persistant HttpSession I saw a presentation at JavaOne from HP on thier highly

RE: [JBoss-dev] EJB 2.0 CMP

2001-08-31 Thread Dain Sundstrom
Dave, We still don't see eye-to-eye, and I think I made the problem worse with my example. I think the most common type of relationship will be something like 'a cd has an artist' or 'a cd has a publisher.' In this cases, the foreign key for the artist or publisher would be just another column

RE: [JBoss-dev] EJB playing with finders

2001-08-31 Thread Dain Sundstrom
Right now there is no error handling in the ejb-ql parser. The problem with your ejb-ql is you have status when you should have t.status. It should work then, -dain > -Original Message- > From: Dave Smith [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 31, 2001 8:12 AM > To: [EMAIL PR

Re: [JBoss-dev] Docs for New Features

2001-08-30 Thread Dain Sundstrom
Docs are the next thing on my todo list. I just finished the alias generation code and I'm going to start on the docs tomorrow. What do you want documented first? -dain - Original Message - From: "Hunter Hillegas" <[EMAIL PROTECTED]> To: "JBoss Dev" <[EMAIL PROTECTED]> Sent: Thursday, A

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

2001-08-30 Thread Dain Sundstrom
1.3 +++ JDBCEJBQLFinderCommand.java 2001/08/30 23:32:54 1.4 @@ -27,7 +27,7 @@ * clause. This code has been cleaned up to improve readability. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */

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

2001-08-30 Thread Dain Sundstrom
50:33 1.4 +++ JDBCTypeMappingMetaData.java 2001/08/30 23:32:54 1.5 @@ -18,7 +18,7 @@ * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author Sebastien Alborini - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ publi

Re: [JBoss-dev] EJB 2.0 CMP

2001-08-30 Thread Dain Sundstrom
Dave, > After reviewing these comments I think we are making this way more > complicated than it has to be. As far as I am concerned we should only > need the relationship stuff in jbosscmp-jdbc.xml for relationships that > use a relation table (ex. self relation employee/manager, just to > contr

Re: [JBoss-dev] EJB 2.0 CMP

2001-08-30 Thread Dain Sundstrom
Dave, Ok, I see the misunderstanding now. I thought you were talking about the jbosscmp-jdbc.xml file and you were talking about the ejb-jar.xml file. You are correct in that a single relation can only have one cmr field on each side of the relationship. From my perspective these are object lay

Re: [JBoss-dev] rabbit hole alpha

2001-08-30 Thread Dain Sundstrom
latform for > deployment... If that means enduring some breakage between now and then, > I'll just start banging against it. > > What's the best way to grab it? CVS? Is there a zip or tarball somewhere? > > > From: "Dain Sundstrom" <[EMAIL PROTECTED]>

Re: [JBoss-dev] EJB 2.0 CMP

2001-08-29 Thread Dain Sundstrom
> I am playing with the current sources and testing a 1 to many > relationship. I have the following two tables > > order with pk: int objectid ok > and > orderdetail > pk: int order_oid,int line_num Does order detail have a compund key using both order_oid and line_num? > The link.. > order_

Re: [JBoss-dev] rabbit hole alpha

2001-08-29 Thread Dain Sundstrom
Hunter, I don't know about Marc's code but it sounds like his new stuff is working. As for the CMP 2.0 code, I think it is in need of some more new users. I have unit tested the cmp code, ant think it is solid. I do know there are many undiscovered bugs, so I think it depends on how risk adverse

RE: [JBoss-dev] SQL reserved words

2001-08-27 Thread Dain Sundstrom
; Hi Dain, > > Why not use a sequential alias with no meaning, and let the user > specify a single global unique postfix in a config file if necessary > (e.g. "t1", "t2", "t3", and the user can make this "t1_myunique", > "t2_myunique&qu

Re: [JBoss-dev] SQL reserved words

2001-08-26 Thread Dain Sundstrom
me anyway, so you don't really need to worry about keeping track > of them... the db will complain. > > If you do want to keep track of reserved words, there is a database > metadata method getSQLKeywords that might be helpful. > > david jencks > > On 2001.08.26 17:52:35 -040

[JBoss-dev] SQL reserved words

2001-08-26 Thread Dain Sundstrom
Hi all, I have been thinking over the issue of generation of table aliases in EJB-QL queries, and have run into some problems. What I want to do is prevent the EQL-QL assembler from generating table aliases that have been already used, that are reserved words, or are a db object name (i.e., a ta

[JBoss-dev] ejbSelect done

2001-08-26 Thread Dain Sundstrom
I just checked in support for ejbSelect statements. Here is a list of the tasks left to complete before we will have support for full CMP 2.0. 1. (Dain) Fix the table alias generation code in EJB-QL assembler. I am going to add a reserved word list to the cmp engine. This will be datasource spe

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

2001-08-26 Thread Dain Sundstrom
has been cleaned up to improve readability. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class JDBCEJBQLFinderCommand extends JDBCFinderCommand { @@ -64,6 +65,19 @@ // set

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

2001-08-26 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class EntityBridgeInvocationHandler implements InvocationHandler { + protected EntityContainer container; p

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

2001-08-26 Thread Dain Sundstrom
1.2 +++ JDBCAutomaticQueryMetaData.java 2001/08/26 19:37:10 1.3 @@ -16,7 +16,7 @@ * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author Sebastien Alborini - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public fin

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

2001-08-26 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/26 12:37:10 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql EJBQLParser.java SQLTarget.java Log: Added ejbSelect query support. Revision ChangesPath 1.4 +22 -20 jboss/src/main/org/jboss/ejb/plugins/cmp

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

2001-08-26 Thread Dain Sundstrom
1.4 @@ -41,7 +41,7 @@ * One for each entity bean cmp field. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public abstra

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

2001-08-26 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/26 12:35:04 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCRemoveEntityCommand.java Log: Fixed NullPointerException when removing in a one-to-one relationship. Revision ChangesPath 1.4 +5 -3 jboss/src

Re: [JBoss-dev] (no subject)

2001-08-25 Thread Dain Sundstrom
Can we just construct the url by hand before it is loaded into the class loader? Here is the code for toURL() public URL toURL() throws MalformedURLException { String path = getAbsolutePath(); if (File.separatorChar != '/') { path = path.replace(File.separatorChar, '/'); }

Re: [JBoss-dev] Extra ;

2001-08-22 Thread Dain Sundstrom
HttpResponse $3);" > from an interface, the method was subsequently removed from that interface. > > > > But the ';' problem went away ... > > Jason Dillon wrote: > > I think it still fails to compile some org.jboss.web.* stuff properly. > > > >

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

2001-08-22 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/22 09:12:46 Modified:src/main/org/jboss/ejb/plugins/cmp/ejbql Parser.java Log: Removed double ';'to fix jikes compile error. Revision ChangesPath 1.3 +1 -1 jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java Index: Pars

Re: [JBoss-dev] Extra ;

2001-08-22 Thread Dain Sundstrom
Fixed, will commit change as soon as sourcefouge cvs is back on line. Does jikes work compile jboss server now? -dain - Original Message - From: "Dave Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 6:44 AM Subject: [JBoss-dev] Extra ; > Dain in serve

Re: [JBoss-dev] SQL function mapping

2001-08-22 Thread Dain Sundstrom
ay, 20. August 2001 19:20, Dain Sundstrom wrote: > > Thanks, checked it in. > > > > -dain > > > > > > > > It is simply two functions > > > > > > position(?2 in substring(?1 from ?3))+?3 > > > > > Sorry for complaining so late

Re: [JBoss-dev] jbossmq selector parser grammer source

2001-08-21 Thread Dain Sundstrom
What do you mean by selector parser? I could adapt the parser that is used for EJB-QL to parse. It is a generic non-deterministic recusive descent parser, so it is not fast for complicated grammers. This is only an issue if you want to parse on the fly. -dain - Original Message - From

Re: [JBoss-dev] ejbLoad() on a modified bean w/o ejbStore()

2001-08-20 Thread Dain Sundstrom
Jason, Are you using jaws or cmp? -dain - Original Message - From: "Jason Dillon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 20, 2001 5:38 PM Subject: Re: [JBoss-dev] ejbLoad() on a modified bean w/o ejbStore() > I just checked an the same behavior exists with th

Re: [JBoss-dev] SQL function mapping

2001-08-20 Thread Dain Sundstrom
Thanks, checked it in. -dain - Original Message - From: "Dave Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 20, 2001 6:49 AM Subject: Re: [JBoss-dev] SQL function mapping > > > Dain > > I added the function mapping code to the EJB-QL to SQL translation engine.

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

2001-08-20 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/20 10:19:40 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Added locate function mapping for PostgreSQL. Revision ChangesPath 1.5 +5 -1 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index: standardjbosscmp

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 (best name I can think of), with subsections for function mapping, type mappings, join style (maybe), and g

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 J

[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 jboss/src/main/org/jb

[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/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] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql EJBQLParser.java SQLTarget.java

2001-08-19 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/19 15:50:33 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql EJBQLParser.java SQLTarget.java Log: Added function mapping for EJB-QL. Revision ChangesPath 1.3 +12 -6 jboss/src/main/org/jboss/ejb/plugins

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author Sebastien

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

2001-08-18 Thread Dain Sundstrom
mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class JDBCEJBQLFinderCommand extends JDBCFinderCommand { @@ -40,14 +41,30 @@ JDBCQlQueryMetaData metadata = (JDBCQlQueryMe

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:

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

[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 mailto:[EMAIL PROTECTED]";>Dain S

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

2001-08-18 Thread Dain Sundstrom
x27;s ejb-relation elements. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public final class JDBCRelationshipRoleMetaData { /** @@ -84,7 +84,7 @@ f

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author Sebastien Alborini * @author mailto:[EMAIL P

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom - *

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom *

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

2001-08-18 Thread Dain Sundstrom
retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JDBCCommandFactory.java 2001/08/03 17:15:46 1.3 +++ JDBCCommandFactory.java 2001/08/18 16:00:53 1.4 @@ -43,7 +43,7 @@ * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author mailt

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ publ

[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 Terminal.jav

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

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

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

2001-08-18 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/18 08:51:15 Removed: src/main/org/jboss/ejb/plugins/cmp/ejbql EJBQLParser.java Log: moved to org.jboss.ejb.plugins.cmp.jdbc.ejbql ___ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.n

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

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 confu

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 (?1, ?2) or some thing simmilar.

Re: [JBoss-dev] JDBC SQL Extensions

2001-08-17 Thread Dain Sundstrom
acle's defense, 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 P

[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 concat('s

Re: [JBoss-dev] EJB-QL help

2001-08-17 Thread Dain Sundstrom
" ? > I know it is not part of the spec 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, 20

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

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 t

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 JC

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

2001-08-07 Thread Dain Sundstrom
list of things to > test so that we can have good regression tests in jbosstest so introduced > problems like this show up in the nightly build. > > Bill > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Dain >

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 tha

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 be

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql ApproximateNumericLiteral.java EJBQLNumberState.java EJBQLQuoteState.java EJBQLWordState.java ExactNumericLiteral.java StringLiteral.java SymbolState.java SymbolToken.java Token.java Tokenizer.java TokenizerState.java WhitespaceState.java WordToken.java

2001-08-06 Thread Dain Sundstrom
User: dsundstrom Date: 01/08/06 17:18:31 Added: src/main/org/jboss/ejb/plugins/cmp/ejbql ApproximateNumericLiteral.java EJBQLNumberState.java EJBQLQuoteState.java EJBQLWordState.java ExactNumericLiteral.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] 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.j

[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

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

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

RE: [JBoss-dev] The Remove Problem

2001-08-04 Thread Dain Sundstrom
it tomorrow. -dain > marcf > | > |-dain > | > |- 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 > | >

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 Seri

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: AB_OneToMany_Bi_FK A-has-B

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 wou

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class JDBCQueryMetaDataFactory { private JDBCEntityMetaData entity;

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

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

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

[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. This

[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/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 inst

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

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

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 {

Re: [JBoss-dev] jboss daily test results

2001-07-26 Thread Dain Sundstrom
> I just had a quick look - we would need to install the various java > versions, in our (test) user - they don't provide this. The SF people are very resonable and would most likely allow us to do this. Also, can't we just install the JVMs in the user's home directory. > Also, we would need to

[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

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

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

2001-07-25 Thread Dain Sundstrom
EMAIL PROTECTED]";>Dain Sundstrom - * @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/main/org/jboss/metadata RelationMetaData.java

2001-07-25 Thread Dain Sundstrom
--- RelationMetaData.java 2001/07/09 20:50:25 1.1 +++ RelationMetaData.java 2001/07/26 03:15:35 1.2 @@ -17,7 +17,7 @@ * file's relationships elements. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.1 $ + * @version $

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDestroyCommand.java JDBCFindByForeignKeyCommand.java JDBCFindEntitiesCommand.java JDBCInsertRelationsCommand.java JDBCLoadFieldCommand.java JDBCLoadRelationCommand.java JDBCStartCommand.java JDBCStoreManager.java JDBCTypeFactory.java

2001-07-25 Thread Dain Sundstrom
pTable(entityMetaData.getTableName()); // drop relation tables JDBCCMRFieldBridge[] cmrFields = entity.getJDBCCMRFields(); for(int i=0; imailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.1 $ + * @versi

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

2001-07-25 Thread Dain Sundstrom
retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JDBCDeleteRelationsCommand.java 2001/07/09 23:55:32 1.1 +++ JDBCDeleteRelationsCommand.java 2001/07/26 03:04:47 1.2 @@ -15,7 +15,7 @@ * Deletes relations from a relation table. * * @author mailto:[EMAIL PROTECTED]";

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */

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

2001-07-25 Thread Dain Sundstrom
--- JDBCAbstractCMPFieldBridge.java 2001/07/09 23:53:57 1.1 +++ JDBCAbstractCMPFieldBridge.java 2001/07/26 02:53:22 1.2 @@ -41,7 +41,7 @@ * One for each entity bean cmp field. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - *

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

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

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

2001-07-25 Thread Dain Sundstrom
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData; import org.jboss.logging.Log; import org.jboss.security.SecurityAssociation; @@ -43,7 +44,7 @@ * One for each role that entity has. * * @author mailto:[EMAIL PROTECTED]";>Dain S

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

2001-07-25 Thread Dain Sundstrom
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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom *@author Sebastien Alborini *@version $Revision: 1.1 $ */

[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 mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @vers

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

[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

Re: [JBoss-dev] ditch entity locking in favor of

2001-07-24 Thread Dain Sundstrom
AFAIK, file locks are new to JDK 1.4 and the behivor can vary slightly on different platforms. As I understand it, select for update is used to get an exclusive lock on the data selected for the term of the transaction. This behivor is not always desireable. There are certain application that do

RE: [JBoss-dev] Status of JBoss and EJB 2.0 deatures

2001-07-20 Thread Dain Sundstrom
Matt, I committed the CMR field code but I am still working on the config code for the fields. I hope to finish the config code this weekend, and start on EJB-QL next week. -dain > -Original Message- > From: Matt Veitas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 19, 2001 6:24 PM

<    5   6   7   8   9   10   11   >