RE: [JBoss-dev] 2.0 jar Really Likes DefaultDS?

2001-11-20 Thread Dain Sundstrom
>>> > >>>I've seen the same thing with mySQL today (it did work with the CVS > >>>sources > >>>from about 3 weeks ago). > >>> > >>>After having a closer look at the list of registered MBeans > >>>(localhost:8082)

RE: [JBoss-dev] 1 to Many Relations

2001-11-20 Thread Dain Sundstrom
> Uncle. It seems that JBOSS is designed assuming that it has > full control of creating tables. This isn't really true. JBossCMP makes the assumption that if the table structure is not specified the Application Deployer does not care what the structure is, as long as it runs. I strongly reco

RE: [JBoss-dev] RE: Test cases

2001-11-20 Thread Dain Sundstrom
ay to integrate this into the build process. This is why I waited so long to add my tests. -dain > -Original Message- > From: Jason Dillon [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 20, 2001 12:04 AM > To: David Jencks > Cc: Dain Sundstrom; jboss-dev > Subject: R

RE: [JBoss-dev] 1 to Many Relations

2001-11-19 Thread Dain Sundstrom
> >> > >>If I use the jbosscmp-jdbc.xml file I can get it to work. > >> > > > > Do you have to use the jbosscmp-jdbc.xml file? If you > don't, what happens? > > Does the system generate two columns with the same name? > > > > The database table already exsists. Basically I have to use > for

RE: [JBoss-dev] 2.0 jar Really Likes DefaultDS?

2001-11-19 Thread Dain Sundstrom
sure with 2.0 but check jaws.xml file therefore > > you should have the datasource specified. > > > > Andy > > > > - Original Message - > > From: "Hunter Hillegas" <[EMAIL PROTECTED]> > > To: "Dain Sundstrom" <[EMAIL PROT

[JBoss-dev] RE: Test cases

2001-11-19 Thread Dain Sundstrom
> > The other issue I have is my tests use a, yet to be > completed, extension > > to > > JUnit which runs the tests on the serverside (I wrote > this). This is > > required for testing local interfaces which by definition are not > > accessible > > remotely. Anyway, how do I go about adding t

RE: [JBoss-dev] 2.0 jar Really Likes DefaultDS?

2001-11-19 Thread Dain Sundstrom
[EMAIL PROTECTED]] > Sent: Monday, November 19, 2001 3:50 PM > To: Dain Sundstrom; JBoss Dev > Subject: Re: [JBoss-dev] 2.0 jar Really Likes DefaultDS? > > > I haven't dug around in the source yet. If you can give me a > pointer where > to look, I'll check it out..

RE: [JBoss-dev] 2.0 jar Really Likes DefaultDS?

2001-11-19 Thread Dain Sundstrom
Looks right to me. Did you try tracking this down in the source? I'll look at it later but I'm a little busy right now. -dain > -Original Message- > From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 19, 2001 1:48 PM > To: JBoss Dev > Subject: [JBoss-dev] 2.0 jar

[JBoss-dev] Test cases

2001-11-19 Thread Dain Sundstrom
Comments below (changed subject to reflect new discussion thread) > Lets say you put it in .../test/cmp2/. > > Test cases go in .../test/cmp2/test. They should be named > *UnitTestCase.java or *StressTestCase.java. They should descend from > JBossTestCase. > > Typically you will have an applica

RE: [JBoss-dev] Extending CMP 2 to support CCI resource adapters

2001-11-19 Thread Dain Sundstrom
> > On 2001.11.19 12:28:58 -0500 Dain Sundstrom wrote: > > > > > > As if your life isn't hard enough...;-) > > > > :) > > > > > I'm going to start looking at extending the CMP 2 code to > > > work with CCI > > >

[JBoss-dev] RE: Is there a dtd for jbosscmp-jdbc.xml files?

2001-11-19 Thread Dain Sundstrom
Funny, that is on the todo list also. I have a fairly complete xml. Can we reverse generate a DTD? -dain > -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 19, 2001 11:05 AM > To: Dain Sundstrom; jboss-dev > Subject: Is

RE: [JBoss-dev] Extending CMP 2 to support CCI resource adapters

2001-11-19 Thread Dain Sundstrom
> > As if your life isn't hard enough...;-) :) > I'm going to start looking at extending the CMP 2 code to > work with CCI > resource adapters as well as jca-jdbc drivers. (the aim is to > use EJB 2 > with an object database, for which there is a CCI connector.) I have been thinking about a

RE: [JBoss-dev] 1 to Many Relations

2001-11-19 Thread Dain Sundstrom
> > Ok, you are not getting it. > > > > I am it's just that the moon is gone ;) > > > > Although JBossCMP does not generate the column names you > would like, the > > system still runs. Is that correct? (i.e., this is still > a suggestion) > > > > If I use the jbosscmp-jdbc.xml file I ca

RE: [JBoss-dev] 1 to Many Relations

2001-11-19 Thread Dain Sundstrom
Comments inline .. > > Dain Sundstrom wrote: > > >>Finally, we are on the same page ..not even a blue moon ... > >> > > > > About time :) > > > > > >>Yup this is a suggestion. I agree 100% we need to avoid using > >>jboss

RE: [JBoss-dev] 1 to Many Relations

2001-11-17 Thread Dain Sundstrom
> > Finally, we are on the same page ..not even a blue moon ... About time :) > Yup this is a suggestion. I agree 100% we need to avoid using > jbosscmp-jdbc.xml. > > > Ultimately at the database level for each table there has to > be a unique > column name(s) that acts as a foreign key

RE: [JBoss-dev] 1 to Many Relations

2001-11-16 Thread Dain Sundstrom
12:22 PM > To: Dain Sundstrom > Cc: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] 1 to Many Relations > > > When it tries to load the CDTrack relation it generates the following > sql statement .. > > select uuid from CDTrack where composer_composed_songs=? > >

RE: [JBoss-dev] 1 to Many Relations

2001-11-16 Thread Dain Sundstrom
> I'm using xdoclet to generate the ejb-jar.xml file. When you are > generating the accessor methods it automaticly assumes that > the accessor > name matches the database column name. So in your example by > default it > is looking for a database columns named composer and performer. > > Th

RE: [JBoss-dev] 1 to Many Relations

2001-11-16 Thread Dain Sundstrom
> Dain Sundstrom wrote: > > >>OK i'm playing with the latest RH CVS and testing out 1 to many > >>relations (bi directional). So .. > >> > >>Table1 { > >> primary_key int, > >>} > >> > >>TableMany { >

RE: LONG: RE: [JBoss-dev] can't build jboss from cvs

2001-11-15 Thread Dain Sundstrom
> this seems like a weird solution to me and sound to me like you are > trying to ignore these serious licensing issues. > > Dain Sundstrom wrote: > > >No wonder people bitch about Debian. > > > >I vote we forget the DEB and just build an RMP, which Debian > ca

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

2001-11-15 Thread Dain Sundstrom
. * + * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author mailto:[EMAIL PROTECTED]";>Rickard Öberg * @author mailto:[EMAIL PROTECTED]";>Justin Forder - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ -public class JDBCStopComman

RE: LONG: RE: [JBoss-dev] can't build jboss from cvs

2001-11-15 Thread Dain Sundstrom
No wonder people bitch about Debian. I vote we forget the DEB and just build an RMP, which Debian can install. -dain > -Original Message- > From: Adam Heath [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 6:20 PM > To: Jason Dillon > Cc: David Maplesden; JBoss Development

[JBoss-dev] Destroy not called

2001-11-15 Thread Dain Sundstrom
Destroy is not called on my persistence store anymore. Is destroy no longer supported? I don't use stop so I could move my code back into stop, but I can't speak for any other code. -dain ___ Jboss-development mailing list [EMAIL PROTECTED] https://lis

RE: [JBoss-dev] org.jboss.logging.Logger priority usage recommendations

2001-11-15 Thread Dain Sundstrom
Can you supply the quick 5 line example on properly creating loggers and logging a message. I have been having trouble changing the log levels for cmp. I tried and failed to turn only the CMP channel up to DEFAULT for the console appender for my testing, so I end up turning up the entire console

RE: [JBoss-dev] 1 to Many Relations

2001-11-15 Thread Dain Sundstrom
> > OK i'm playing with the latest RH CVS and testing out 1 to many > relations (bi directional). So .. > > Table1 { > primary_key int, > } > > TableMany { > primary_key int, > table1_key int, > } > > class Table1 { >int getPrimary_key() >Collection getTableMany(); > } > > cla

RE: [JBoss-dev] MBean init/start change broke CMR

2001-11-14 Thread Dain Sundstrom
(enum.hasNext()) { Container con = (Container)enum.next(); con.start(); } } This change would assume that you don't care if Conatiner has an init method. -dain > -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 5

RE: [JBoss-dev] MBean init/start change broke CMR

2001-11-14 Thread Dain Sundstrom
> -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 4:58 PM > To: Dain Sundstrom > Cc: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] MBean init/start change broke CMR > > > On 2001.11.14 17:11:52 -0500 D

RE: [JBoss-dev] MBean init/start change broke CMR

2001-11-14 Thread Dain Sundstrom
t we can't use a declared dependancy system, because the entity dependance information is in the ejb-jar.xml file. I could be easly wrong. -dain > -Original Message- > From: Bill Burke [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 4:56 PM > To: Dain

RE: [JBoss-dev] MBean init/start change broke CMR

2001-11-14 Thread Dain Sundstrom
ejb2.init(); ejb2.start(); ejb3.init(); ejb3.start(); ejb4.init(); ejb4.start(); -dain > -Original Message- > From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 4:12 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-dev] MBean init/start change

[JBoss-dev] MBean init/start change broke CMR

2001-11-14 Thread Dain Sundstrom
Hi all, I think that the merging of init and start has broken the CMR code. The CMR code depends on having a complete two-phase startup. In the phase 1 (init) all of the relation ships are connected, and in phase 2 (start) these relationships are used to create the entity tables with fks, relat

RE: [JBoss-dev] Invocation and MethodInvocation

2001-11-14 Thread Dain Sundstrom
This is great. This is what I wanted to do when I wrote my "message" passing hack. I think one problem is the current interceptors will be expecting a Method object, so when they are changed to handle an Invocation with out a Method object, I will definitely switch over. -dain > -Original

RE: [JBoss-dev] Separating JMX/EJB

2001-11-14 Thread Dain Sundstrom
I couldn't agree more. When I first started reading the code, It was hard to sperate the EJB sepecific stuff from the rest. I think this will help up out alot. -dain > -Original Message- > From: marc fleury [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 11:21 AM > To: J

RE: [JBoss-dev] CacheKey copy semantics and speed

2001-11-13 Thread Dain Sundstrom
One thing I have noticed it that the newbie programmers that are most likely to not implement equals and hashCode correctly, don't use a custom primary key. Instead they use an Integer, Long, or String. -dain > -Original Message- > From: marc fleury [mailto:[EMAIL PROTECTED]] > Sent: Tu

RE: [JBoss-dev] CMR container invocation

2001-11-13 Thread Dain Sundstrom
> > Dain, > > I am reading your stuff and I see that you use the invocation > chain to do > "ADD_RELATION" on the bean you are working with. Is this > what you were > talking about the other day? Yep. > My question is do you really need to go through the container > chain, since > it goes

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

2001-11-13 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/13 14:26:25 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql EJBQLParser.java SQLTarget.java Log: Remove typo that caused the literal "WHERE" to be case sensitive. Made idenfification variables case insensitive as required

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

