Re: [JBoss-user] CMP 2.0 Deployment Problem

2003-06-24 Thread Dain Sundstrom
swapping the keys, between the two sides). -dain /* * Dain Sundstrom * Partner * Core Developers Network */ On Tuesday, June 24, 2003, at 09:30 AM, Klaus Richarz wrote: Hello, I have about 15 CMP entity beans. Some of them are connected

[JBoss-user] Core Developers Network Announces Public Launch

2003-06-05 Thread Dain Sundstrom
Jules Gosnell David Jencks James Stracham Dain Sundstrom Greg Wilkins --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try

[JBoss-user] Core Developers Network Announces Public Launch

2003-06-05 Thread Dain Sundstrom
Jules Gosnell David Jencks James Stracham Dain Sundstrom Greg Wilkins --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try

Re: [JBoss-user] massive performance decrease

2003-04-04 Thread Dain Sundstrom
I have configuration for all datatypes in the JDK, and I will be adding metadata support so you can configure your types. -dain On Friday, April 4, 2003, at 02:29 PM, Langelage, Frank wrote: Today I executed my little performance test with current cvs-versions of 3.2 and HEAD. The execution

Re: [JBoss-user] CMR Error under load

2003-04-03 Thread Dain Sundstrom
I think the message is remove the read-only tags and you will not get the errors. -dain On Thursday, April 3, 2003, at 03:03 AM, Andrew May wrote: My test case fails on 3.0.3 so it's not just a problem with 3.2.0. So for us that means we can't go live with either :( - unless we can find

Re: [JBoss-user] CMR Error under load

2003-04-03 Thread Dain Sundstrom
What is the name of the test case and are you working on a solution? -dain On Thursday, April 3, 2003, at 04:22 AM, Stephen Coy wrote: I'll add the testcase to Branch_3_0 as well. We've never experienced this problem, but have only operated under 3.0.2, 3.0.4 and 3.0.6. Our application (over

Re: [JBoss-user] JBoss 3.2RC4 and Hibernate2

2003-04-03 Thread Dain Sundstrom
There is also a problem is they are trying to use java.rmi.MarshalledObject to store serialized objects, because java.rmi.MarshalledObject does not respect classloaders. -dain On Thursday, April 3, 2003, at 12:52 PM, Scott M Stark wrote: It look like a problem with hibernate using

Re: [JBoss-user] JBoss 3.2RC4 and Hibernate2

2003-04-03 Thread Dain Sundstrom
of Proxy98 junk. I'm not sure if anyone else uses it. What does JMX use to generate classes? -dain --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support

Re: [JBoss-user] CMR Error under load

2003-04-02 Thread Dain Sundstrom
-instance invocations. For no-transaction we have the standard EJB flags. -dain On Wednesday, April 2, 2003, at 10:18 AM, Stephen Coy wrote: Ah ha! It needs those read-only tags in jboss.xml in order to fail. Previously, I had explicitly specified that getChildren was read-only. It needs

Re: [JBoss-user] massive performance decrease

2003-04-02 Thread Dain Sundstrom
Ok now it should be faster then is has ever been. I have another idea on how to make it even better, but it should be super fast right now. -dain On Thursday, March 27, 2003, at 02:08 PM, Dain Sundstrom wrote: JBoss HEAD is a work in progress. The performance will get worse and better

Re: [JBoss-user] List ten things you want fixed (was Re: JBoss: Not Ready For Prime Time)

2003-04-01 Thread Dain Sundstrom
Seriously, you guys need to stop falling for the trolls. No normal person continues to fight so strongly for a product they hate. My guess is this guy works for a PR firm hired by Sun or BEA, but it could be any player in the J2EE world. Just shun him and he will go away. -dain On Tuesday

Re: Re[2]: [JBoss-user] CMR Error under load

2003-03-28 Thread Dain Sundstrom
, but the fix should bin in 3.2 rc4. Until someone can create a test case that reproduces the new bug, I don't think there is much we can do. -dain On Friday, March 28, 2003, at 10:01 AM, Alex Loubyansky wrote: Hello Andrew, you are not alone complaining about this. But nobody could produce

Re: [JBoss-user] massive performance decrease

2003-03-27 Thread Dain Sundstrom
JBoss HEAD is a work in progress. The performance will get worse and better; there will be bugs. You can't make an omelet without breaking a few eggs. I suggest you use 3.2. -dain On Thursday, March 27, 2003, at 09:12 AM, Langelage, Frank wrote: After the cvs update of JBoss-head yesterday

Re: Re[2]: [JBoss-user] effective and secure logging

2003-03-24 Thread Dain Sundstrom
close to a guaranteed flush is to use NIO. If you want it to be efficient and reliable you will have to use NIO. I suggest you take a look at java.nio.MappedByteBuffer. -dain --- This sf.net email is sponsored by:ThinkGeek Welcome to geek

Re: Re[4]: [JBoss-user] effective and secure logging

2003-03-24 Thread Dain Sundstrom
he may already have what you need implemented. You could also contract with Ceki to have him write it for you. -dain On Monday, March 24, 2003, at 11:00 AM, costin wrote: Hi! Thanks. I was actually looking through an oreilly book about NIO. The only problem is how will this break the whole

Re: [JBoss-user] new datasource

2003-03-23 Thread Dain Sundstrom
it is safer to put the driver classes in lib as you can have big problems it they redeploy. -dain --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance

Re: [JBoss-user] new datasource

2003-03-23 Thread Dain Sundstrom
I'm dumb. I didn't read that very carefully. -dain On Sunday, March 23, 2003, at 07:33 PM, David Ward wrote: Isn't that what I said? Driver jar in lib and datasource xml in deploy. By it I meant the datasource xml file. Sorry if I wasn't clear before. David Dain Sundstrom escribió

Re: [JBoss-user] jboss on linux (performance)

2003-03-19 Thread Dain Sundstrom
Loads of people do it quite successfully, so yes. -dain On Wednesday, March 19, 2003, at 02:54 PM, David Luis Fernandes de Araujo wrote: So, do you think is safe to run jboss on linux in a production enviorment ? On Wed, 19 Mar 2003 12:27:17 -0500 John M Flinchbaugh [EMAIL PROTECTED] wrote

Re: [JBoss-user] Am I in a transaction?

2003-03-19 Thread Dain Sundstrom
TransactionManager tm = (TransactionManager) iniCtx.lookup(java:/TransactionManager); if(tm.getTransaction() != null) { // got a transaction } -dain On Wednesday, March 19, 2003, at 05:09 PM, Brian Wallis wrote: I have some utility classes that are used from beans with container managed

Re: [JBoss-user] read-ahead question

2003-03-17 Thread Dain Sundstrom
You need to use a transaction. Preloaded data is only available in a single transaction. -dain On Monday, March 17, 2003, at 10:28 AM, Rafal Kedziorski wrote: hi, I have following entity bean definition in jbosscmp-jdbc.xml: entity ejb-nameUsersBean/ejb-name read-ahead strategyon

Re: [JBoss-user] Re: Hibernate or ejb

2003-03-14 Thread Dain Sundstrom
we should consider adding a hibernate as a supported front end framework (like CMP, AOP and JDO). -dain /** * @name Dain Sundstrom * @titleAuthor CMP on JBoss * @company The JBoss Group, LLC. */ --- This SF.net email is sponsored

Re: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate()

2003-03-13 Thread Dain Sundstrom
3.2 supports not null foreign keys, but you will have to ask Alexey how to set it up. -dain On Thursday, March 13, 2003, at 10:42 AM, Jonathan.O'[EMAIL PROTECTED] wrote: Bernhard, No, JBoss 3.x does the insert after ejbCreate. 4.0 is reputed to have (will have) support for INSERT after

Re: [JBoss-user] Relationship between JTA and JDBC transactions

2003-03-13 Thread Dain Sundstrom
I suggest you put this code in a servlet filter so the transaction aspect won't pollute your servlet code (and you get some reuse, but that is not the important part). -dain On Thursday, March 13, 2003, at 12:43 PM, Craig Berry wrote: Thanks very much. This is a one-database application, so

Re: [JBoss-user] CMP Entity Bean commit-option problem

2003-03-11 Thread Dain Sundstrom
Have you tried 3.0.6? -dain On Tuesday, March 11, 2003, at 08:32 AM, Mike Lecza wrote: Can someone confirm that this works for them so at least I know it may be something that I am doing wrong? ? Best Regards ? ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [JBoss-user] Jboss dynamic ql ?

2003-03-10 Thread Dain Sundstrom
Or you can pick through the test suite for an example... or read the cmp slides from last year's JBossOne seminar. There are some bugs in the slides but you will get the idea. -dain On Monday, March 10, 2003, at 02:21 PM, Hunter Hillegas wrote: Truly the best advice is to buy the docs

Re: [JBoss-user] Velocity, Servlets, and Local EJBs

2003-03-06 Thread Dain Sundstrom
TransactionServletFilter: on entry start a transaction and on exit commit it. -dain On Thursday, March 6, 2003, at 11:46 AM, [EMAIL PROTECTED] wrote: I want to use Velocity. I would like my Servlet to simply place my Local EJBs inside of the Velocity template's context and then the template

Re: [JBoss-user] DynamicQL concurrency problem

2003-03-05 Thread Dain Sundstrom
Can you file a bug report on this? -dain On Wednesday, March 5, 2003, at 11:20 AM, Mauricio Hiroshi Nagaoka wrote: Hello people! I've been using DynamicQL with CMP Entity Beans in JBoss 3.0.6 and it's working quite well, except for a little problem. When I've more than one client running

Re: [JBoss-user] Caching large data structures

2003-03-05 Thread Dain Sundstrom
optimistic locking because you can get drift between commit and invalidation replication (Alexey wrote this). Getting all this to work is a chore, but possible. There are guys using systems like this today in production. -dain On Tuesday, March 4, 2003, at 02:36 PM, David Jencks wrote

Re: [JBoss-user] Issue with LIKE CONCAT(?1,'%') in JBoss-QL

2003-02-27 Thread Dain Sundstrom
And what would the correct query be? -dain On Thursday, February 27, 2003, at 02:37 PM, Curt Johnson wrote: I've checked the forums, mailing list and for-pay docs, everything seems to say that this will work. What I get in the debug statements from the CMP engine is: 2003-02-27 15:11:04,182

Re: [JBoss-user] Issue with LIKE CONCAT(?1,'%') in JBoss-QL

2003-02-27 Thread Dain Sundstrom
ejbSelectSomeStuff(arg1 + %, ...); } public abstract Collection ejbSelectSomeStuff(String arg1, ...); Simple? -dain --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

Re: [JBoss-user] EntityBean findAll() method

2003-02-26 Thread Dain Sundstrom
One word 'profiler'. -dain On Wednesday, February 26, 2003, at 04:32 PM, Rafal Kedziorski wrote: hi, At 09:24 26.02.2003 -0500, David Jencks wrote: You can find out how to configure this stuff and why it works the way it does in the for pay cmp docs or by looking for the numerous less

Re: [JBoss-user] 10.5.6 finder missing query element exception with 3.0.6

2003-02-19 Thread Dain Sundstrom
The EJB spec requires you to have an ejb-ql element, but if the query is not implemented in ejb-ql, just leave the element empty. It is a signal when porting the application to another platform that a query is not portable. -dain On Wednesday, February 19, 2003, at 03:05 PM, Frank Morton

Re: [JBoss-user] jetty filter question

2003-02-19 Thread Dain Sundstrom
DTDs are very sensitive to order. Look at the DTD and make sure your elements are *in the exact same order* as listed in the DTD. -dain On Wednesday, February 19, 2003, at 03:58 PM, Frank Morton wrote: I would like to run a filter on every jsp with 3.0.6. I thought if I put the following

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-11 Thread Dain Sundstrom
the user wanted when he/ she wrote the query. -dain On Monday, February 10, 2003, at 08:24 PM, Dave Smith wrote: If you do not care how it is ordered then why bother with the order by clause? The database is correct , you are not. Dain Sundstrom wrote: On Monday, February 10, 2003, at 01:53 PM

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread Dain Sundstrom
of mine. Jeremy has already changed our sql generator to generate the sql so the lame database implementations will work. -dain On Monday, February 10, 2003, at 02:24 AM, KRALIK Vladimir wrote: I think, this is another problem. Message say : ERROR: For SELECT DISTINCT, ORDER BY expressions

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-10 Thread Dain Sundstrom
by this. You want all of the distinct entries of x ordered by y. If two x values have the different y values. I simply don't care which one you choose to order by. Sure you can get non deterministic results, but there is enough information to execute the query. -dain

Re: [JBoss-user] JBoss Generating Some Bad SQL

2003-02-08 Thread Dain Sundstrom
to wait for 4.0. -dain On Friday, February 7, 2003, at 09:03 PM, Rod Macpherson wrote: PostgreSQL does not allow an aggregated field reference to appear in the where clause. SELECT DISTINCT t0_s.rec_num ... WHERE ... t0_s.rec_num=t1 ... Guess DISTINCT by itself is considered an aggregate

Re: [JBoss-user] EJB QL error

2003-02-07 Thread Dain Sundstrom
' Was expecting one of: This means that 'firm' is not the literal IN, and 'firm' is not a know abstract schema name. Did you declare that your firm entity have an abstract-schema-name of 'firm'? If not do it. -dain --- This SF.NET email

Re: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Dain Sundstrom
EJB-Ql in EJB 2.0 does not allow parameters in the like clause. EJB 2.1 does have this support but 2.1 will not be supported until JBoss 4.0. In the mean time use JBossQL which supports parameters in the like clause. -dain On Thursday, February 6, 2003, at 05:54 AM, Rupp,Heiko wrote: Hi

Re: [JBoss-user] Problem with Query containing LIKE

2003-02-06 Thread Dain Sundstrom
EJB-Ql in EJB 2.0 does not allow parameters in the like clause. EJB 2.1 does have this support but 2.1 will not be supported until JBoss 4.0. In the mean time use JBossQL which supports parameters in the like clause. -dain On Thursday, February 6, 2003, at 05:54 AM, Rupp,Heiko wrote: Hi

Re: [JBoss-user] RE: question about jboss cmp

2003-01-30 Thread Dain Sundstrom
for holding onto local copies of objects and limiting unnecessary calls back out to the app server to get new objects. JDO is simply an interface to a persistence system. In the end it is all about implementation. We plan on adding support to all of this in JBoss, and transparently to you. -dain

Re: [JBoss-user] RE: question about jboss cmp

2003-01-30 Thread Dain Sundstrom
the tx commits, but this only works with commit option A, as B and C always throw out the cache data when the new transaction starts. We hope to address that with Optimistic locking in 4.0. -dain --- This SF.NET email is sponsored

Re: [JBoss-user] Getting Distinct to Use UCASE() or UPPER() in JBossQL or DeclaredSQL??

2003-01-28 Thread Dain Sundstrom
Hunter, There is no way to do this with EJB-QL or JBossQL. The problem is we don't support functions in the SELECT clause. This is planned for 4.0 but that doesn't help you. I think the only way to implement this it to use a BMP style finder method. Sorry, -dain On Tuesday, January 28

Re: [JBoss-user] Getting Distinct to Use UCASE() or UPPER() in JBossQL or DeclaredSQL??

2003-01-28 Thread Dain Sundstrom
in CMP and a full SQL-99ish query language is on the table. BTW, EJB-QL doesn't have an UPPER function in the 2.1 spec. -dain On Tuesday, January 28, 2003, at 12:51 PM, Hunter Hillegas wrote: Is that a JBoss restriction or a SQL restriction? PostgreSQL allows it, but I don't know

Re: [JBoss-user] serious ejbql compiler problem

2003-01-17 Thread Dain Sundstrom
This is a bug. Please file a bug report at sourceforge. MEMBER OF should be generating a sub select or a left join. This is simmilar to the IS NULL bug we recently fixed. -dain On Friday, January 17, 2003, at 02:49 AM, Alexey Yudichev wrote: The query you proposed makes a join using both

Re: [JBoss-user] serious ejbql compiler problem

2003-01-16 Thread Dain Sundstrom
OF c.partners) You many want to do a SELECT DISTINCT, as it is possible to get multiple results back from this query. -dain On Thursday, January 16, 2003, at 03:39 AM, Alexey Yudichev wrote: Jboss 3.0.4. 2 entities: StoreCategory and Partner. 2 relationships between them: 1)     ejb-relation

