you want is to add a user id
> attribute to the UserRole class and use the inverse-foreignkey attribute
> in the user roles' collection descriptor.
>
> Pulat
>
> Sean Dockery wrote:
>> Hello.
>>
>> I've searched the gmane archives, but I was unable t
that prevent this would be my main concern
>
> Sean Dockery wrote:
>
>>Hello.
>>
>>I've searched the gmane archives, but I was unable to find any messages
>>related to my question.
>>
>>Suppose that I have the following classes...
>>
Hello.
I've searched the gmane archives, but I was unable to find any messages
related to my question.
Suppose that I have the following classes...
public class User {
private Integer id; // primary key field
private String username; // alternate key field
private Collection userRol
seeded the OJB_HL_SEQ table with a record having a max_key value of
$F000 (in decimal form) and everything worked as expected. Far easier
than I expected. :-)
"Sean Dockery" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I am working with
Hello,
I am working with a content-heavy database application that uses OJB 1.0RC5
on SQL Server 2000. Because the content is part of the value-proposition
for customers to purchase our application, we would like a means of easily
identifying what (template) data came from us versus what data was
Armin Waibel wrote:
Hi Sean,
Sean Dockery wrote:
Still no recommendations? (I'm posting this through Gmane; can
everyone on the mailing list read this?)
Sorry for the late reply, but I'm overwhelmed with posts and todo's.
No worries. I was just beginning to wonder if my p
Are the class-descriptor nodes in the repository_user.xml file order
dependent? I have a large-ish file that I would like to alphabetize in
order to locating relevant class-descriptor nodes, but I'd hate to find
out that the dependent nodes had to be declared before nodes that used
them (in a
Still no takers? :-(
Sean Dockery wrote:
No takers?
Sean Dockery wrote:
Consider the following classes that represent a many-to-many
relationship:
public class Category {
private Collection products;
public Collection getProducts() {
return products;
}
public void
Still no recommendations? (I'm posting this through Gmane; can everyone
on the mailing list read this?)
Sean Dockery wrote:
No recommendations?
Sean Dockery wrote:
I have an application that uses the ODMG personality of OJB. I query
objects and collections using PersistenceBroker Cri
No takers?
Sean Dockery wrote:
Consider the following classes that represent a many-to-many relationship:
public class Category {
private Collection products;
public Collection getProducts() {
return products;
}
public void setProducts(Collection newProducts
No takers?
Sean Dockery wrote:
Consider the following classes that represent a many-to-many relationship:
public class Category {
private Collection products;
public Collection getProducts() {
return products;
}
public void setProducts(Collection newProducts
No recommendations?
Sean Dockery wrote:
I have an application that uses the ODMG personality of OJB. I query
objects and collections using PersistenceBroker Criteria; the
PersistenceBroker is obtained from a Transaction object (via
TransactionExt). Objects are stored via a tx.lock plus a
Consider the following classes that represent a many-to-many relationship:
public class Category {
private Collection products;
public Collection getProducts() {
return products;
}
public void setProducts(Collection newProducts) {
products
I have an application that uses the ODMG personality of OJB. I query
objects and collections using PersistenceBroker Criteria; the
PersistenceBroker is obtained from a Transaction object (via
TransactionExt). Objects are stored via a tx.lock plus a tx.markDirty
call. The application uses the
ing on this problem off and on for about a week now; if
anyone knows of a solution, please post it here. If I find the solution,
I'll do the same.
Thanks.
> regards,
> Armin
>
> Sean Dockery wrote:
> > Unfortunately, I'm stuck on version 0.9.8. The application t
9 172 2324824
D-44143 Dortmund Telefax: +49 231 5349423
On Sat, 21 Feb 2004 00:18:55 -0700 "Sean Dockery"
<[EMAIL PROTECTED]> wrote:
> Hello there.
>
> I've had a curious experience recently with OJB, and I was wondering if
> someone could confirm my speculatio
Sean:
>
> AFAIK, this would not happen. BTW, what version are you using?
>
> Best Regards,
>
> Antonio Gallardo
>
> Sean Dockery dijo:
> > Hello there.
> >
> > I've had a curious experience recently with OJB, and I was wondering if
> > someone
Hello there.
I've had a curious experience recently with OJB, and I was wondering if
someone could confirm my speculations about the behaviour.
Suppose I have two objects... Product and ProductCategory. The Product
object carries both a productCategoryId field as well as a reference field
produ
That's great, Armin. Thanks.
"Armin Waibel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Sean,
>
> Sean Dockery wrote:
>
> > Two questions...
> >
> > 1) Getting connections from a PersistenceBroker...
> >
> >
mmitTransaction();
while(iterator.hasNext()) {
Product product = (Product) iterator.next();
// blah blah blah
}
Is it valid to use the iterator after the transaction has been committed
(i.e.: broker has been closed)?
Thanks for your time...
--
Sean Dockery
Software Developer
If my application is using the ODMG personality of OJB a la...
Implementation odmg = OBJ.getInstance();
...
Is it safe for other parts of my code to use a PersistenceBroker like
this...
PersistenceBroker broker =
PersistenceBrokerFactory.defaultPersistenceBroker();
try {
// ...
}
finally {
query vs. identity) preference?
Thanks again, Philippe. I look forward to your reply.
"Philippe Hacquin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Sean,
>
> I'm not an OJB-ODMG expert, but maybe I can help
>
> Sean Dockery wrote:
> &
or PB personalities are used more
often? I've read (and reread) the pages where it talks about what using
ODMG gets you, but it doesn't easily translate into what the correlating
pitfall in using PB is.
"Thomas Mahler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECT
d more
> details on this page: http://db.apache.org/ojb/links.html#OJB tutorials.
>
> cheers,
> thomas
>
> Sean Dockery wrote:
> > Are there any OJB applications available with source on the web?
> >
> >
> >
> >
> > ---
I posted this right around new years, but I have not seen any responses
since then and some of these questions are still eating at me. Can anyone
provide any answers to some of the questions that I've asked?
Thanks in advance.
"Sean Dockery" <[EMAIL PROTECTED]> wrote i
> persistent store. It doesn't use
> all the features of OJB but has it integrated as an optional (preferred)
> persistent store mechanism.
>
>
> At 01:23 PM 1/9/2004, Sean Dockery wrote:
> >Are there
Are there any OJB applications available with source on the web?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello there.
I'm fairly new to OJB. I've read several of the tutorials and I'm working
on creating an application from scratch.
Below are three classes that I wrote. One is my DAO class, the second class
is an inversion-of-control interface that I'm using to populate the object
after locking it
You can use PersistenceBroker Queries directly...
http://db.apache.org/ojb/faq.html#I%20don't%20like%20OQL,%20can%20I%20use%20the%20PersistenceBroker%20Queries%20within%20ODMG?
"Andreas Schildbach" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there a simple "Find by ID" call,
The examples on the OJB web site show code that uses the following...
Query query = new QueryByCriteria(Product.class, criteria);
...instead of...
Query query = QueryFactory.newQuery(Product.class, critiera);
Would one ever choose the former style of the latter?
30 matches
Mail list logo