2001-11-13 Thread Dain Sundstrom
]";>Dain Sundstrom - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public class JDBCTypeFactory { // the type mapping to use with the specified database @@ -209,7 +209,7 @@ ArrayList properties = new ArrayList(); Class

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

2001-11-13 Thread Dain Sundstrom
1.7 +++ JDBCRelationshipRoleMetaData.java 2001/11/13 20:19:07 1.8 @@ -22,7 +22,7 @@ * ejb-jar.xml file's ejb-relation elements. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ */ publi

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

2001-11-13 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/13 12:15:24 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCRemoveEntityCommand.java Log: Fixed a bug where if a related entity was related two ways with cascade delete, the command would attempt to remove the entity twice.

RE: [JBoss-dev] loading 10 EBs takes 5s 1st time called

2001-11-13 Thread Dain Sundstrom
2001 10:27 AM > To: Dain Sundstrom; 'Peter Levart'; > [EMAIL PROTECTED] > Subject: RE: [JBoss-dev] loading 10 EBs takes 5s 1st time called > > > Have you thought of profiling the code to determine what's > taking so long? > > > -Original Message--

RE: [JBoss-dev] loading 10 EBs takes 5s 1st time called

2001-11-13 Thread Dain Sundstrom
> Hello! > > I just wanted to know if somebody has a straight answer. I'm > using JBoss 3.0 > alpha with CMP 2.0. > > The first time I reference let's say 10 Entity Beans after a > JBoss restart it > takes approx. 5 seconds to retrieve data from them. The > second and subsequent > requests

Re: [JBoss-dev] ANN: Clustering support for Stateful Session Beans

2001-11-10 Thread Dain Sundstrom
I didn't think this mesage was correct, so I took a look at the remove code. The cmr fields were broken. A literal reading of the spec has the following delete order: 1. Remove entity from all relationships 2. Remove entity 3. Cascade the delete to all cascade-delete relationships So this leads

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

2001-11-10 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/10 14:50:25 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCRemoveEntityCommand.java Log: Synchronize entities in tx befor remove, is entity had CMR fields. Revision ChangesPath 1.6 +6 -1 jboss/src/mai

RE: [JBoss-dev] [ jboss-Bugs-478783 ] CMR records are deleted out of order

2001-11-09 Thread Dain Sundstrom
> > |I'm not working this. Feel free to take a shot at it. I > apologies in > |advance for the code not being documented well. The cmr code is > |not easy to > |understand because entities can not talk directly to each > other, but must > |use the invoker chain. > > what do you need to make

RE: [JBoss-dev] [ jboss-Bugs-478783 ] CMR records are deleted out of order

2001-11-09 Thread Dain Sundstrom
was opened at 2001-11-06 09:35 > > You can respond by visiting: > > > http://sourceforge.net/tracker/?func=detail&atid=376685&aid=47 > 8783&group_id > >=22866 > > > > Category: JBossCMP > > Group: v2.5 Rabbit Hole (unstable) > > Status: Open

RE: [JBoss-dev] fk in compound pk

2001-11-09 Thread Dain Sundstrom
The problem has to do with the EJB spec.  The spec says that the pk must be set in the ejbCreate method and then can't be changed.  The spec also says that cmr fields can not be set until ejbPostCreate.  Furthermore the spec only allows cmp-fields in compound pks.  I haven't thought of a way

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

2001-11-03 Thread Dain Sundstrom
diff -u -r1.6 -r1.7 --- JDBCUtil.java 2001/09/11 18:35:00 1.6 +++ JDBCUtil.java 2001/11/03 23:09:23 1.7 @@ -43,7 +43,7 @@ * parameters and loading query results. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.6 $ + *

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

2001-11-03 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/03 14:52:42 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCFindEntitiesCommand.java Log: Applied path 452047, which changes cutom finders to be keyed based on interface method instead of implementation method. Custom find

