I have a project that is both Struts/OJB and Spring MVC/Hibernate
which uses Acegi in parts. I extended LdapPasswordAuthenticationDao
to return UserDetails from the loadUserByUsernameAndPassword method
but just used direct JDBC (not OJB) in this method to check the database for
privileges.
-
Thomas Dudziak wrote:
On 8/14/06, Neil Smith [EMAIL PROTECTED] wrote:
I am about to start a new Spring MVC project using Acegi for security
access and OJB for
persistance. Acegi has a JDBC implementation for accessing the user
details from a database.
Question: Is it advisable to write an
Thomas Dudziak wrote:
On 8/14/06, Neil Smith [EMAIL PROTECTED] wrote:
I am about to start a new Spring MVC project using Acegi for security
access and OJB for
persistance. Acegi has a JDBC implementation for accessing the user
details from a database.
Question: Is it advisable to write an
I'm having the same problem. Is there an elegant solution to this in OJB?
Bart Molenkamp wrote:
Hi,
I've a problem storing objects using m:n relations. Suppose I have a
class Person, and a class Project, and an m:n relationship between them
(classic example). Now, in a single transaction, I want
I'm using Sybase and need to search for a quoted string like O'Hare
Airport
In Sybase, when quoted_identifier is set on, this must be specified as
'O''Hare Airport'
OJB is using 'O'Hare Airport' which causes a SQL errror.
I assume I have to subclass the Sybase JCBC Implementation JDBCAccessImpl
was this ever implemented? I'm having the same issue with sorting extents
in RC3.
Matthew Baird [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
my thoughts are we could generate a comparator on the fly and use it to sort
the collection, it would definitely be done in the code, not in
FYI.
I have 2 different extents (PaymentDecision and CommitmentDecision) that
extend the same class, Decision . Each is persisted in a different table.
When I try to retrieve Decision using QueryBySQL, I have to associate one
of the descendent tables to Decision in its class-description table
I'm using OJB 1.0 rc3 with WebSphere 5.0 J2EE Stuts 1.1 client using the
default object cache implementation.
This is occuring right after a transaction rollback due to a database error
(org.apache.ojb.broker.KeyConstraintViolatedException:) in a call to
pb.store(obj). The update method was
1
When I issue a getIteratorByQuery when using a QueryBySQL, the startAtIndex
and endAtIndex are ignored.
When I issue a getCollectionByQuery on the query, it fails because it is a
union:
Query q =
new QueryBySQL(
PayeeTO.class,
SELECT distinct
Armin,
It worked like a champ.
Definitely a need for some java doc before release 1.0 :)
Thanks for the quick response!
Brian
Armin Waibel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Brain,
- Original Message -
From: Brian Chaplin [EMAIL PROTECTED]
To: [EMAIL
I updated the code in this tutorial to run with version 1.0:
public abstract class DBAutoIncremented
implements PersistenceBrokerAware {
private static final String ID_ATTRIBUTE_NAME = m_id;
public void afterDelete(PersistenceBroker broker)
throws PersistenceBrokerException {
}
public
In Websphere WSAD 5.0 JDK 1.3 whenever I rebuild the project, OJB (RC3)
forces me to restart the server. I think the websphere class loader might
be confusing OJB. Has anyone been able to rebuild the project in WSAD using
OJB without having to restart the server?
Here's the detail:
The boot
Did you ever solve this? I'm having the same issue with Sybase 11.9.3
identity columns.
Peter Costa [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am stuck with it for right now. So I take it there is no easy way
around this other than removing the Identities. If anyone has any
I could log using P6spy in a standalone test using WSAD 5.0 but not when I
invoked it under websphere server, only the startup messages would display.
Any clues?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
14 matches
Mail list logo