Re: [JBoss-user] cmp2, postgres and dates

2003-01-13 Thread Dain Sundstrom
Postgres can't store millisecond accurate time until 7.0. Before that it truncates it to a decasecond if I remember. -dain On Monday, January 13, 2003, at 05:06 PM, Eric Klimas wrote: I don't think this is as much a Jboss issue as it might be a Postgres JDBC driver issue. I experienced

Re: [JBoss-user] Cmp vs hibernate

2003-01-11 Thread Dain Sundstrom
using a query. The difference between performance of these systems can be reduced with good caching and read-ahead logic, but most do not code this. -dain --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld

Re: [JBoss-user] CMP2 - Field To Persist In Updates But Not Inserts

2003-01-06 Thread Dain Sundstrom
CMP properties, and there is an option to ignoreOnInsert which exactly what I want. However, the feature seems to have no effect on the deployment XML. We have no such feature, but I sounds like a good option. File a feature request, and it may make it into 4.0. -dain

Re: [JBoss-user] CompositeName and JBoss 3.0.4

2003-01-03 Thread Dain Sundstrom
I haven't had any coffee yet today, so maybe I still a complete dumb ass, but what is a compound name and a composite name. -dain On Friday, January 3, 2003, at 09:09 AM, Michael Huneycutt wrote: After looking at the JBoss code, it appears that JBoss only supports Compound Names

