You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Hans Novak <hn...@repcom.de> on 2008/04/17 09:02:46 UTC

Java DB Mapper

Hi,

is there an ojb Mapper for the java DB (JDK 6.0) available ? (and where?)


Hans

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Antwort: Java DB Mapper

Posted by Hans Novak <hn...@repcom.de>.
Hi again,

my "build.properties" file looks like below.
What i must change for javaDb ?

Hans


$ cat ./build.properties
################################################################################
jcdAlias=default
databaseName=abc
databaseUser=xxx
databasePassword=xxx
dbmsName=MySQL
jdbcLevel=3.0
jdbcRuntimeDriver=com.mysql.jdbc.Driver
urlProtocol=jdbc
urlSubprotocol=mysql
urlDbalias=//localhost:3306/${databaseName}
torque.database=mysql
torque.database.createUrl=${urlProtocol}:${urlSubprotocol}:${urlDbalias}
torque.database.buildUrl=${torque.database.createUrl}
jar.name=abc.jar
source.main.class=PartnerCore
source.dir=src
source.java.dir=${source.dir}/java
source.resource.dir=${source.dir}/resources
source.test.dir=${source.dir}/test
source.schema.dir=${source.dir}/schema
build.dir=build
lib.dir=lib
target.dir=target




---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Antwort: Java DB Mapper

Posted by Antonio Gallardo <ag...@agssa.net>.
Hans Novak escribió:
> Mario Curcija schrieb:
>> Hi Hans,
>>
>> just download latest OJB release (1.0.4) and look for the "profile"
>> directory. You should find all ".profile" files in it.
>>
>> Here is derby.profile in SVN.
>> http://svn.apache.org/viewvc/db/ojb/tags/OJB_1_0_4/profile/derby.profile?view=markup 
>>
>>
>>   
> Hi,
>
> thanks. now i find it too ;)
> last (off topic) question: where can i find a "howto" for use the java 
> db ?
Here is the link to derby manuals: 
http://db.apache.org/derby/manuals/index.html#docs_10.3
> (how can i install it - (for development / customer), how can i browse 
> thru the data like in mysql)
For data browsing, I use: http://squirrel-sql.sourceforge.net/

Hope this helps.

Best Regards,

Antonio Gallardo.



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Antwort: Java DB Mapper

Posted by Hans Novak <hn...@repcom.de>.
Mario Curcija schrieb:
> Hi Hans,
>
> just download latest OJB release (1.0.4) and look for the "profile"
> directory. You should find all ".profile" files in it.
>
> Here is derby.profile in SVN.
> http://svn.apache.org/viewvc/db/ojb/tags/OJB_1_0_4/profile/derby.profile?view=markup
>
>   
Hi,

thanks. now i find it too ;)
last (off topic) question: where can i find a "howto" for use the java db ?
(how can i install it - (for development / customer), how can i browse 
thru the data like in mysql)

Hans

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Antwort: Java DB Mapper

Posted by Mario Curcija <ma...@gmail.com>.
Hi Hans,

just download latest OJB release (1.0.4) and look for the "profile"
directory. You should find all ".profile" files in it.

Here is derby.profile in SVN.
http://svn.apache.org/viewvc/db/ojb/tags/OJB_1_0_4/profile/derby.profile?view=markup

Best regards,

Mario Curcija

On Thu, Apr 17, 2008 at 5:33 PM, Hans Novak <hn...@repcom.de> wrote:

> Mario Curcija schrieb:
>
> >
> >
> > > Hi,
> > >
> > > is there an ojb Mapper for the java DB (JDK 6.0) available ? (and
> > >
> > ...
>
> > Just modify build.properties in order to switch from default "hsqldb"
> > profile to "derby". If necessary modify "profile/derby.profile" as well to
> > match your environment.
> > Best regards,
> > Mario Curcija
> >
> >
> Hi Mario,
>
> thanks for this infos.
> Where do i get a "derby.profile" file ?
> I have searched my hole installation without results. In my project i use
> ojb with mysql.
>
>
> Hans
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>

Re: Antwort: Java DB Mapper

Posted by Hans Novak <hn...@repcom.de>.
Mario Curcija schrieb:
>   
>> Hi,
>>
>> is there an ojb Mapper for the java DB (JDK 6.0) available ? (and 
>>     
...
> Just modify build.properties in order to switch from default "hsqldb" 
> profile to "derby". If necessary modify "profile/derby.profile" as well to 
> match your environment. 
>
> Best regards,
> Mario Curcija
>   
>
Hi Mario,

thanks for this infos.
Where do i get a "derby.profile" file ?
I have searched my hole installation without results. In my project i 
use ojb with mysql.

Hans



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Antwort: Java DB Mapper

Posted by Mario Curcija <Ma...@lex-com.net>.
Hans Novak <hn...@repcom.de> schrieb am 17.04.2008 09:02:46:

> Hi,
> 
> is there an ojb Mapper for the java DB (JDK 6.0) available ? (and 
where?)
> 
Hi Hans, 

You can try OJB (http://db.apache.org/ojb/index.html) with "derby" profile 
since "Java DB" is nothing else but Sun's supported Apache-Derby 
distribution for JDK 6.0. (http://developers.sun.com/javadb/index.jsp)

Just modify build.properties in order to switch from default "hsqldb" 
profile to "derby". If necessary modify "profile/derby.profile" as well to 
match your environment. 

Best regards,
Mario Curcija


> 
> Hans
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>