Take a look at this
http://apache.org/dist/db/ojb/db-ojb-1.0.4/webapp-sample.jar.
This is a good example of using OJB, Struts and JSP all together.
On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hey everybody,
are there any Tutorials that you can advice for learning to use the OJB
I'm agree with Thomas. I have seen such error. In my case all the
things become working after
iconv -f cp1251 -t utf-8 repository.xml
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello !
The situation is the following.I need to reuse db connection which is
used by PB in per thread mode. It`s need for example for paging query
results from embedded RDBMS when only one connection is allowed
(limited by caller thread). So, the best thing I`ll want to see is
some object which
Hi !
I need to add some custom XML code into repository.xml. OJB begin to work
without problems only after patching
org.apache.ojb.broker.metadata.RepositoryTags.
What is the best way to implement it ?
Thanks.
Hi !
Ok, thanks. hsqldb.jar came from OJB distribution works fine. But can I use
it in production ?
Hi !
I have problems with setting up hsqldb 1.8.0 RC10 to work with OJB 1.0.1.
Hypersonic SQL is supported platform, but how about hsqldb ?
When I do
ant prepare-testdb
I get such exception :
-
insert-sql:
[torque-sql-exec] Our new url -
jdbc:hsqldb:/temp/SearchReporting/HSQL_OJB_Files
be added to javadoc and tutorial for the
MetadataManager.
On 4/29/05, Martin Kalén [EMAIL PROTECTED] wrote:
Stas Ostapenko wrote:
So, here is new code
public class Domain implements java.io.Serializable
SerializationUtils needs Serializable classes by contract,
this should probably
Hi !
Are you sure that Domain.class contains no package declaration in Java?
(As Armin already pointed out.)
Yes. here is Domain.java
public class Domain
{
public Integer Id;
public Integer Status;
public String Domain;
public String Comment;
public Domain(Integer Id,Integer Status,String
So, here is new code
public class Domain implements java.io.Serializable
{
public Integer Id;
public Integer Status;
public String Domain;
public String Comment;
public Domain(){};
public Domain(Integer Id,Integer Status,String Domain,String Comment)
{
this.Id = Id;
this.Status = Status;
Hi! I have problem with this very simple code.
When I try to run it I have an strange exception.
import org.apache.ojb.broker.metadata.DescriptorRepository;
import org.apache.ojb.broker.metadata.MetadataManager;
public class test_copyOfGlobalRepository
{
public static void main(String
Hi! I have problem with this very simple code.
When I try to run it I have an strange exception.
import org.apache.ojb.broker.metadata.DescriptorRepository;
import org.apache.ojb.broker.metadata.MetadataManager;
public class test_copyOfGlobalRepository
{
public static void main(String
Using of Report Queries may help, I think.
From /doc/site.html#Report+Queries :
Report queries are used to retrieve row data, not 'real' business
objects. A row is an array of Object. With these queries you can
define what attributes of an object you want to have in the row. The
attribute names
to be changed at runtime is table name.
Is it possible in fact to work with big data sets in few RDBMSs ?
Anyone have such expirience ? Thank you.
On Mon, 11 Apr 2005 11:40:16 +0200, Armin Waibel [EMAIL PROTECTED] wrote:
Hi,
Stas Ostapenko wrote:
I have a problem with inserting all table data of one
I`m trying to do mapping one object in two RDBMS and different tables.
How can I create mapping and access SAME objects in different db`s on
the fly ?.For example to store search results of databaseA in
databaseB ? I use PB API.
I have a problem with inserting all table data of one table to another
table in other RDBMS. Following code works, but it stores not all the
data, but only first object.
Where I`m wrong ?
Please help.
import org.apache.ojb.broker.PersistenceBroker;
import
15 matches
Mail list logo