[JBoss-dev] XDoclet and C# style metadata

2002-05-17 Thread Dain Sundstrom
I was just thinking how cool it would be to generically associate xml with a method declaration. Back story: I am working on unit test cases for JBossCMP using JUnitEJB and it would be really useful to mark a test method with a tx attribute. Now this test code is not an EJB or an XMBean, so

Re: [JBoss-dev] Where is the empty datasource-mapping element coming from?

2002-05-16 Thread Dain Sundstrom
-existent element previously. > > - Original Message - > From: "Dain Sundstrom" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 16, 2002 8:39 PM > Subject: Re: [JBoss-dev] Where is the empty datasource-mapping element > coming from? &

Re: [JBoss-dev] Where is the empty datasource-mapping element coming from?

2002-05-16 Thread Dain Sundstrom
Can you be more specific about this change? It may cause problems with my metadata code. I'll fix any problems in the cmp metadata code, but I need to know what you changed. -dain Scott M Stark wrote: > There was a change in behvior in the xml element value parser layer such > that element

Re: [JBoss-dev] Mckoi SQL

2002-05-16 Thread Dain Sundstrom
I was thinking about more options not an advantage. -dain David Jencks wrote: > It also only supports serializable tx isolation, probably meaning that tx > are in fact serialized. > > What would the advantage over hsqldb be? > > david jencks > > On 2002.05.16 10:51

Re: [JBoss-dev] Mckoi SQL

2002-05-16 Thread Dain Sundstrom
David Good posted a mapping for JBossCMP about an hour ago. I looked at their site about a month ago and it looks promising. I think the is a new db (not hypersonic based). It is embedable, but it is GPL. I don't think we can embed a GPL application. Anyone? -dain Scott M Stark wrote: >

Re: [JBoss-dev] DTDs

2002-05-14 Thread Dain Sundstrom
ation, but that is for another day. -dain Jason Dillon wrote: > Sure, if you have time. > > --jason > > > Quoting Dain Sundstrom <[EMAIL PROTECTED]>: > > >>I added commands to the main build file to copy all of the DTD from >>server and jmx mod

[JBoss-dev] DTDs

2002-05-14 Thread Dain Sundstrom
I added commands to the main build file to copy all of the DTD from server and jmx modules to a new dtd directory in the distribution. Should I copy DTDs from other modules? -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC x

Re: [JBoss-dev] Fwd: Bug when converting EJB QL boolean comparisons from true and false to 1 and 0

2002-05-13 Thread Dain Sundstrom
erRef.java:241) > at sun.rmi.transport.Transport$1.run(Transport.java:152) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:148) > at > sun.rmi.transpor

[JBoss-dev] Re: [JBoss-user] Re:Your chance to work on JBoss

2002-05-13 Thread Dain Sundstrom
for > JBoss or aren't essential) > - made it available for JBoss 3.1 release > > Andy > Good plan, KISS. -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC x ___

Re: [JBoss-user] RE: [JBoss-dev] Your chance to work on JBoss

2002-05-13 Thread Dain Sundstrom
more than one table, etc.) It will give me and anyone else interested a kick in the butt to get these features. -dain -- x Dain Sundstrom Chief Architect, JBossCMP JBoss Group, LLC x __

Re: [JBoss-dev] getContextClassLoader() vs. Class.forName(x,y,z)

