The insert procedure by-passes OJB's normal insert. Your procedure must
handle the actual insert as well.
-Original Message-
From: Ismail Siddiqui [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 9:49 AM
To: OJB Users List
Subject: insert-procedure
Hi All,
I am trying
Coincidentally and completely by accident, my team found a small vulnerability
today in PBKey. The hashcode is calculated such that the following usernames
and passwords will result in the same broker being returned from the pool:
Username: user
Password: password
is the same to OJB as
I just recently switched to the jDTS driver (free and supports Windows(TM)
authentication) and ran into the problems described below. Was this ever resolved in
your offlist discussions?
--
From: Matthew Baird
I'm very interested in resolving this issue. Please contact
I don't think that the current documentation was meant to imply that it only works for
Oracle, however, the docs are out of sync with CVS at the moment. OJB CVS has support
for using repository.xml to define sp's for insert, update, and delete of objects.
If you can't/do not wish to get CVS
Hi,
I don't think that the current documentation was meant to imply that
it only works for Oracle, however, the docs are out of sync with CVS
at the moment. OJB CVS has support for using repository.xml to define
sp's for insert, update, and delete of objects.
Well, the question is how
Yes, I think you may need the CVS version for this.
-Original Message-
From: Thierry Hanot [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 8:04 AM
To: 'OJB Users List'
Subject: RE: Stored Procedure Question ? ( from newbies )
May be I have the wrong version but
the
wrong object
will be returned. this could be solved here by _not_ using
the pk in
super-reference.
2.) same problem as in 1.)
3.) that's true atm.
4.) also true if the auto-settings of the reference
descriptor are not
set to false.
jakob
BURT, RANDALL (CONTRACTOR) wrote
Jumping in late, but its germane to what I'm working on. So, if I read what everyone
is saying correctly, the following:
class-descriptor class=polymorphtest.InterfaceA
extent-class class-ref=polymorphtest.A /
extent-class class-ref=polymorphtest.B /
extent-class
You can add the
StatementsForClassClass=org.apache.ojb.broker.accesslayer.StatementsForClassImpl
key to your OJB.properties. One of the changes in this release is that your
implementation of StatementsForClassIF can be configured. Don't know if this made it
into the changelog, so be sure you
Its in raw xml, but the info is there.
http://cvs.apache.org/viewcvs/db-ojb/xdocs/how-to-work-with-stored-procedures.xml?rev=1.1content-type=text/vnd.viewcvs-markup
-Original Message-
From: Alen Ribic [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:41 PM
To: OJB Users List
, RANDALL (CONTRACTOR) [mailto:[EMAIL PROTECTED]
You would need to add one more field-descriptor for the
parentId field like so:
field-descriptor id=3 name=parentId column=parentId
jdbc-type=INTEGER/
ah, an oversight on my part ... makes sense. Anonymous field would
save me
The project I'm on has come to the point of integrating sp's into the app, and I was
wondering if there were any plans to incorporate Mr. Gallagher's ideas into the main
OJB distribution. If so, I'd be more than willing to lend a hand.
Also, maybe its my ignorance, but could you expand on the
I haven't had any luck with anything other than MS's driver, sorry. You may want to
try the jtds driver from sourceforge.
Any indication as to why the installation failed?
-Original Message-
From: Marcelo Magno [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 3:57 PM
To: OJB Users
Pooling other than what OJB provides?
-Original Message-
From: Lukas Severin [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 6:36 AM
To: OJB Users List
Subject: How to configure OJB with Tomcat
I read the documentation about setting up OJB in a servlet. However I
couldnt find
in OJB.properties, but
didnt really get it since I thought this was the containers (ie Tomcats) job
to handle, for example using jakarta-commons-dbcp. So what I am saying is
that all I need is a pooled connection to the underlying database.
Thanks for help !
- Original Message -
From: BURT, RANDALL
?
Anyone else care to share their opinions on this ?
- Original Message -
From: BURT, RANDALL (CONTRACTOR) [EMAIL PROTECTED]
To: OJB Users List [EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 4:12 PM
Subject: RE: How to configure OJB with Tomcat
My pleasure. I also am using OJB with Tomcat
see it is that all these different ORM tools have their own
non standard interfaces... I tried Castor and TJDO before. Thats why I want
an open source JDO ;-)
(preferably as part of j2ee). Well, future will tell...
- Original Message -
From: BURT, RANDALL (CONTRACTOR) [EMAIL PROTECTED
Hi folks,
There is still caching, but is ignored.
So, wouldn't ObjectCacheEmptyImpl be just as good in this situation, or am I missing
something?
-Original Message-
From: Thomas Mahler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 5:00 AM
To: OJB Users List
Subject: Re: Cache
repository.xml
and the one I modified is turning up nothing that I can see.
thanks,
Bonnie MacKellar
-Original Message-
From: BURT, RANDALL (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 10:50 AM
To: OJB Users List
Subject: RE: repository.xml question
Don't know about
.
java.lang.ExceptionInInitializerError: org.xml.sax.SAXParseException: The
conten
t of elements must consist of well-formed character data or markup.
I notice that I get the same error when I try to verify using an xml plugin
for Eclipse.
-Original Message-
From: BURT, RANDALL (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent
Seems that
org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(java.lang.String
repositoryFile, java.lang.String user, java.lang.String password)
may be what you are looking for? I'm new to OJB too, so I'm not sure this is right,
but it seems to be. Found this by grepping
you need to rename the file to .tar.gz and it should work.
-Original Message-
From: Clark O'Brien [mailto:Clarke.O'[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:29 PM
To: [EMAIL PROTECTED]
Subject: super simple
Hi,
Sorry to post such a newbie question but I am at a loss how to
Sorry, that would be db-ojb-1.0.rc2.tar.gz
-Original Message-
From: Clark O'Brien [mailto:Clarke.O'[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 1:29 PM
To: [EMAIL PROTECTED]
Subject: super simple
Hi,
Sorry to post such a newbie question but I am at a loss how to download and
install
Whoo-hoo, batting 1000 today...
The file name should be db-ojb-1.0.rc2.tgz. When you open it up in WinZip, it should
tell you that the archive contains one file, and should WZ extract it to a temp file
and open it. Say yes, then extract the listed contents to your hard drive.
Just as a heads
Hello,
To create the core tables in my db, I just ran ${OJB INSTALL
DIRECTORY}\target\src\sql\ojbcore-schema.sql (the slant of your slashes may vary)
against a new database after running the prepare-testdb target. There may be a better
way, I dunno.
As for 2), you can always roll your own, I
Well, the JUnit errors *were* nothing to worry about. I've completed some small spikes
and things are looking good so far. Thanks to everyone for their help and input. I'm
sure you'll be hearing more from us as this project gets going!
-Original Message-
From: BURT, RANDALL (CONTRACTOR
Could be. I know I'm using rc1, but I copied the properties file from one of the
examples. Going to try rc2 now and see if that helps. Thanks for your assistance, I'll
let you know how it goes...
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29,
Don't know if I should submit a bug report on this or not, but when I tried to run the
prepare-testdb target using MSSQL server 2000 (MS's JDBC Driver), I would get the
following error:
[torque-insert-sql] Executing file:
C:\java\utils\db-ojb-1.0.rc2\target\src\sql\ojbtest-schema.sql
]
Sent: Monday, March 31, 2003 3:09 PM
To: OJB Users List
Subject: RE: MSSQL server - error in ojbtest-schema.xml
Thanks for this post. I was also getting this today (using JTurbo).
Bonnie MacKellar
-Original Message-
From: BURT, RANDALL (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Monday
getting this today (using JTurbo).
Bonnie MacKellar
-Original Message-
From: BURT, RANDALL (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 3:05 PM
To: OJB Users List
Subject: MSSQL server - error in ojbtest-schema.xml
Don't know if I should submit a bug report
and Opta2000 #2. Bother are great drivers.
-Original Message-
From: BURT, RANDALL (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 1:25 PM
To: OJB Users List
Subject: RE: MSSQL server - error in ojbtest-schema.xml
I'll give it a shot. Truth to tell, *I* wouldn't use MSSQL
if these are important or not.
Bonnie MacKellar
-Original Message-
From: BURT, RANDALL (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 5:01 PM
To: OJB Users List
Subject: RE: MSSQL server - error in ojbtest-schema.xml
Some issues with the JSQLConnect driver:
1. Due
Hi! I'm new to OJB, and was banging my head against the following error:
[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default
PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=*
[org.apache.ojb.broker.accesslayer.ConnectionManagerFactory]
-alias=default
platform=MySQL
jdbc-level=2.0
driver=com.p6spy.engine.spy.P6SpyDriver
protocol=jdbc
subprotocol=mysql
dbalias=//localhost:3306/brjtest
username=
jakob
BURT, RANDALL (CONTRACTOR) wrote:
Hi
No, this is the only version I have used. However, ConnectionManagerClass does not
seem to be specified in my OJB.properties file...
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 1:17 PM
To: OJB Users List
Subject: Re: Creation of a new PB
Yes, as copied from my OJB.properties:
(...)
# The PersistenceBrokerFactoryClass entry decides which concrete
# PersistenceBrokerFactory implemention is to be used.
# Use this by for non-managed environments:
: ConfigurableFactory
configuration key class 'null' does not exist.
[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a
new PB instance failed
null
Still stumped...
Message-
From: BURT, RANDALL (CONTRACTOR)
Sent: Saturday, March 29, 2003 1:57 PM
To: OJB Users List
37 matches
Mail list logo