Hi Marco,
On 6/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I am developing a project using OJB with the xdoclet module as
persistance layer.
In my project I need to use interfaces, but I have a problem in the
xdoclet annotation of the interfaces.
For example, if I write:
/**
*
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 OJB implementation of
On 8/12/06, Krzysztof Borkowski [EMAIL PROTECTED] wrote:
I have just started my adveture with OJB. I've read the Getting
Started and FAQ and have tried to launch the ojb_blank. It works great
with the Hsqldb but don't want to work with PostgreSQL.
The problem is the setup-db target. It seems
On 8/11/06, Wright, Jim (NIH/CIT) [C] [EMAIL PROTECTED] wrote:
Tom, I also did a little experiment to see the order in which each
object is inserted by the store method. However the only one that
appeared to be inserted was my report object which is the parent of
scientist and IOS objects. I
On 8/11/06, Wright, Jim (NIH/CIT) [C] [EMAIL PROTECTED] wrote:
I have a field in a class called IOS that is not getting populated from
the foreign key definition in the scientist reference-descriptor shown
in IOS class-descriptor.
My guess is that your problem stems from the fact that you use
On 7/26/06, Christopher Cheng [EMAIL PROTECTED] wrote:
I have a problem with the indirection table mapping.
class-descriptor
class=com.example.Project
table=Project
collection-descriptor
name=members
element-class-ref=com.example.Member
On 7/24/06, Dennis Bekkering [EMAIL PROTECTED] wrote:
I checked OJB.properties and I am using ConnectionFactoryPooledImpl.class .
I kill the connections with the mysql administrator tool, simulating timed
out connections. I discovered that the validation query is not called on non
transactional
On 7/21/06, Dennis Bekkering [EMAIL PROTECTED] wrote:
I am experiecing problems with mysql regarding connection time outs again.
This problem cannot be resolved by the pool settings provided or jdbc driver
settings such as autoReconnect (wich should not be used anyhow). Here is a
more detailed
On 7/18/06, ABOU LINA [EMAIL PROTECTED] wrote:
Hi, i got this error using db-ojb-1.0.rc5.jar.
thx in advance.
[PersistentField] ERROR: while set field:
object class[ stat.module.diffusion.donnees.BenefDirect
target field: code
target field type: class java.lang.Integer
object value class:
On 7/5/06, Bruno CROS [EMAIL PROTECTED] wrote:
I noticed that the proxy keyword can't accept dynamic value. dynamic
is an accepted value in repository file and seems to be different of true.
On my setup, dynamic values works fine with CGLib proxies and,
proxy=true seems to not...
Does
On 6/30/06, Enrico Silterra [EMAIL PROTECTED] wrote:
I am implementing a soap service to access some data
maintained by another servlet within tomcat. OJB is configured into
that servlet and works fine.
I am trying to add ojb into my soap service - so this is all happening within
the axis
On 6/19/06, Dennis Bekkering [EMAIL PROTECTED] wrote:
When i add a record to a collection that is of type many 2 many the
following sql is executed
INSERT INTO m2m_196 (ruleValueListId,ruleValueId) VALUES (?,?) , the id
field is not specified in the query but the table has such a field and
On 6/19/06, Janssen, Roger [EMAIL PROTECTED] wrote:
Diving deeper into the OJB code I see that the ensureColumns method in
fact does two things:
(1) add the columns to the returnable set of columns in the resultset
(2) adds the columns to a list of columns to be used in force a join
(2) is
On 6/14/06, Joose Vettenranta [EMAIL PROTECTED] wrote:
I want to use generic proxy for lazy loading 1:n connections.
Say I have class Foo
Do I need to have also Interface for class Foo to make proxy to work?
Say like Interface IntFoo
or does the generic proxy thingie work without that
On 6/11/06, Younwook Jang [EMAIL PROTECTED] wrote:
Would you please provide advice about it..? I tried to search this
mailing list, but I couldn't find the solution...
Any information or comment also highly appreciated.
This error usually happens because either the database is not
correctly
On 5/10/06, Armin Waibel [EMAIL PROTECTED] wrote:
Seems the apache server kills your attachment.
Yep, ZIP attachements (among others) are not allowed for Apache mailing lists.
You could open an issue in JIRA
http://issues.apache.org/jira/browse/OJB
and attach the source to this issue.
On 5/3/06, Anjishnu Bandyopadhyay [EMAIL PROTECTED] wrote:
Thanks Antonio for the pointer.
But this does not serve my purpose. (The document talks of executing an SP when a
persistable class/ bean (corresponding to a row of data in a table of
database) is inserted/modified/deleted).
I
On 3/9/06, Saman Ghodsian [EMAIL PROTECTED] wrote:
I have an implementation of my model with OJB using just PersistenceBroker.
Now I'm looking into adding transactional support, looked into ODMG but it
seems complex to implement since all my mapping and query is in Broker
lingo, so I'm
On 3/6/06, Sean C. McCarthy [EMAIL PROTECTED] wrote:
I'm trying to work with Derby, but I'm not sure which DB to use for the
torque.database property.
Looking at the torque-gen I see there is a cloudscape, is cloudscape the
name to set? Any other special configuration needed? Is there any
On 3/7/06, Byrne, Ailish M [EMAIL PROTECTED] wrote:
This issue was related to the fact that we are using XAPool. Here is
the explanation from the experts. I've cc'd them in case you have any
questions. They patched our OJB 1.0.4 jar as a temporary solution.
On 3/1/06, Laurent Sacaut [EMAIL PROTECTED] wrote:
I tested the sql statements generated by torque in project--schema under
build/database directly in the mysql command-line AND using mysqlcc and
they work just fine.
Please use a tool that uses the JDBC driver, e.g. Squirrel SQL, or
Ant's sql
On 2/24/06, Laurent Sacaut [EMAIL PROTECTED] wrote:
When trying to run the setup-db ant task from the build file, I am
getting an error coming from the build-torque.xml file.
I modified builds.properties and OJB.properties to fit my test project
but can get it to run.
I created the database
On 2/27/06, Laurent Sacaut [EMAIL PROTECTED] wrote:
Here are the settings from build.properties in ojb:
snip
These all look ok.
I left the build-torque.xml file untouched, but I noticed that in the
path id=torque-classpath section, it is trying to include files I
don't have such as
On 2/21/06, Bruno CROS [EMAIL PROTECTED] wrote:
Apparently, 1.0.4 does not support Oracle 10g platform (torque does but not
the OJB runtime)
So, i go on with oracle 9i settings. Does anyone report experience (good or
bad) of that ?
OJB does work just fine with 10g. As far as OJB is
On 2/3/06, Bruno CROS [EMAIL PROTECTED] wrote:
Following the Armin's advice, i'm currently migrating from 1.0.1 to 1.0.4
I started with the 1.0.4 ojb-blank.jar to replace all files. jar of course,
and configuration ones too.
I stop with Torque (to generate Oracle 9i database) with an
On 2/3/06, Bruno CROS [EMAIL PROTECTED] wrote:
sorry, can't see the link with the thread you gave me.
Why not ? Alternatively, you could use the user mailing list archive
link on the OJB site, and check the threads for 30 Jan. The Thread is
called Problems upgrading to ojb1.04.
There is
On 2/3/06, Bruno CROS [EMAIL PROTECTED] wrote:
First you will find the ant trace of setup-db task, the torque error is
painted in red.
Second, you will find my build.properties used by the task.
[torque-sql] 2006-02-03 13:21:48,578 [main] INFO
On 2/3/06, Bruno CROS [EMAIL PROTECTED] wrote:
i 'm afraid i need to repatch distributed torque-gen-3.1.1.jar to have
TIMESTAMP jdbc type created for java.sql.Date and java.sql.timestamp as i
wrote in an old old post. (specific to oracle 9i and older )
You might want to try DdlUtils
On 2/1/06, Milisic Aleksandar [EMAIL PROTECTED] wrote:
Problem solved. For future reference if anybody runs
into this problem, the torque.delimiter in
build-torque.xml needs to be set to / since the
generated SQL uses the / to separate sql statements.
Perhaps this should be somewhere in
FWIW, DBCP seems to have some problems with Oracle (at least I had
some issues where the poolable connection waited forever for a new
connection). You might be better of using the datasource supplied by
the Oracle jdbc driver.
Tom
On 1/31/06, Milisic Aleksandar [EMAIL PROTECTED] wrote:
Unfortunately, I have run into a different problem. I
am so bewildered by it that I started another small
project in one of the ojb-blank environments for
ojb1.04 to test this out and make sure it has nothing
to do with my environment.
Hi folks,
after some serious profiling (and finding a bug in the Mustang b68
VM), I've added some additional cleanup calls to OJB (SVN of the
stable branch). Please give it a try to see whether that suffices.
However, you also need to do some work in your own webapp to ensure
proper cleanup. The
On 1/25/06, Jean-Yves Sironneau [EMAIL PROTECTED] wrote:
I have a question regarding the handling of large data with ojb on the
Postgres platform.
- I think Blobs are not supported on this platform, is that true ?
- What is the best way to tell ojb to fetch the data from a field on each
On 1/25/06, Fabbri Michele [EMAIL PROTECTED] wrote:
I have a poblem using OJB 1.0.3 with Oracle9i, when I try to connect to
datasource defined with jndi in tomcat 5, if I define the datasource in
repository it works.
I'm no Oracle expert, so I'm not sure whether it helps, but you could
try
On 1/24/06, Rick Roman [EMAIL PROTECTED] wrote:
I am using Tomcat 5.5.4. I am almost certain it is OJB. I created a
stripped down context with the minimum classes needed to run OJB and
could pin the memory increase to touching anything that initiallized
OJB. I have also chased down other known
Hi folks,
I've put the 1.0.4 release into the maven repository. If all goes
well, it should be visible sometime tomorrow (if not earlier). Please
let me know whether it works (esp. the dependencies in the pom),
because I'm not a maven user myself, rather I've been strictly
following the release
On 1/9/06, Dennis Bekkering [EMAIL PROTECTED] wrote:
wel that didn't help now it looks like this and that still doesn't help.
What do I have to do? My customers go crazy over this and me too!!! I really
don't know what to do anymore. On production I didn't switch to
1.0.4because lazy loading
On 1/9/06, Dennis Bekkering [EMAIL PROTECTED] wrote:
The whole thing looks like this now, I don't use 1.0.4 though on production.
Does the attribute do anything then. It runs on rc7.
The custom attribute is new in 1.0.4, so it won't do anyting in older versions.
I'd suggest you first update to
On 1/9/06, Zhong Li [EMAIL PROTECTED] wrote:
Our application runs for a few weeks, today I got exceptions, The strange
thing is, the application can query, delete and save, but not insert (
create new Object). We use OJB 1.0.3. From exception, it seems run out of
connections. But question is
On 1/5/06, Dennis Bekkering [EMAIL PROTECTED] wrote:
I asked my provider and they didn't change anything. They pointed out the
possible absence of autoReconnect=true in my JDBC url. Does anybody knows if
that might help. I'd rather have that than a ping query for every call.
Hmm,
Hi,
just for your information, OJB is now on Subversion. I've updated the
links on the OJB website accordingly.
Here are some helpful links if you want to work with the bleeding edge OJB:
How to use Subversion @ Apache:
---
On 1/3/06, Dennis Bekkering [EMAIL PROTECTED] wrote:
Hello,
I suddenly out of the blue get the following trace. It happens sometimes not
all the time. Does anybody knows what this means. And what can be done about
it?
rethrown as org.apache.ojb.broker.PersistenceBrokerSQLException:
Hi folks,
The OJB team is happy to announce that OJB version 1.0.4 has (finally)
been released and should be available right now at a mirror near you.
This is a feature and bug-fix release:
-
Release 1.0.4
On 12/27/05, Vamsi Atluri [EMAIL PROTECTED] wrote:
I am currently using ojb 1.0.1. I have a table with several references.
The first time when I insert to this table everything inserts correctly.
The next time, when I need to update this row, I retrieve the reference
from DB, update the
On 12/27/05, Dennis Bekkering [EMAIL PROTECTED] wrote:
I don't understand the following, how those the kit know if the connection
already is in a transaction?
public Iterator moreRealisticQueryByCriteria(Query query, int lock)
{
OTMKit kit = SimpleKit.getInstance();
OTMConnection
On 12/22/05, Hale India [EMAIL PROTECTED] wrote:
I use OJB in our project and we are very happy with it.
I just see in news that a jdo project has been created in the apache Db
Project.
I saw that it is question to implement JSR 243 and that the reference
implementation is jpox :
On 12/22/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ack! I've had no problem using OJB with MSAccess as long as I use
MyEclipse, but as soon as I try to run without it, I get this error in
the Tomcat log:
This might be a problem with multiple connections because AFAIK MS
Access only
I wonder, why do you clear the cache prior to storing the objects ?
And you need transactions around the store call.
Tom
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 12/19/05, Vamsi Atluri [EMAIL PROTECTED] wrote:
CREATE TABLE A (
A_ID INTEGER NOT NULL,
B_ID INTEGER,
X_ID INTEGER,
Y_ID INTEGER,
A_NAME VARCHAR (40),
CONSTRAINT A_PK PRIMARY KEY (A_ID),
CONSTRAINT A_FK1 FOREIGN KEY (B_ID, X_ID,
On 12/5/05, Christopher C. Worley [EMAIL PROTECTED] wrote:
I would like to perform operations on an object before the object is
persisted. One thing I would like to do is set a transactionDate
field. I want the field to be set on the server side so all records can
be set to the same date.
On 12/1/05, Craig A. Vanderborgh [EMAIL PROTECTED] wrote:
We need to build OJB using gcj 3.3.2 for an embedded system. Is it
possible? What experiences have people had using OJB w/gcj 3.3.x?
Never tried it, but I think with the newer gcj versions this should be
doable. You should check
On 11/28/05, Joose Vettenranta [EMAIL PROTECTED] wrote:
I have like this:
public class A implements Foo {
private Integer id;
...
getter/setter..
}
public class B implements Foo {
private Integer id;
...
getter/setter..
}
public interface Foo {
public Integer
On 11/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Torque doesn't work with MS Access. That just means you have to
set up your test data manually.
You could add a feature request over at the DdlUtils JIRA
(issues.apache.org/jira/browse/DDLUTILS) for adding support for MS
Access. DdlUtils
On 11/10/05, werner [EMAIL PROTECTED] wrote:
I'm using OJB 1.0.3 with PB-API and it'S doing a great job. Now I'm
looking for some information about the equals() and hashCode() methods:
- In which cases should they be overwritten?
In general it is a good idea to overwrite these methods because
On 11/10/05, werner [EMAIL PROTECTED] wrote:
Thanks for your answer. The hashCode function is a little mystery to me.
I use a standard database setup where every table has a primary key
(auto increment integer). Is it a proper solution to add the hashcode of
all fields except the primary and
On 11/9/05, Thomas Franke [EMAIL PROTECTED] wrote:
I implemented the prepareNextValProcedureStatement() method in the class
above.
Now the SequenceManagerStoredProcedureImpl works also together with Informix.
This implementation is tested against Informix Dynamik Server 9.4 and the
Informix
On 11/9/05, Thomas Franke [EMAIL PROTECTED] wrote:
Yes, I will both of them.
But I could need a little help. Where can I do the first one?
Usually you would do so here:
http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10700
but this seems to be down at the moment. But I guess it
On 11/4/05, Daniel Perry [EMAIL PROTECTED] wrote:
Not sure if this is really an bug, or just a 'feature', but things dont get
linked under certain curcumstances.
I have two objects: activity, and attachment.
An activity has a collection of attachments.
/**
*
On 11/3/05, Charles Harvey III [EMAIL PROTECTED] wrote:
Wow. Figured it out. This goes back to my Impossibly long insert
time for one object e-mail conversation from last week.
I actually found a bug.
org.apache.ojb.broker.platforms.PlatformMsSQLServerImpl
This method to be exact:
On 11/1/05, Warner Onstine [EMAIL PROTECTED] wrote:
Sorry, (stupid gmail). The rest of my question when trying to connect
with a test I get this error message:
2005-10-31 16:49:54,927 [main] ERROR
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl ::
Instantiation of jdbc driver
On 10/29/05, Warner Onstine [EMAIL PROTECTED] wrote:
Ok, So I finally got things converted to ojb-1.1.0 (is this correct,
that's what gets built) and I went through OJB.properties and changed
our relevant properties to match what was in cvs head. I also set the
first test descriptor to
On 10/28/05, Charles Harvey III [EMAIL PROTECTED] wrote:
I just ran a little test on this query.
My test, wipe out all the data. I am inserting into 3 tables when
a user takes a quiz. Each had close to or over a million rows. So,
I wiped 'em out. Than ran it again. Works like a charm.
On 10/27/05, Warner Onstine [EMAIL PROTECTED] wrote:
Hopefully a quick question, we are currently using spring 1.1.5, but
this appears to break with the latest from head (1.1.0 ?). I have
dropped in spring 1.2.5 and it appears to support what's in CVS I just
wanted to make sure.
Yep, in
On 10/27/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Has anybody created a test database using Microsoft Access? When I run
ant prepare-testdb with MySQL, it works fine, but when I switch to
MSAccess, it gets this error:
C:\Java\db-ojb-1.0.3\ojb-blank\src\schema\build-torque.xml:300:
On 10/26/05, Bernd Laengerich [EMAIL PROTECTED] wrote:
Thomas Dudziak wrote:
I think the error comes from the XDoclet module, not from Torque.
The problem is that you should not redefine the field in the subclass
I haven't redefined it in the java code, so you think it should not
appear
On 10/26/05, Warner Onstine [EMAIL PROTECTED] wrote:
Ok, I'm working on implementing the custom proxy class and am having
some issues. When I try and use my custom Proxy class I get the
following:
Unable to create proxy using class:org.kuali.module.chart.bo.AccountProxy
AccountProxy
On 10/26/05, Bernd Laengerich [EMAIL PROTECTED] wrote:
As for the error message, for now you can turn off the XDoclet check
using the checks attribute as described here:#
It's not XDoclet complaining, but Torque, so is this a Torque issue?
The error message and stack trace (with -debug)
On 10/26/05, Warner Onstine [EMAIL PROTECTED] wrote:
Well, I was hoping that that would do the trick but no dice. I'm still
getting the error that it cannot create a proxy using my proxy class.
snip
Caused by: java.lang.NoSuchMethodException:
On 10/27/05, Warner Onstine [EMAIL PROTECTED] wrote:
Alright so it does appear to have been caused by some weird classpath
issue. But now I'm running into another problem.
org.apache.ojb.broker.PersistenceBrokerException:
org.apache.ojb.broker.PersistenceBrokerException: Error invoking
On 10/27/05, Jason A. Lunn [EMAIL PROTECTED] wrote:
I have an indirection table foo_bar that happily implements an
m:n relationship between foo and bar. the columns of foo_bar include
foo_id, bar_id, and a unique id for the association itself (mysql
backend, the id column is inserted
On 10/24/05, Angel Cepa Pandiella [EMAIL PROTECTED] wrote:
I need to map inheritance as described in
http://db.apache.org/ojb/docu/guides/advanced-technique.html#Mapping+Classes
+on+Multiple+Joined+Tables but I have to generate the ojb schema from a
Torque one. I use Torque to generate the
On 10/25/05, Bernd Laengerich [EMAIL PROTECTED] wrote:
Hi,
is there any way to tell OJB to use a different attribute name for a
specific class instead of ojbConcreteClass?
The problem is, I have a table A with objects of two different classes
A und B (both using inheritance) instantiated
On 10/25/05, Warner Onstine [EMAIL PROTECTED] wrote:
Hi all,
This is my first project using OJB so forgive me if this is a simple
question, however I can't find anything specific in the docs for this.
Currently we have an object called Account which extends another object
called
On 10/17/05, Thad Welch [EMAIL PROTECTED] wrote:
i'm trying to change OJB's log4j appender from the console to a file.
so i edited log4j.properties and replace:
log4j.appender.A1=org.apache.log4j.ConsoleAppender
with
log4j.appender.A1=org.apache.log4j.RollingFileAppender
On 10/16/05, Hale India [EMAIL PROTECTED] wrote:
I am looking to know if unique constraints are managed
when reverse ingeneering from database using Jdbc.
In torque dtd unique and unique-column tags exists so
table creation is made using them, but what's happen
is we generate torque from a
On 10/12/05, Charles Harvey III [EMAIL PROTECTED] wrote:
Hello.
My application is taking years to insert an object and I can't figure
out why for the life of me. For starters, my test DB is in a different
location than my dev box, so there is a lag time, and I am ok with that.
But for one
On 10/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm sorry I wasn't clear. The repository.dtd that comes with
db-ojb-1.0.3 contains this definition:
!ATTLIST descriptor-repository
version (1.0) #REQUIRED
isolation-level (read-uncommitted | read-committed |
On 10/4/05, David Forslund [EMAIL PROTECTED] wrote:
I get the following error when trying to access a field of an element of
a list:
[PersistentField] ERROR: while set field:
[try to set 'object value' in 'target object'
target obj class: gov.lanl.PidServer.PTrait_
target field name: values
On 10/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I have a different problem maybe you can help me with. I setup
everything to work with a MySQL database like the example and it chokes
in the setup-db phase because the project-schema.xml file is incomplete:
?xml version=1.0
On 10/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Please direct your questions to the user list, not to us
developers directly. This will give you the benefit that more
people may be able to help you, and that others may benefit
from the answers.
Trust me, if I could figure out how,
On 10/3/05, Pedro Emanuel Castro Faria Salgado [EMAIL PROTECTED] wrote:
After storing an object with a date property with a null value, I always
retrieve the object with a non-null value on that property (in fact it comes
with the time when the object was stored) when it should be null.
I
On 10/3/05, David Forslund [EMAIL PROTECTED] wrote:
This example seems to be in the CVS version of QueryTest but not in
version 1.0.3. Can I assume, though, that it works even though there
is no test for it in 1.0.3?
Seems that in the 1.0.x branch, the only test using QueryByExample is
the
On 9/29/05, Hiller, Frank RD-AS2 [EMAIL PROTECTED] wrote:
I'm using OJB 1.0.3. and Tomcat 5.0.28.
OJB lib is in ..\webapps\MyApp\WEB-INF\lib.
Where would I have to place db-ojb-1.0.3.jar if I would like to use it
from several webapps?
Tomcat\common\lib?
Tomcat\shared\lib?
Somewhere else?
On 9/27/05, Hale India [EMAIL PROTECTED] wrote:
I will try for Jira, but I don't know how to use
it
It's not difficult, simply go to
http://issues.apache.org/jira/
there register for a new account for you (the account is for all
Apache projects that use JIRA as their bugtracking system,
On 9/26/05, Hale India [EMAIL PROTECTED] wrote:
I am using Ojb from some time and would like to find
out Turbine XML format definition.
I have been looking at Turbine site, torque site etc.
You can find the DTDs here:
http://db.apache.org/torque/dtd/
the DTD currently used by DdlUtils
On 9/26/05, Hale India [EMAIL PROTECTED] wrote:
index tag and unique tag exists in both dtd but I
found no index element nor unique element created when
I have generated XML from our database using
DatabaseIO().write
You could add a bug to DdlUtils' JIRA. If possible please use the
On 9/22/05, Davide Emanuele Denicolo [EMAIL PROTECTED] wrote:
Hi at all!
I have this problem:
I'm using MS SQL Server 2000 as information repository and ojb with java
My problem is that when the connection between tomcat and sql server has
broken or SQL gets down,I receive this message to
Hi folks,
has anybody some advice as to how to best configure Spring OJB
(1.0.3) with regard to caching and locking ?
My thoughts were to use either the 2-level or the oscache impl, and
use pessimistic read-committed locking (how to do that with spring
transactions and the PB-Api ?)
ideas,
On 9/22/05, Thomas Franke [EMAIL PROTECTED] wrote:
I downloaded the ojb-blank.jar from
'http://mirrorspace.org/apache/db/ojb/db-ojb-1.0.3/'.
But I'm missing the profile directory with the database profiles in it. I
thought this is necessary. What does that mean?
Nope, the profiles are
On 9/22/05, Jason McKerr [EMAIL PROTECTED] wrote:
I wrote the following article which should allow you to use locking and
2-level caching with Spring and OJB quite easily. My implementation is
simple, but you should be able to change it to use whatever you want.
On 9/21/05, Alex Epshteyn [EMAIL PROTECTED] wrote:
MySQL gives me an error when Torque attempts to execute my generated
.sql file. This happens because the a CREATE TABLE statement has a
foreign key pointing to a table that hasn't been created yet.
There are two possible ways I can think of
The DdlUtils website is slightly out of date (should be fixed this
week), here's how you'd use it in your Ant build file (with PostgreSQL
in this example, but it is similar with MySQL):
taskdef name=ddlToDatabase
classname=org.apache.ddlutils.task.DdlToDatabaseTask
classpath
On 9/21/05, Bob Damato [EMAIL PROTECTED] wrote:
I've actually been able to get OJB completely up and running in the portal. I
had to hack the OJB source though to do so. In
org/apache/ojb/broker/metadata/RepositoryPersistor.java, I hardcoded the
SAXParserFactory to be an instance of
On 9/15/05, Maksimenko Alexander [EMAIL PROTECTED] wrote:
Hi All!
I specify auto-delete=true in my collection descriptor
/**
* @ojb.collection
element-class-ref=com.esaya.webmail.datamodel.folder.mail.EmailMessage
foreignkey=mailFolderId
* database-foreignkey=false
On 9/15/05, Gru Samuel [EMAIL PROTECTED] wrote:
Hi,
Now i use the 1.0.3 version (the pb with ArrayIndexOutOfBoundsException is
resolved). :-)
I don't know how to describe in descriptors my classes diagram following :
Interface Taille
{
int get_LargeurColonne();
}
Class
On 9/15/05, Maksimenko Alexander [EMAIL PROTECTED] wrote:
as I can understand torque generator support ondelte attribute in constraint
so you need only add this attribute in generated by OJB-Doclet
torque-schema.xml
or am I miss something ?
Please create a JIRA issue for this, I'll have a
On 9/15/05, Gru Samuel [EMAIL PROTECTED] wrote:
I don't think it is the solution.
Because i have other classes (with descriptors) with '_' as the first
character and it works
For me, it is a problem of Interface !
I think the PersistentFieldIntrospectorImplNew class find the setter method
On 9/7/05, Daniel Perry [EMAIL PROTECTED] wrote:
What i mean, is that you cant do:
field-descriptor
name=deleted
column=deleted
jdbc-type=TINYINT
conversion=org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldCo
nversion/
It would make sense to use tinyint for booleans as
On 9/7/05, Daniel Perry [EMAIL PROTECTED] wrote:
The following works fine:
/**
* @ojb.field jdbc-type=INTEGER
*
conversion=org.apache.ojb.broker.accesslayer.conversions.Boolean2IntFieldCo
nversion
*/
protected boolean deleted;
But, if you use:
@ojb.field jdbc-type=TINYINT
On 9/7/05, Daniel Perry [EMAIL PROTECTED] wrote:
Hmm... What about modifying Boolean2IntFeild itself so it handles both:
snip
Yes, this would be possible but the instanceof's have a possibly
significant runtime cost, esp. since you would want to also handle
Short, Long and possibly Character
1 - 100 of 610 matches
Mail list logo