2002-05-02 Thread Dain Sundstrom
In org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaDataFactory I have a method (convertToJavaClass) that does the name to array class conversion. Here is the core: int arraySize = 0; while(name.endsWith("[]")) { name = name.substring(0, name.length()-2); arraySize++; } try {

Re: [JBoss-dev] CMP2.0 test case coverage

2002-04-29 Thread Dain Sundstrom
Stephen Coy wrote: > I'm willing to tackle this. Do you have any idea what shape you would > like? Not sure what that means. > Particular areas to cover? To start the I'd just like to see the CMP 1.1 tests running under JBossCMP and JAWS in the unit test suite. Then it would be cool to h

Re: [JBoss-dev] why storeEntity on a NOT_SUPPORTED method?

2002-04-29 Thread Dain Sundstrom
JAWS or JBossCMP? JBossCMP must have a transaction. -dain Bill Burke wrote: > Why are we storing a dirty entity when the method call is not called within > the context of a transaction (NOT_SUPPORTED, NEVER, etc...)? Seems kind of > bizarre. > > Bill > > > _

Re: [JBoss-dev] CMP2.0 test case coverage

2002-04-29 Thread Dain Sundstrom
Yep the main test only use JAWS. I think david was looking at getting these tests to use JAWS and JBossCMP, but I think he got to busy. Do you want to try to get them running under JAWS and JBossCMP? -dain Stephen Coy wrote: > Hi, > > By looking for usage of jaws.xml files, I think I've un

Re: [JBoss-dev] [JL] Is it time for a new enterprise solution?

2002-04-26 Thread Dain Sundstrom
I totally agree with this. One of the ideas I have been kicking around is developing some production tools, which would automate the steps you describe. Part of this is david's code to merge the xml files during deployment; once they are merged and defaults unrolled, we write the complete fi

[JBoss-dev] Re: STILL TRYING: [JBoss-user] CMP: Iterate Collection Performance Killer

2002-04-24 Thread Dain Sundstrom
Frank Morton wrote: > I'm also converting my beans to 2.0, so don't expect to > be using JAWS. I could use a sample jbosscmp-jdbc.xml > that you know is right as a sample. Don't have one, other then the ones in the testsuite. I'm still working on the updated docs, and haven't gotten to the sam

Re: [JBoss-dev] IIOP barfs on linux

2002-04-23 Thread Dain Sundstrom
are of that? > > marcf > > |-Original Message- > |From: [EMAIL PROTECTED] > |[mailto:[EMAIL PROTECTED]]On Behalf Of Dain > |Sundstrom > |Sent: Tuesday, April 23, 2002 3:29 PM > |To: [EMAIL PROTECTED] > |Subject: Re: [JBoss-dev] IIOP barfs on linux > | > | >

Re: [JBoss-dev] IIOP barfs on linux

2002-04-23 Thread Dain Sundstrom
Are you using the newest version of 1.3.1 from SUN? If not, you need to upgrade. If you are using 1.4, just ignore me. Also I thought the jacob.properties was just a warning. -dain marc fleury wrote: > he... > > did rm on the old stuff > then a CLEAN CO > then build (builds fine btw) > the

Re: [JBoss-dev] DTDs in binary downloads

2002-04-23 Thread Dain Sundstrom
he build system to release them under build/output/jboss-*/etc/dtd > or something. > > --jason > > > Quoting Dain Sundstrom <[EMAIL PROTECTED]>: > > >>Yes I know they are in the jar. I mean we should include a copy in >>loose form. It is very useful

Re: [JBoss-dev] jboss-all build fails

2002-04-23 Thread Dain Sundstrom
I had the same problem with JDK 1.3. If you upgrade to the newest release of 1.3.1 it goes away. -dain Filip Hanik wrote: > is there anything specific we need to know about building the sources. I > went through the documentation, but it says that everything should build > fine. > > D:\Devel

Re: [JBoss-dev] DTDs in binary downloads

2002-04-23 Thread Dain Sundstrom
tadata/jboss_3_0.dtd > org/jboss/metadata/jaws_2_4.dtd > > > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxx > - Original Message - > From: "Dain Sundstrom" <[EMAIL PROTECTED]> > To:

[JBoss-dev] DTDs in binary downloads

2002-04-23 Thread Dain Sundstrom
Can we include the DTDs for a release in the binary download? I keep geting messages asking for the location of the DTDs. -dain ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

Re: [JBoss-dev] jdk1.4 sql changes problems with jca wrappers

2002-04-21 Thread Dain Sundstrom
Is JDBC 3.0 a JDK 1.4 only feature? Is there going to be an optional pack for 1.3 users? If not, that really sucks. If you want the new drivers, you have to upgrade to a x.0 version VM. Sounds like a M$ move. BTW, I searched google and couldn't find any info either way. -dain David Jencks

Re: [JBoss-dev] is 1.2.2 support dead?

2002-04-21 Thread Dain Sundstrom
We can't compile against 1.2.2 either. I tried it last week. -dain marc fleury wrote: > yes > > marcf > > |-Original Message- > |From: [EMAIL PROTECTED] > |[mailto:[EMAIL PROTECTED]]On Behalf Of Bill > |Burke > |Sent: Saturday, April 20, 2002 11:54 PM > |To: Jboss-Dev > |Subject: [JB

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

2002-04-19 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/19 08:27:15 Modified:src/etc/conf/default Tag: Branch_3_0 standardjbosscmp-jdbc.xml Log: Changed oracle max-alias-length to 30. Revision ChangesPath No revision No revision

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

2002-04-19 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/19 08:25:08 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Changed oracle max-alias-length to 30. Revision ChangesPath 1.25 +4 -4 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index: standardjbosscmp-jdbc.x

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

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:55:52 Modified:src/resources/org/jboss/metadata Tag: Branch_3_0 jbosscmp-jdbc_3_0.dtd Log: Added missing other element to declared-sql. Revision ChangesPath No revision No

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

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:51:53 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: Added missing other element to declared-sql. Revision ChangesPath 1.16 +8 -1 jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0.dtd Index: j

Re: [JBoss-dev] RC1 release branch occuring at 00:00

2002-04-18 Thread Dain Sundstrom
David Jencks wrote: > cvs update -j HEAD If you do this: cvs update -kk -j HEAD The merge will work better, because it kills keyword expansion. Note, don't do this on a binary file, as binary files need -kb and -kk turns -kb off. -dain ___

[JBoss-dev] CVS update: contrib/varia/src/main/org/jboss/varia/autonumber AutoNumberEJB2.java

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:40:07 Modified:varia/src/main/org/jboss/varia/autonumber Tag: Branch_3_0 AutoNumberEJB2.java Log: Fixed bug [ 543253 ] AutoNumberEJB2 ejbCreate init problem. Revision ChangesPath No revision

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

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:22:37 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Fixed bug [ 543255 ] SOLID DB and CONSTRAINT Solid DB doesn't use constraint name. Revision ChangesPath 1.24 +2 -2 jboss/src/etc/conf/default/standardjbos

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

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:31:15 Modified:src/etc/conf/default Tag: Branch_3_0 standardjbosscmp-jdbc.xml Log: Fixed bug [ 543255 ] SOLID DB and CONSTRAINT Solid DB doesn't use constraint name. Revision ChangesPath No

[JBoss-dev] CVS update: contrib/varia/src/main/org/jboss/varia/autonumber AutoNumberEJB2.java

2002-04-18 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/18 12:38:12 Modified:varia/src/main/org/jboss/varia/autonumber AutoNumberEJB2.java Log: Fixed bug [ 543253 ] AutoNumberEJB2 ejbCreate init problem Revision ChangesPath 1.3 +2 -1 contrib/varia/src/main/org/j

[JBoss-dev] JBoss on Zaurus

2002-04-17 Thread Dain Sundstrom
Over the last couple of weeks I have looked at getting JBoss running on the Zaurus. The problem with the Zaurus is it ships with Personal Java, which is basically JDK 1.2 minus a whole bunch of stuff, and JBoss no longer builds with JDK 1.2. Anyway, we run on Blackdown, and Blackdown should r

Re: [JBoss-dev] Reason for castor?

2002-04-17 Thread Dain Sundstrom
We should create an optional services directory in the download that could contain Castor, Tyrex, maybe Tomcat (then we get rid of the multiple download packages). -dain David Jencks wrote: > On 2002.04.17 12:11:35 -0400 Dain Sundstrom wrote: > >>Is there a reason why we s

Re: [JBoss-dev] Compile problem with iiop

2002-04-16 Thread Dain Sundstrom
I just fixed this on my windows box by installing the latest version of the JDK 1.3.1_03. -dain Vesco Claudio wrote: > Hi! > > If I remember well, this is a problem with rmic but I have encontered this > problem in WindowsNT sun jdk 1.3. > > You have said that you are in linux and linux are

Re: [JBoss-dev] Are we logging the exception enough!!!

2002-04-16 Thread Dain Sundstrom
Here is the strategy I follow in JBossCMP: Low-level non recoverable exceptions (SQLException, IOException...) are wrapped in an EJBException. (Not RemoteException or ServerException as is required by the spec). When catching an Exception, first check for EJBException, and just rethrow. (avo

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
dding an optional element to jbosscmp-jdbc.xml would certainly >>> resolve my problem in a platform independent way. >>> >>> BTW. I don't think that using: >>> myschema.mytable >>> will work in the current implementation anyway, because the ta

[JBoss-dev] RC1 release question

2002-04-15 Thread Dain Sundstrom
Are we going to release Jetty and Tomcat integrated packages, or does the package already contain an integrated stack? Did we branch or just tag? I don't really understand CVS branches (I have a book on it, just haven't read it yet). Do I need to check fixes into the branch and head? -dain

[JBoss-dev] ObjectWeb has released JMS Testsuite

2002-04-15 Thread Dain Sundstrom
From theserverside.com: ObjectWeb has released a test suite for JMS features under LGPL. This suite tests JMS features; its code base is pure JMS without dependency from any vendor and provides a simple framework to be used by any JMS providers. http://www.objectweb.org/joram/tests I don't

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
uld have to support Yet Another > Feature. IMHO it's the same to write: > > myschema > mytable > > than > > myschema.mytable > > Do other environments support this? This should be a common problem. As > far as I remember Delphi left you alone on this one. >

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
me, not a qualified tablename. I would expect that > most RDBMS products, open or closed source, use this convention of "." > delimiting tokens in table and column names. > > Cheers > > >>From: Dain Sundstrom <[EMAIL PROTECTED]> >>Date: 2002/04/15 Mo

Re: [JBoss-dev] Problem in JDBCStartCommand.java

2002-04-15 Thread Dain Sundstrom
JL@esial wrote: > Hello, > > I am using JBoss 3.0.0beta2(200204150942) on Win2k SP2. > The function tableExists in this class makes the following jdbc call: > rs = dmd.getTables(con.getCatalog(), null, tableName, null); > > I am using DB2 as dbms, and this piece of code will not work if > tab

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

2002-04-14 Thread Dain Sundstrom
- 1.12 +++ JDBCCMP1xFieldBridge.java 15 Apr 2002 03:25:49 - 1.13 @@ -35,7 +35,7 @@ * One for each entity bean cmp field. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.12 $ + * @version $Revisi

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

2002-04-14 Thread Dain Sundstrom
]";>Dain Sundstrom - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class Catalog { - private final Map entityBridges = new HashMap(); + private final Map entityByAbstractSchemaName = new HashMap(); + private final Map entityB

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