Re: [JBoss-user] Store large pdfs with JBoss

2003-01-03 Thread Dain Sundstrom
to use the same abstract store system from an even easier interface. -dain On Friday, January 3, 2003, at 02:34 PM, Greg Turner wrote: IMHO, this is a prime example of business data that does not fit the EJB model.  And you shouldn't try and shoe horn it in.  Its been my understanding that doing

Re: [JBoss-user] Question about CMP/CMR

2003-01-01 Thread Dain Sundstrom
On Monday, December 30, 2002, at 02:29 PM, Stefan Arentz wrote: Huh? Foreign keys are *legacy* database structure? Any pre existing schema is legacy to me. -dain --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven

Re: [JBoss-user] Question about CMP/CMR

2003-01-01 Thread Dain Sundstrom
to this, always use this generated key. Yeah that is exactly what I am doing. However, I like to have real constraints because I also have other clients access the database. Any you can in 3.2. The thing you can have is a foreign key that maps to a secondary key. -dain

Re: [JBoss-user] Date and jboss

2002-12-30 Thread Dain Sundstrom
Kiuma, I don't understand your question. Can you restate the question a different way? -dain On Saturday, December 28, 2002, at 08:16 AM, kiuma wrote: Hello, I was wondering about dates and queries. If I have a myCalendar created with new GragorianCalendar() and a where clause like day = ?1