[JBoss-dev] JVM crash on linux

2001-11-03 Thread Dain Sundstrom
I remember seeing some posts about JVM crashes on linux, but don't remember if it was ever resolved. I am fairly regularly getting a crash with the RH server. I just restart the server, and the test run fine. I get a bunch or internal info then. # # HotSpot Virtual Machine Error : 11 # Error I

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

2001-11-03 Thread Dain Sundstrom
@@ import org.w3c.dom.Element; /** - * This immutable class contains information about the application + * This immutable class contains information about the application * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author Sebastien Alborini - * @version $

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

2001-11-03 Thread Dain Sundstrom
01/11/03 19:51:17 1.4 @@ -17,91 +17,111 @@ * file's relationships elements. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class RelationMetaData extends MetaData { -

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

2001-11-02 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/02 13:20:29 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc/ejbql EJBQLParser.java Log: Added support for input parameters in collection_member_expression as is required in the EJB 2.0 Final Draft. Revision ChangesPat

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

2001-11-02 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/02 13:19:12 Modified:src/etc/conf/default standardjboss.xml Log: Changed CMP 2.0 Entities back to use org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock. Revision ChangesPath 1.24 +2 -3 jboss/src/etc/conf/default/standardjboss.xm

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

2001-11-02 Thread Dain Sundstrom
org.jboss.ejb.plugins.lock.NonentrantMessage; import org.jboss.ejb.EntityEnterpriseContext; /** @@ -15,7 +16,7 @@ * JDBCRelationInterceptor. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public interface CM

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

2001-11-02 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/02 13:14:42 Removed: src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge NewQueuedPessimisticEJBLock.java Log: Code integrated into org.jboss.ejb.plugins.lock.BeanLockSupport ___ Jboss-devel

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

2001-11-02 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/02 13:14:01 Removed: src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge NonentrantMessage.java Log: Moved to org.jboss.ejb.plugins.lock ___ Jboss-development mailing list [EMAIL PROTECTED]

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

2001-11-02 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/02 13:12:10 Modified:src/main/org/jboss/ejb/plugins/lock BeanLockSupport.java Log: Added support for non-entrant messages to be passed through invocation chain. A method invocation is non-entrant if it is on a reentrant bean, a known non-entrant met

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

2001-11-02 Thread Dain Sundstrom
:[EMAIL PROTECTED]";>Dain Sundstrom * @version $$ */ public interface NonentrantMessage { } ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development

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

2001-11-02 Thread Dain Sundstrom
retrieving revision 1.11 diff -u -r1.10 -r1.11 --- JDBCCMRFieldBridge.java 2001/11/02 18:29:32 1.10 +++ JDBCCMRFieldBridge.java 2001/11/02 19:05:49 1.11 @@ -44,7 +44,7 @@ * One for each role that entity has. * * @author mailto:[EMAIL PROTECTED]";

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