2002-04-14 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/14 19:43:00 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDeclaredSQLQuery.java Log: Fixed declared-sql. Revision ChangesPath 1.7 +12 -34 jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCDeclaredSQLQu

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/ejbql ASTValueClassComparison.java BasicVisitor.java JBossQLParser.jjt

2002-04-14 Thread Dain Sundstrom
translate just a few elements of the tree. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class BasicVisitor implements JBossQLParserVisitor { public Object visit(Si

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

2002-04-14 Thread Dain Sundstrom
JBossQL into SQL. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class JDBCEJBQLCompiler extends BasicVisitor { @@ -305,7 +306,7 @@ } // verify that parameter is the same typ

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

2002-04-14 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/14 10:35:31 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Added mappings for LCase and UCase functions. Revision ChangesPath 1.23 +65 -1 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index: standardjbosscmp

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

2002-04-14 Thread Dain Sundstrom
; /** * This abstract syntax node represents a LCase function. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revision: 1.1 $ */ public class ASTLCase extends SimpleNode { public ASTLCase(int id) {

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

2002-04-14 Thread Dain Sundstrom
; @@ -84,7 +86,7 @@ * Compiles EJB-QL and JBossQL into SQL. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public class JDBCEJBQLCompiler extends BasicVisitor { @@ -1027,6 +1029,36 @@

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

2002-04-14 Thread Dain Sundstrom
revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- JDBCTypeMappingMetaData.java 27 Feb 2002 00:05:41 - 1.11 +++ JDBCTypeMappingMetaData.java 14 Apr 2002 17:28:56 - 1.12 @@ -17,7 +17,7 @@ * * @author mailto:[EMAIL PROTECTED]";>Dain S

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

2002-04-14 Thread Dain Sundstrom
-r1.2 --- BasicVisitor.java 26 Feb 2002 23:16:40 - 1.1 +++ BasicVisitor.java 14 Apr 2002 17:28:55 - 1.2 @@ -13,7 +13,7 @@ * extensions translate just a few elements of the tree. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revis

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

2002-04-14 Thread Dain Sundstrom
Feb 2002 23:16:40 - 1.1 +++ JBossQLParser.jjt 14 Apr 2002 16:26:24 - 1.2 @@ -46,7 +46,7 @@ * This class parses JBossQL into an abstract syntax tree. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.1 $ + * @version $Revis

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

2002-04-14 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/14 08:53:03 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Added Oracle9i type mapping. Revision ChangesPath 1.22 +138 -7jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml Index: standardjbosscmp-jdbc.xml =

[JBoss-dev] Re: Is jboss 3 readonly behavior really what we want now?

2002-04-14 Thread Dain Sundstrom
I think the problem is that Bill's view of read-only is that the method does not change any state information (more of a pure-functional method), and when I am talking about read-only I mean read only fields. I could notify the container/ interceptor which methods are read-only. The problem wi

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

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 19:26:39 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCQueryManager.java Log: Forgot to set the method variable... Revision ChangesPath 1.7 +2 -2 jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBC

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

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 18:56:10 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCQueryManager.java Log: Fixed complaint (bug) [ 541870 ] Exception Cleanup (findByPrimaryKey). Now reports method name and parameter type. Revision Changes

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

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 18:12:16 Modified:src/etc/conf/default standardjboss.xml Log: Added new EntityCreationInterceptor. Revision ChangesPath 1.37 +12 -1 jboss/src/etc/conf/default/standardjboss.xml Index: standardjboss.xml =

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

2002-04-13 Thread Dain Sundstrom
borini * @author mailto:[EMAIL PROTECTED]";>Daniel OConnor -* @author Bill Burke +* @author mailto:[EMAIL PROTECTED]";>Bill Burke * @author mailto:[EMAIL PROTECTED]";>Andreas Schaefer -* @version $Revision: 1.76 $ +* @author mailto:[EMAIL PROTECT

[JBoss-dev] CVS update: jbosscx/src/main/org/jboss/resource/connectionmanager CachedConnectionInterceptor.java

2002-04-13 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/13 18:11:05 Modified:src/main/org/jboss/resource/connectionmanager CachedConnectionInterceptor.java Log: Added postCreateEntity pass through method. Revision ChangesPath 1.4 +10 -0 jbosscx/src/main/org/jboss

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

2002-04-13 Thread Dain Sundstrom
tion class. * -* @see * @author mailto:[EMAIL PROTECTED]";>Rickard Öberg * @author mailto:[EMAIL PROTECTED]";>Marc Fleury * @author mailto:[EMAIL PROTECTED]";>Andreas Schaefer -* @version $Revision: 1.39 $ +* @author mailto:[EMAIL PROTECTED]";>Dai

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

2002-04-13 Thread Dain Sundstrom
rd Öberg - * @version $Revision: 1.13 $ + * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom + * @version $Revision: 1.14 $ */ -public interface EntityPersistenceManager - extends ContainerPlugin//, StatisticsProvider +public interface EntityPersistenceManager extends

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

2002-04-13 Thread Dain Sundstrom
PostCreate. The ejbCreate * method is passed over the invokeHome chain, and ejbPostCreate is * passed over the invoke chain. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revision: 1.1 $ */ public class EntityCreationInterceptor extends A

[JBoss-dev] Re: INSERTING AN ALREADY EXISTING BEAN

2002-04-13 Thread Dain Sundstrom
invocation for the ejbCreate and a regular > invocation for the ejbPostCreate? > > >>-Original Message- >>From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] >>Sent: Saturday, April 13, 2002 4:52 PM >>To: JBoss-dev; marc fleury; Bill Burke >>Subject: IN

[JBoss-dev] INSERTING AN ALREADY EXISTING BEAN

2002-04-13 Thread Dain Sundstrom
I have found another way to get the INSERTING AN ALREADY EXISTING BEAN bug to appear. The following code you would add to LineItem (in an Order-LineItem relationship): public String ejbCreate(Long id, Order order) { setId(id); return null; } public void ejbPostCreate

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

2002-04-12 Thread Dain Sundstrom
]";>Dain Sundstrom * @author mailto:[EMAIL PROTECTED]";>Rickard Öberg * @author mailto:[EMAIL PROTECTED]";>Justin Forder - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ */ public class JDBCStopCommand { @@ -116,7 +116,9 @@

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

2002-04-12 Thread Dain Sundstrom
org.jboss.ejb.Container; +import org.jboss.ejb.EjbModule; import org.jboss.ejb.EntityContainer; import org.jboss.ejb.EntityPersistenceStore; import org.jboss.ejb.EntityEnterpriseContext; @@ -60,7 +61,7 @@ * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom

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

2002-04-12 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/12 18:40:31 Modified:src/main/org/jboss/ejb EjbModule.java Log: Moved static application data map to an instance variable to in EjbModule. Should reduce memory leak. Revision ChangesPath 1.18 +27 -1 jboss/src/main/org/jboss/ejb/

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

2002-04-12 Thread Dain Sundstrom
21:36:27 - 1.10 +++ SQLUtil.java 13 Apr 2002 01:26:58 - 1.11 @@ -27,7 +27,7 @@ * SQLUtil helps with building sql statements. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */

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

2002-04-12 Thread Dain Sundstrom
@@ -6,6 +6,7 @@ > */ >package org.jboss.ejb.plugins.cmp.jdbc.bridge; > > +import java.lang.ref.WeakReference; >import java.lang.reflect.Method; >import javax.sql.DataSource; >import java.sql.PreparedStatement; > @@ -56,7 +57,7 @@ >

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

2002-04-12 Thread Dain Sundstrom
LUtil.java Index: SQLUtil.java === RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/SQLUtil.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- SQLUtil.java 12 Apr 20

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

2002-04-12 Thread Dain Sundstrom
r1.11 > --- JDBCRelationInterceptor.java27 Dec 2001 17:32:25 - 1.10 > +++ JDBCRelationInterceptor.java12 Apr 2002 19:30:44 - 1.11 > @@ -26,7 +26,7 @@ > * relationship. This interceptor also manages the relation table data. > * > * @aut

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

2002-04-12 Thread Dain Sundstrom
action.Status; +import javax.transaction.Transaction; +import javax.transaction.TransactionManager; import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge; import org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge; @@ -29,7 +32,7 @@ * @author mailto:[EMAIL PROTECTED]";

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

2002-04-12 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/12 11:09:07 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java Log: Fixed bug identified in patch [ 533736 ] CMP 2 no start tx. The problem was with attempting to start a transaction if one already exist

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

2002-04-11 Thread Dain Sundstrom
@@ -56,7 +56,7 @@ * One for each role that entity has. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.28 $ + * @version $Revision: 1.29 $ */ public class JDBCCMRFieldBridge implements JDBCFie

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

2002-04-11 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/11 09:39:20 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCRemoveEntityCommand.java Log: Fixed bug [ 536502 ] CMR Cascade Delete Fails. This was due to createing the wrong pk class when loading a foreign key. Revis

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

2002-04-11 Thread Dain Sundstrom
--- JDBCAbstractCMPFieldBridge.java 26 Feb 2002 23:28:55 - 1.12 +++ JDBCAbstractCMPFieldBridge.java 11 Apr 2002 16:39:21 - 1.13 @@ -40,13 +40,19 @@ * One for each entity bean cmp field. * * @author mailto:[EMAIL PROTECTED]";>Dain S

Re: [JBoss-user] RE: Bomb the bug parade! was AW: [JBoss-dev] Thread deadlock in class loader

2002-04-11 Thread Dain Sundstrom
You may be coding VB, but I'll go get a job at McDonald's (maybe in Redmond... did you see Fight Club). -dain Eric Kaplan wrote: > guys. jboss is a central piece of our infrastructure, and we would like to > keep recommending it to customers. it might be prudent not to piss all over > sun in

[JBoss-dev] CVS update: jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDeclaredSQLQuery.java JDBCDeleteRelationsCommand.java JDBCEJBQLCompiler.java JDBCInsertRelationsCommand.java JDBCLoadRelationCommand.java JDBCStartCommand.java JDBCStopCommand.java SQLUtil.java

2002-04-10 Thread Dain Sundstrom
15 Jan 2002 22:18:36 - 1.8 +++ JDBCDeleteRelationsCommand.java 10 Apr 2002 15:18:43 - 1.9 @@ -22,7 +22,7 @@ * Deletes relations from a relation table. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ */ public cla

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

2002-04-10 Thread Dain Sundstrom
1.17 diff -u -r1.16 -r1.17 --- JDBCEntityMetaData.java 1 Feb 2002 01:39:30 - 1.16 +++ JDBCEntityMetaData.java 10 Apr 2002 15:18:45 - 1.17 @@ -29,7 +29,7 @@ * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author Sebastien Alborini * @autho

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

2002-04-10 Thread Dain Sundstrom
@@ * One for each role that entity has. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.26 $ + * @version $Revision: 1.27 $ */ public class JDBCCMRFieldBridge implements JDBCFieldBridge, CMRFie

Re: [JBoss-dev] So how big is the smallest MBeanServer I can run...

2002-04-10 Thread Dain Sundstrom
File size or memory foot print. marc fleury wrote: > > ___ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > ___ Jboss-development ma

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
Tom, The commit option code actually Bill's. I don't know if Bill will be able to look at this before the friday release, so Tom can you submit a patch? -dain tom yeh wrote: >>you can save a lot of loading time if you >>could check to see if the data stored in the >>EntityContext is still i

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

2002-04-09 Thread Dain Sundstrom
javax.ejb.FinderException; import javax.ejb.RemoveException; +import javax.transaction.Status; import javax.transaction.Synchronization; import javax.transaction.SystemException; import javax.transaction.Transaction; @@ -59,7 +60,7 @@ * * @author mailto:[EMAIL PROTECTED]";>Dain S

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

2002-04-09 Thread Dain Sundstrom
file's ejb-relation elements. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.15 $ + * @version $Revision: 1.16 $ */ public final class JDBCRelationshipRoleMetaData { /** @@ -305,7 +305,11 @@ Stri

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

2002-04-09 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/09 13:41:24 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCStartCommand.java Log: Fixed bug [ 530437 ] Intra-Bean Many to Many auto-gen broken. Revision ChangesPath 1.23 +5 -3 jboss/src/main/org/jboss/

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

2002-04-09 Thread Dain Sundstrom
+16,7 @@ * value object property. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public final class JDBCValuePropertyMetaData { private final String propertyName; @@ -64

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
I agree, but the problem is that there is very little we can reuse. We have to throw out all cached data, because we currently have no way to verify if it is still in sync with the database. -dain marc fleury wrote: > |Is this implies that there is no Option B in jboss 2.4.4 at all > |because

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

2002-04-09 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/09 08:43:27 Modified:src/etc/conf/default standardjbosscmp-jdbc.xml Log: Fixed bug [ 541507 ] Wrong PostgreSQL function mapping for locate. Revision ChangesPath 1.21 +2 -2 jboss/src/etc/conf/default/standardjbosscmp-jdbc.xml In

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

2002-04-09 Thread Dain Sundstrom
User: dsundstrom Date: 02/04/09 08:31:53 Modified:src/resources/org/jboss/metadata jbosscmp-jdbc_3_0.dtd Log: time-out should have been read-time-out. Other minor changes. Revision ChangesPath 1.15 +11 -10jboss/src/resources/org/jboss/metadata/jbosscmp-jdbc_3_0

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
ctional > method calls. > > >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED]]On Behalf >>Of Dain Sundstrom >>Sent: Tuesday, April 09, 2002 10:16 AM >>To: Bill Burke >>Cc:

Re: [JBoss-dev] RE: Bug in EntityMultiInstanceSynchronizationInterceptor.java ?

2002-04-09 Thread Dain Sundstrom
I agree. Commit option B assumes that you can "synchronize the instance¡¦s state from the persistent storage at the beginning of the next transaction." We simply don't have any method to to that in 2.4.4 or the current 3.0 code, other then reload all the data. The optimistic locking code that I

[JBoss-dev] JavaOne slides on line

2002-04-06 Thread Dain Sundstrom
If you didn't pop for the $3k, or you spend 2 days with us the JavaOne slides are on line. The EJB 2.1 slides are interesting http://servlet.java.sun.com/javaone/resources/content/sf2002/conf/sessions/pdfs/1653.pdf The define web services only for stateless-session beans. I think this is bec

[JBoss-dev] Lutris Leaves AppServer Market

2002-04-06 Thread Dain Sundstrom
Lutris has announced that they are no longer selling app servers. My favorite quote in the email from [EMAIL PROTECTED]: I encourage anyone looking for an open source J2EE application server to get JBOSS. We rock. -dain ___ Jboss-development mail

Re: [JBoss-dev] JRockit now free

2002-04-06 Thread Dain Sundstrom
of testing, benchmarking and production evaluation. Does anyone else find the first claim completely unethical? I think everyone should go to theserverside and tell BEA what they really think. -dain Dain Sundstrom wrote: > BEA has announced that JRockit 3.1 JVM will be free. We should ge

[JBoss-dev] JRockit now free

2002-04-06 Thread Dain Sundstrom
BEA has announced that JRockit 3.1 JVM will be free. We should get a copy to test on. They did not say that all future versions will be free, and they definitely did not say that it would be open source. Also they have a very weird license system. You need an account, and they claim you need

Re: [JBoss-dev] org.jboss.proxy.compiler.Proxy + Serializable + Replacable

2002-04-05 Thread Dain Sundstrom
Francisco Reverbel wrote: > On Thu, 4 Apr 2002, Jason Dillon wrote: > > >>Any reason why Proxy.newProxyInstance() adds Serializable & Replacable >>to proxy instances? I am guessing there is a reason, but it is not >>documented anywhere. >> > > This proxy compiler is (was?) used to generate

Re: [JBoss-dev] ResultSet read order

2002-04-05 Thread Dain Sundstrom
In JBossCMP I only ready each column once left-to-right. If I remember correctly, the JAWS read ahead code reads the pk columns twice. It should be easy to fix. -dain Scott M Stark wrote: > There are 3 bugs/patches related to the MSSQL driver requirement that > the result set columns be rea

Re: [JBoss-dev] Todo: multiple instances detection

2002-04-03 Thread Dain Sundstrom
Marc, I was talking about this last week. The problem with this suggestion is it does not address other ports such as http, http-jmx management. My ideas was to have a port config file that listed each named port for a server, and then each mbean that used a port would look in this file (or

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