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
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
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
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
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 $
*/
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
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
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
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]>
> 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_
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
; 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
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
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
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
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
.
*
* @author mailto:[EMAIL PROTECTED]";>Dain Sundstrom
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class EntityBridgeInvocationHandler implements InvocationHandler {
+ protected EntityContainer container;
p
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
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
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
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
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, '/');
}
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.
> >
> >
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
-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
- *
-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 $
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
*
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
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
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
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
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
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
).
-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
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.
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
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
" ?
> 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
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
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
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
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
>
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
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
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
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
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
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
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
> 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
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
> |
>
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
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
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
@@ -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;
--- 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
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
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
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
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
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
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
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
{
> 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
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
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
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
--- 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 $
pTable(entityMetaData.getTableName());
// drop relation tables
JDBCCMRFieldBridge[] cmrFields = entity.getJDBCCMRFields();
for(int i=0; imailto:[EMAIL PROTECTED]";>Dain Sundstrom
- * @version $Revision: 1.1 $
+ * @versi
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]";
+++ 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 $
*/
--- 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
- *
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(
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
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 $
*/
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
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
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
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
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
901 - 1000 of 1053 matches
Mail list logo