Re: [JBoss-user] Question about CMP/CMR

2002-12-30 Thread Dain Sundstrom
the spec requirements and not much else. In JBoss 4.0 we will address legacy database structure support and mapping to non JDBC data sources. -dain --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

Re: [JBoss-user] How to INSERT after ebjPostCreate versus ejbCreate

2002-12-30 Thread Dain Sundstrom
I've had a lot of Oracle DBAs tell me that DEFERRABLE INITIALLY DEFERRED does very bad things to Oracle. I don't remember the details, but it was bad enough that I gave up on some code that depended on it. -dain On Monday, December 30, 2002, at 10:17 AM, Bill Burke wrote: nice, thanks

Re: [JBoss-user] Re: jboss and vi ( Re: [JBoss-dev] NEED YOUR HELP!

2002-12-13 Thread Dain Sundstrom
Code completion is over rated, but there is a faq somewhere on the net somewhere that shows how to set it up with vim. -dain On Friday, December 13, 2002, at 03:28 PM, Joao Pedro Clemente wrote: And the two largest ones:-)) jboss and emacs/jdee/xdoclet jboss and vi Yep, I would like

Re: [JBoss-user] EJB Commit Option A Cache Question

2002-12-11 Thread Dain Sundstrom
. In B, some beans may be in the cache but invalid and only the valid ones are used (i.e. ones in the current transaction), and in C only beans in the current transaction are in the cache. -dain --- This sf.net email is sponsored by: With Great