2001-11-02 Thread Dain Sundstrom
@@ -52,7 +52,7 @@ * One per cmp entity bean type. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ public class JDBCEntityBridge implements EntityBridge { p

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

2001-11-02 Thread Dain Sundstrom
--- CMPFieldBridge.java 2001/09/01 22:03:14 1.4 +++ CMPFieldBridge.java 2001/11/02 18:19:22 1.5 @@ -19,32 +19,80 @@ * One for each entity bean cmp field. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revis

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

2001-11-02 Thread Dain Sundstrom
@@ -44,7 +44,7 @@ * One for each role that entity has. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ */ public class JDBCCMRFieldBridge implements CMRFie

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

2001-11-02 Thread Dain Sundstrom
21:28:22 1.6 +++ EntityBridgeInvocationHandler.java2001/11/02 18:23:13 1.7 @@ -33,7 +33,7 @@ * One per cmp entity bean instance, including beans in pool. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.6 $ + *

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

2001-11-02 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/02 10:24:25 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCCreateEntityCommand.java JDBCLoadEntityCommand.java Log: Now marks the bean as created after successful execution. Revision Changes

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

2001-11-02 Thread Dain Sundstrom
revision 1.4 diff -u -r1.3 -r1.4 --- EntityBridge.java 2001/09/01 22:03:14 1.3 +++ EntityBridge.java 2001/11/02 18:21:22 1.4 @@ -23,7 +23,7 @@ * One per cmp entity bean type. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revis

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

2001-11-01 Thread Dain Sundstrom
query specifiection type. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public class JDBCQueryMetaDataFactory { private JDBCEntityMetaData entity; @@ -86,16 +86,6 @@ String me

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

2001-11-01 Thread Dain Sundstrom
--- QueryMetaData.java2001/08/03 17:15:54 1.3 +++ QueryMetaData.java2001/11/02 00:51:56 1.4 @@ -17,94 +17,99 @@ * Contains information about ejb-ql queries. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.3 $ + *

RE: [JBoss-dev] jboss build failed

2001-11-01 Thread Dain Sundstrom
I got all my new code in and everything builds again. > -Original Message- > From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 4:53 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-dev] jboss build failed > > > Sorry, this

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

2001-11-01 Thread Dain Sundstrom
revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- JDBCCommandFactory.java 2001/10/09 00:29:43 1.7 +++ JDBCCommandFactory.java 2001/11/01 23:17:05 1.8 @@ -42,7 +42,7 @@ * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @author mailto:[EMAIL P

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

2001-11-01 Thread Dain Sundstrom
User: dsundstrom Date: 01/11/01 15:16:33 Modified:src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCDefinedFinderCommand.java Log: Added support for ejbSelect queries. Revision ChangesPath 1.4 +144 -42 jboss/src/main/org/jboss/ejb/plugins/cmp/j

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

2001-11-01 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class JDBCTypeFactory { // the type mapping to use with the specified database private JDBCTypeMappingMetaData typeMapping; - // all the a

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

2001-11-01 Thread Dain Sundstrom
is mapped to a column @@ -21,66 +21,71 @@ * the Java Bean. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public class JDBCTypeComplexProperty { - private String propertyName; - privat

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

2001-11-01 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public class JDBCTypeComplex implements JDBCType { private JDBCTypeComplexProperty[] properties; @@ -32,8 +33,12 @@ private int[] jdbcTypes;

RE: [JBoss-dev] jboss build failed

2001-11-01 Thread Dain Sundstrom
Sorry, this is from me. I am still checking in all my changes. -dain > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 01, 2001 4:48 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [JBoss-dev] jboss build failed > > > >

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

2001-11-01 Thread Dain Sundstrom
@@ -41,7 +41,7 @@ * One for each entity bean cmp field. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.6 $ + * @version $Revision: 1.7 $ */ public abstract class JDBCAbstractCMPFieldBridge im

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

2001-11-01 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ import java.lang.reflect.Method; import java.rmi.RemoteException; @@ -32,13 +32,16 @@ import org.jboss.ejb.plugins.cmp.bridge.Select

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

2001-11-01 Thread Dain Sundstrom
contains information about an entity + * This immutable class contains information about an entity * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @author Sebastien Alborini + * @author Sebastien Alborini * @author mailto:[EMAIL PROTECTED]";>Dirk Zimmermann

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

2001-11-01 Thread Dain Sundstrom
org.jboss.metadata.QueryMetaData; import org.w3c.dom.Element; @@ -17,28 +24,73 @@ * Imutable class contains information about a declated query. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public fin

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

2001-11-01 Thread Dain Sundstrom
. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class EntityBridgeInvocationHandler implements InvocationHandler { protected EntityContainer container; @@ -44,10 +44,23 @@ p

RE: [JBoss-dev] Non-NULL foreign key CMR

2001-10-31 Thread Dain Sundstrom
This is a bad idea. You are effectively creating two caches of the same data, but there is no code to keep them in sync. Although this may work today, you could get weird non-reproducible errors down the road. Dan pointed out that engine can delay insert until after postCreate or until the end of

[JBoss-dev] Documentation on web site is missing...

2001-10-31 Thread Dain Sundstrom
Has anyone notice that the docs on JBoss.org are missing. When you click on the "Manual - online HTML version" I get the following. HTTP ERROR: 404 Not Found Could not find resource for /documentation/HTML/index.html RequestURI=/documentation/HTML/index.html Someone should at least put up a pag

RE: [JBoss-dev] CMP 2.0 One-to-One Referential Integrity on remove()

2001-10-25 Thread Dain Sundstrom
See ejb 2.0 final draft section 10.3.4.2: Cascade-delete. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 25, 2001 4:09 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-dev] CMP 2.0 One-to-One Referential Integrity on > remove() > > > I cr

RE: [JBoss-dev] cmp: foreign-key-mapping

2001-10-22 Thread Dain Sundstrom
> > > The following issues apply to foreign-key-mapping .. > > > > > > > > > 1) problems with unidirectional relations: > > > > > > deployment does not work, because the > > > JDBCCMRFieldBridge.initRelatedData > > > does not find the related cmrField -> throws DeploymentException > > > > I

RE: [JBoss-dev] cmp: foreign-key-mapping

2001-10-22 Thread Dain Sundstrom
> The following issues apply to foreign-key-mapping .. > > > 1) problems with unidirectional relations: > > deployment does not work, because the > JDBCCMRFieldBridge.initRelatedData > does not find the related cmrField -> throws DeploymentException I just fixed a bug in this code last night

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

2001-10-20 Thread Dain Sundstrom
User: dsundstrom Date: 01/10/20 20:21:03 Modified:src/etc/conf/default standardjboss.xml Log: Changed cmp 2.0 beans to use the modified queued pessimistic lock, which handles non-entrant method invocations. Revision ChangesPath 1.23 +3 -2 jboss/src/etc/conf/d

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

2001-10-20 Thread Dain Sundstrom
--- CMRMessage.java 2001/09/01 22:03:16 1.3 +++ CMRMessage.java 2001/10/21 03:17:10 1.4 @@ -15,9 +15,9 @@ * JDBCRelationInterceptor. * * @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/bridge NewQueuedPessimisticEJBLock.java NonentrantMessage.java

2001-10-20 Thread Dain Sundstrom
* this interface. * * @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom * @version $Revision: 1.1 $ */ public interface NonentrantMessage { } ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.n

RE: [JBoss-dev] Please run the test suite before committing.

2001-10-20 Thread Dain Sundstrom
Maybe I am a complete idiot, but what should I see if the test is successful? As a policy, should some one only check-in if the change does not increase the number of failures / errors? Dain > -Original Message- > From: Scott M Stark [mailto:[EMAIL PROTECTED]] > Sent: Saturday, October

[JBoss-dev] FAQ

2001-10-20 Thread Dain Sundstrom
Do we have a FAQ? If not, I think we should start one. About every third day I get a message asking me what version of JBoss supports CMP 2.0, or I get a message asking where 3.0 is. I know this info is in the message archives, but I think it would be a good thing to have a central place for a p

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

2001-10-20 Thread Dain Sundstrom
revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- JDBCCMRFieldBridge.java 2001/09/11 18:35:00 1.7 +++ JDBCCMRFieldBridge.java 2001/10/20 16:14:57 1.8 @@ -44,7 +44,7 @@ * One for each role that entity has. * * @author mailto:[EMAIL PROTECTED]";

RE: [JBoss-dev] Raw-sql

2001-10-19 Thread Dain Sundstrom
There are to things that are hard. T he first is mapping the output columns to the result object. This is complicated by the fact that a cmp field can map to more then one column. You will have to add error handling to assure that all of the properties of a field are loaded. I don't think my h

RE: [JBoss-dev] Tuned-updates OFF?

2001-10-18 Thread Dain Sundstrom
> Thanks, I realize it has always been like this... glad to see > it is the > default in ejb2.0 Actually you can't turn it off. This is a side affect of the eager/lazy loading feature where we may not have all the data to do a complete update. -dain ___

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-24 Thread Dain Sundstrom
comments below... > >>>4. database functions > >>>If I am doing a query on a datestamp type field but I only > >>> > >>care about > >> > >>>the date part, in postgresql I need to use a postgresql > >>> > >>function that > >> > >>>only returns the date. > >>> > > > > Date handling is EJB-QL sucks.

Re: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-23 Thread Dain Sundstrom
> > The blueprint > > (http://java.sun.com/j2ee/blueprints/design_patterns/page_by_page_iterator/i > > ndex.html) applies to client access of the result set. The problem is the > > blueprint assumes that then entire result set of the query can fit into > > server memory. > > The implementation do

RE: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-23 Thread Dain Sundstrom
> >>> 2. No limit/offset or cursors. > >>> In a word searches. If you are tring to search for > >> something you display > >>> a list of current values based on a selection criteria. > What happens > >>> when the list is 100,000 records. With current DB code you > >> would declare > >>> a cursor

RE: [JBoss-dev] EJB/QL - JBoss extentions

2001-09-23 Thread Dain Sundstrom
Hi, I agree that requested features are necessary, although I don't necessarily agree with the suggested implementation. Currently, I am focusing on spec compliance, and I need to update the code to the final spec. As Marc suggested, if you want to see these features soon, submit a patch, otherwi

[JBoss-dev] CVS update: manual/src/xdocs/howto howtocmp2.xml

2001-09-18 Thread Dain Sundstrom
=== CMP 2.0 [JBoss 3.0] Author: Dain Sundstrom [EMAIL PROTECTED] Activate CMP 2.0 Change ejb-jar.xml doctype CMP 2.0 is only available to Entity Beans in an EJB 2.0 jar files. An EJB 2.0 jar is identified by the doctype of the

[JBoss-dev] CVS update: manual/src/xdocs jbossdocs.xml

2001-09-18 Thread Dain Sundstrom
User: dsundstrom Date: 01/09/18 11:14:06 Modified:src/xdocs jbossdocs.xml Log: Added CMP 2.x documentation. Revision ChangesPath 1.6 +5 -3 manual/src/xdocs/jbossdocs.xml Index: jbossdocs.xml ==

RE: [JBoss-dev] TRANSACTIONS

2001-09-07 Thread Dain Sundstrom
Bill, When you get to coding this, send me an email. I already have an attribute in the cmp config file for this. I think there should be one place to mark the entire entity as read-only. I haven't been following this discussion, but I think I understand why we need to move the declaration up to

Re: [JBoss-dev] EJB 2.0 CMP

2001-09-04 Thread Dain Sundstrom
Comments below... > Got it now ... but it is still not seeing eye to eye ... comments below .. > > Dain Sundstrom wrote: > > > Dave, > > > > We still don't see eye-to-eye, and I think I made the problem worse with my > > example. > > > >

[JBoss-dev] jboss-most broken?

2001-09-02 Thread Dain Sundstrom
$ cvs co jboss-most cvs server: cannot find module `_jboss_support' - ignored cvs [checkout aborted]: cannot expand modules jboss-all works fine, so whats the deal with jboss-most? -dain ___ Jboss-development mailing list [EMAIL PROTECTED] https://

RE: [JBoss-dev] RE: Persistant HttpSession

2001-09-01 Thread Dain Sundstrom
aions. Is there an interface for HttpSession persistence in the web container layer? -dain > -Original Message- > From: Andreas Schaefer [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 01, 2001 2:50 PM > To: Dain Sundstrom > Subject: Re: [JBoss-dev] RE: Persistant Http

<    4   5   6   7   8   9   10   11   >