0

db4o query

asked 2011-03-13 20:15:51 +0800

jeanfranco gravatar image jeanfranco
15

where I can make a query to db4o?

I have the following files...

Generic Controller.Java // public class GenericController<T> extends GenericForwardComposer {
IOODB.Java // Interface
Db4oDB.java //public class Db4oDB implements IOODB
Index.Zul

and my objects to store....!!!


where I can build queries in db4o. ????? help me .. sorry for the English

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-03-15 05:10:37 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

Hi,

I'm using db4o as persistence engine for my ZK-based Jease-project, maybe you can have a look at it to get some ideas.

The "recommended" approach for using db4o with ZK is:

- Open your db4o-database in a ServletListener and hold a reference to the opened database in a static variable.
- If you need to operate against db4o, just use the reference stored in the static variable in your other classes.

Cheers, Maik

link publish delete flag offensive edit

answered 2011-03-15 12:46:08 +0800

jeanfranco gravatar image jeanfranco
15

thanks for your response.
I made it in consultation db4oDB.java file that has a reference to objetcontainer db.

extracted data then stored in a List of objects and display them on the grid.

thanks for your help, will try to do what I say.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-03-13 20:15:51 +0800

Seen: 332 times

Last updated: Mar 15 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More