Re: [JBoss-user] Another Commit Option A Cache Question :)

2002-12-10 Thread Dain Sundstrom
CMP checks the cache before executing a findByPrimaryKey query. If it is not checking the cache first it is a bug. All other queries go directly to the database, because we don't have an in memory query engine. -dain On Tuesday, December 10, 2002, at 07:55 AM, Sacha Labourey wrote

Re: [JBoss-user] Testing EJB's

2002-12-10 Thread Dain Sundstrom
a servlet tier. -dain On Tuesday, December 10, 2002, at 02:23 PM, Jim Crossley wrote: These are good points, and I appreciate yours and others' prompt replies. However, the solutions presented so far seem to force me to complicate my object model to facilitate testing. I agree that an app

Re: [JBoss-user] Re: Testing EJB's

2002-12-10 Thread Dain Sundstrom
The exact same thing has existed in JBoss for a long time and is called JUnitEJB... I really think it should be converted to be an MBean instead, but that is another story. -dain On Tuesday, December 10, 2002, at 05:00 PM, SPam wrote: Dain, your are right its a good approach to test EJB tier

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dain Sundstrom
at a time (it's in one of the specs), so which spawned thread gets the tx? -dain --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dain Sundstrom
On Monday, December 9, 2002, at 12:08 PM, Dan Christopherson wrote: Dain Sundstrom wrote: Ah, there's the rub! So my blithering about a hypothetical 'asynchronous task' API needs to be amended again: tasks _must_ run in their own transaction! Usually this is accomplished with a message queue

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dain Sundstrom
thread in a tx at a time (this is a huge step forward from the days when you could only have a single thread per tx and it always had to be the same one... old junk). Anything is possible, but is it worth it, when you can get 95% of the need from a JMS queue and new transactions? -dain

Re: [JBoss-user] J2ee spec thoughts

2002-12-09 Thread Dain Sundstrom
you follow my stream of conscience? -dain --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https

Re: [JBoss-user] custom function extensions to EJB-QL?

2002-12-03 Thread Dain Sundstrom
this. -dain On Tuesday, December 3, 2002, at 03:37 AM, Matthew Hixson wrote: Does JBoss support defining custom functions that map to functions defined in the database for extending EJB-QL? Thanks, -M@ --- This SF.net email is sponsored by: Get

Re: [JBoss-user] custom function extensions to EJB-QL?

2002-12-03 Thread Dain Sundstrom
No, it is in the for pay docs... but the list is short. In addition to the EJB-QL (2.0 spec) standard functions we support LCASE and UCASE. -dain On Tuesday, December 3, 2002, at 12:32 PM, Matthew Hixson wrote: Is there a list online of all of the EJB-QL functions that are already built

Re: [JBoss-user] custom function extensions to EJB-QL?

2002-12-03 Thread Dain Sundstrom
Yes, but your code has to be aware of the abstract schema database mapping, which is kind of like hand coding security checks into your code; you can do it but you want to avoid it if you can. -dain On Tuesday, December 3, 2002, at 03:48 PM, Glenn Lewis wrote: Though it can be done without

Re: [JBoss-user] sotring a cmr result set

2002-11-27 Thread Dain Sundstrom
Not that I am aware of. -dain On Wednesday, November 27, 2002, at 01:06 AM, kiuma wrote: Hello, is there any possibility to sort a cmr collection without putting the result in a SortedSet? regards, kiuma --- This SF.net email is sponsored

Re: [JBoss-user] CMR/CMP Primary-key/Foreign Key Question

2002-11-26 Thread Dain Sundstrom
I think Alex has this working in 4.0, but I don't think it is documented yet. -dain On Tuesday, November 26, 2002, at 01:15 PM, Eric Klimas wrote: Hi all, I'm trying write entity beans in Jboss 3.0.4 that have a CMR as part of the primary key. Is this even possible with EJB (I'd hope so

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-23 Thread Dain
Can you try 4.0? -dain On Saturday, November 23, 2002, at 06:34 AM, Stephen Coy wrote: This change is now in Branch_3_2. It looks a little like 3.2 has acquired some other baggage though - our benchmark for 2000 beans is a little slower than it was under 3.0.4: 23:06:47,044 INFO [STDOUT

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Dain
. Does anyone want to back port this to 3.2? It is fairly simple. If not, I'll do it. I don't think I should back port it to 3.0 as it has not been heavily tested. -dain On Friday, November 22, 2002, at 07:26 AM, Stephen Coy wrote: I'll try to get it done in the next day or so. On Friday

Re: [JBoss-user] does PostgreSQL support the EJB-QL LOCATE() function?

2002-11-21 Thread Dain
No, but that has nothing to do with JBoss; table size is a database issue. The important part that the query's come out correctly. -dain On Thursday, November 21, 2002, at 03:35 PM, snpe wrote: Hello Dain, Have You tried big tables ( 100 big record) with postgresql ? Thanks Haris Peco

Re: [JBoss-user] Dynamic query and read-ahead - Help!!

2002-11-21 Thread Dain
Upgrade and it should work. -dain On Thursday, November 21, 2002, at 06:48 PM, Victor Batista wrote: Hello! I am using JBoss 3.0.2 with bundled Tomcat 4.0.4. I am having problems using read-ahead with Dynamic queries. I configure my dynamic finder with the read-ahead feature, but it simply

Re: [JBoss-user] configuring security if web and ejbs on different machines

2002-11-20 Thread Dain
. For security I don't believe that you can get the same benefit by using a proxy process in front. -dain On Wednesday, November 20, 2002, at 12:09 PM, Pavel Kolesnikov wrote: Hello, I've configured my security realm on my JBoss 3.0.2 server. Everything works fine, but now I'd like to separate web

Re: [JBoss-user] Re: configuring security if web and ejbs on different machines

2002-11-20 Thread Dain
On Wednesday, November 20, 2002, at 03:58 PM, Randy Shoup wrote: Dain wrote: There is no reason you have to separate the web container from the EJB container. The only reason this ever came up in J2EE is the other vendors charge so much for a CPU license you wanted to maximize the CMP

Re: [JBoss-user] does PostgreSQL support the EJB-QL LOCATE() function?

2002-11-20 Thread Dain
Yes. PostgreSQL is one of the few database I personally extensively tested, so I am very confident it works (at least in the newest versions). -dain On Wednesday, November 20, 2002, at 09:18 PM, Herve Tchepannou wrote: does PostgreSQL support the EJB-QL LOCATE() function? -- Herve

Re: [JBoss-user] how to produce pdf files like jboss getting started guide?

2002-11-20 Thread Dain
Type the doc in whatever you like, generate a postscript file and use ps2pdf (http://stat.tamu.edu/doc/gs/Ps2pdf.htm). -dain On Wednesday, November 20, 2002, at 09:05 PM, David Jencks wrote: if you do some archaeology on the old, obsolete, free manual you will find it uses a build system like

Re: [JBoss-user] help please with ejbql

2002-11-19 Thread Dain
of the member of. Something like this: Speciality.code in (?1, ?2, ?3, ?4). 3) after you generate the query call a dynamic ql mapped ejbSelect query. You will have to convert the collection into an Object array but that is simple with toArray. Fairly simple? -dain On Tuesday, November 19, 2002

Re: [JBoss-user] JBoss authorized consultant

2002-11-19 Thread Dain
filter. I suggest that if you want to test the quality of our consultants, you hire IBM Global services for a week and then hire a (single) JBoss consultant for one day, and judge for you self on which group you got the most benefit from. -dain

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-15 Thread Dain Sundstrom
to query across applications. I also don't know what you mean by standard JDBC functionality. -dain Pete Beck wrote: Would this allow JBossQL be used in an ad-hoc manner? So you could use it in a very similar way to JDBC, but in the EJB domain rather than the database domain? A simple solution

Re: [JBoss-user] DELETE UPDATE JBossQL

2002-11-15 Thread Dain Sundstrom
as a select and then flush the entities changed, or we could just flush the entire cache. When we have database notifications working we can rely on them for option A. Anyway, does anyone want to do this? -dain [EMAIL PROTECTED] wrote: What Michael is proposing is adding INSERT, UPDATE

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-13 Thread Dain Sundstrom
Michael Bartmann wrote: Dain, I could help defining the grammar; unfortunately I'm quite busy this week and on a long sought vacation next week, so you'll have to be patient with me. No rush; I won't be able to get to it for a while anyway. The current grammar for JBossQL is not exactly tiny

Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)

2002-11-13 Thread Dain Sundstrom
That shouldn't be to hard once we add support for sub queries, but unless it is supported by most of the major vendors (postgres, oracle, ms, ibm), it wouldn't be worth the work. -dain [EMAIL PROTECTED] wrote: On Tue, Nov 12, 2002 at 04:53:28PM -0600, Dain Sundstrom wrote: What

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-12 Thread Dain Sundstrom
it incredibly unlikely. What Michael is proposing is adding INSERT, UPDATE, and DELETE statements to JBossQL. This is a very cool idea and I hope he spends some time designing a grammar. Once we have a grammar the implementation should be fairly easy. -dain Pete Beck wrote: Even better would be if Sun

Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)

2002-11-12 Thread Dain Sundstrom
What is an INTERSECTION query? Is it widely supported? -dain Marius Kotsbak wrote: What about adding INTERSECTION-queries (whis is possible in postgresql)? Or is it possible by some easy workaround now? On tir, 2002-11-12 at 20:10, Dain Sundstrom wrote: Pete, To better support complex

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-08 Thread Dain Sundstrom
Christian, Thanks for spending the time on this. -dain Christian Riege wrote: Peter, there are lies, damn lies and benchmarks. First of all, thanks for the supplied test and sources. Second, I've run the tests on my machine (1GHz AMD, .5GB RAM, Linux Kernel 2.4.18, JVM 1.4.0_02). I know

Re: [JBoss-user] ejbCreate violating database 'NOT NULL' constraints(foreign keys)

2002-11-08 Thread Dain Sundstrom
There is a patch that supposedly fixes this, but I have not looked at it yet. -dain Alex Loubyansky wrote: Hello Michael, MAL How can I avoid violating NOT NULL constraints on foreign keys that are MAL mapped to cmr-fields? there is no way for now. MAL I know that we're not suppose to set

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-08 Thread Dain Sundstrom
That is a super cool idea. This could easily fit into the 4.0 architecture. Do you want to work on proposing a grammar for insert, update, and delete? Once we have a grammar the conversation to sql is simple, and we can easily throw in cache updating logic. -dain Michael Bartmann wrote

[JBoss-user] Off topic: Never use Expedia

2002-11-08 Thread Dain Sundstrom
at recommends hotels.com as it is easy to change reservations, and I will be checking them out next time. Ok, I'm done ranting now. -dain --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power Color in a compact

Re: [JBoss-user] Off topic: Never use Expedia

2002-11-08 Thread Dain Sundstrom
Ok maybe, I use a POTA (plain old travel agent). -dain Stephen Davidson wrote: Greetings. I can't tell you much about hotels.com, other than there head office is an Ex-Ericson building across the street from where I live, and that their HR and IT people are next to impossible to get a hold

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-07 Thread Dain Sundstrom
You spent the time to build and run a test on two platforms, but you don't have the time to start OptimizeIt and figure out what it killing the performance of your application... Anyway, I'll get to looking at this sometime, but I'm a little busy now. -dain Luttrell, Peter wrote: Over

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-06 Thread Dain Sundstrom
Michael, The idea for an in memory query engine is interesting, but this requires that all of you data to fit into memory and actually be in memory. If you want to write it, that would be cool, but I think there are way more important things to make CMP fast. -dain Michael Bartmann wrote

Re: [JBoss-user] iterator extremely slow problem

2002-11-06 Thread Dain Sundstrom
guess that you are getting 5 queries per loop. -dain Gene Ge wrote: iterator extremely slow problem Because I found my search was very slow, so I made a simple test: code:* .. System.out.println(before

Re: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuni ng Help)

2002-11-06 Thread Dain Sundstrom
. In future release the readahead will be more flexible. -dain Luttrell, Peter wrote: Changing the readahead strategy should not change the results i've posted, as i run though the beans once, hense they are loaded. So back to the questions: Is it acceptable that adding 2 cmrs takes 450

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-06 Thread Dain Sundstrom
Now I am completely confused. What exactly do you want that you can't do today? -dain Michael Bartmann wrote: Dain, I'm a bit confused (especially by your phrase in memory query) and I don't know if you misunderstood me (or Pete's original post) or I misunderstand you. I'll try to make

Re: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuni ng Help)

2002-11-06 Thread Dain Sundstrom
Well, it should be fast then. Now is when you fire up OptimizeIt and findout what part of my code is wasting all that time. -dain Luttrell, Peter wrote: No i did not see that email. I am using commit option A. The first time that I run through all beans, the main ones as well

Re: [JBoss-user] character literal comparison in JBoss-QL

2002-11-06 Thread Dain Sundstrom
The jr.jrFundStatus field is obviously a number and therefore cannot be compared to a string literal. Either change the field to a String or change the query. -dain Rene Palad wrote: I've been doing a: * @jboss:query signature=Collection findFundStatusReservedByJbCode(java.lang.Integer

Re: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?

2002-11-05 Thread Dain Sundstrom
It is in the spec. It would be easy to support iterating outside of the spec, but you would get an inconsistent database on a writeable database. -dain Herve Tchepannou wrote: Is this a requirement of EJB standard or just due to JBoss implementation? -Original Message- From: julien

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-04 Thread Dain Sundstrom
(getSomeOtherField()); } } The important difference is the loading of the value object gets all of the data from the ejb using calls inside of the bean instance and specifically the calls don't travel over a Remote or Local interface. This means there is no code interpositioned. -dain

  1   2   3   4   5   >