RE: findByPrimaryKey problem, Oracle char(10) space padding

2000-11-08 Thread Kurt Hoyt
If you were writing the SQL yourself, you would have to pad string constants yourself when testing for equality against a char field. I'd recommend switching to varchar2(10) instead. varchar2 isn't blank-padded. Kurt in Atlanta -Original Message- From: John Pletka [mailto:[EMAIL

RE: There has GOTTA be a BETTER way !!!!

2000-11-07 Thread Kurt Hoyt
If you take a look at all the code that Orion (and any other EJB server product) "writes" for you when you deploy your beans, and all the code that exists in the server to manage those beans, you'd see that the way EJBs work REDUCE the amount of code you have to write. EJBs are an immature

Running multiple application instances with Orion

2000-10-31 Thread Kurt Hoyt
). If the orionsupport.com folks are listening, you have my permission to add this to your site (just be sure to give credit where due). Kurt in Atlanta Title: Running Multiple Application Instances with Orion Running Multiple Application Instances with Orion Kurt Hoyt ([EMAIL PROTECTED]) This document

RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Kurt Hoyt
-Original Message- From: Kurt Hoyt [mailto:[EMAIL PROTECTED]] Sent: MiƩrcoles, 25 de Octubre de 2000 10:06 To: Orion-Interest Subject: RE: Ok. I feel dumb. Data Sources and MS SQL. I hate to be the bearer of bad news, but you'll have to spring for a type 4 JDBC driver. We bought the one

RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Kurt Hoyt
To: Orion-Interest Subject: RE: Ok. I feel dumb. Data Sources and MS SQL. Has MS removed the ODBC-JDBC bridge in Win 2K? From: Kurt Hoyt [EMAIL PROTECTED] Reply-To: Orion-Interest [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Subject: RE: Ok. I feel dumb. Data Sources and MS SQL. Date

RE: URL Pathing

2000-10-16 Thread Kurt Hoyt
Title: RE: URL Pathing Yes, stuff the information about the root of your system somewhere so you can change it easily across your JSPs. Apparently, this is a hazy part of the servlet/JSP spec(s) that vendors have chosen to implement differently. Kurt in Atlanta -Original Message-

RE: Client application

2000-10-06 Thread Kurt Hoyt
Title: RE: Client application I've gotten that same error, usually the first time I run a client program. I run it again, and it works fine with no NamingException. Very strange. Kurt in Atlanta -Original Message- From: Daniel C. DiCesare [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: BLOBs

2000-10-04 Thread Kurt Hoyt
Title: RE: BLOBs you have to make your own orion-ejb-jar.xml file in that case and tell orion to make a table of your dependent class: ?xml version=1.0? !DOCTYPE orion-ejb-jar PUBLIC -//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN http://www.orionserver.com/dtds/orion-ejb-jar.dtd

RE: OR mapping of table joins for CMP

2000-09-12 Thread Kurt Hoyt
Get Richard Monson-Haefel's book "Enterprise Java Beans". It explains things pretty well. The whole point of CMP is that you don't know (or aren't supposed to know or care) how the EJB server stores your EJBs in the database. The folks who wrote the EJB server are supposed to have studied O/R

RE: I nee help Please Please

2000-09-08 Thread Kurt Hoyt
http://www.orionserver.com/docs/application-creation-howto.html Kurt in Atlanta -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 08, 2000 4:48 PM To: Orion-Interest Subject: I nee help Please Please I'm getting mad because I don't know how

Inheritance

2000-09-01 Thread Kurt Hoyt
I know the EJB 1.1 and 2.0 specs avoid (finesse?) the issue of bean inheritance, but has anyone tried doing anything that mimics inheritance using Orion? If so, can you share how you accomplished it? I have an object model that uses inheritance. I started with a trial version of PowerTier from

URLs in web apps

2000-08-31 Thread Kurt Hoyt
I've noticed an inconsistency in how URLs are used within the servlet engine in Orion. Perhaps I've never had to deal with this since this is the first servlet engine I've used that supports .war files, server.xml, web.xml files, etc. I have a web app that is deployed like this: server.xml

Finding EJBs from JSPs

2000-08-26 Thread Kurt Hoyt
I'm trying to use EJBs from one application (I'll call "A") in a different (web) application (I'll call "B"). Both applications are deployed. Application A has four EJB classes (that I'll call A1, A2, A3, A4). I have ejb-ref tags in B's web.xml that give JNDI names (like ejb/A1) to the EJBs in

Problem creating entities narrowed down

2000-08-17 Thread Kurt Hoyt
I've figured out part of my problem (at least I have a workaround): My entity contains three Date fields. If those fields are not given an explicit value (something other than null), then the ejbCreate fails. Here is a partial stack trace: Nested exception is: java.sql.SQLException: