[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [dali-dev] Dali JPA Tools Weekly Status
|
Hi Len,
Thanks for bringing this up, as I needed to mention this as a release
note. For M5, the selection from DB only works when you have the schema
specified in the orm.xml file (easiest way to set is in the
persistence-unit-defaults). This is the way you explicitly define the
default schema in JPA. Of course, if you don't specify the schema in
the orm.xml (or in the annotations), you would assume that it would
default back to the user login schema, but this isn't hooked up yet. It
should be for this weeks I-Build.
So, to get things working in M5, you just need to get everything set up
like you might have it at runtime. Make sure that your persistence.xml
references your orm.xml in the project (our New JPA Project wizard will
create both of these files for you, but you need to configure them for
now). Also, you must make sure that your Entities are referenced in
your persistence.xml. In the future, this will be optional, as it is
not always required at runtime, and in addition we will provide
functionality to auto-insert your Entities into the persistence.xml.
Give this a try and let me know if you have any problems. There are a
number of limitations that we should be removing in the coming milestones.
Neil
Leonard Theivendra wrote:
Hi Neil, is the second item you list (annotation selection choices
connected to db model) available in M5? I can't seem to get that working
for the db connections I've tried setting in the JPA facet config. Entity
generation does pickup the connection so looks like the connection is not
the fault.
Thanks,
Len.
------------------------------------------
Leonard Theivendra
Websphere / IBM Software Solutions Toronto
email: theivend@xxxxxxxxxx
tel: (905) 413-3777 tie: 969-3777
fax: (905) 413-4920
Neil Hauge <neil.hauge@xxxxxxxxxx>
Sent by: dali-dev-bounces@xxxxxxxxxxx
02/23/2007 11:35 AM
Please respond to
neil.hauge@xxxxxxxxxx; Please respond to
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>
To
"General Dali EJB ORM developer discussion." <dali-dev@xxxxxxxxxxx>
cc
Subject
[dali-dev] Dali JPA Tools Weekly Status
For the week of Feb 19th:
Core tests incorporated successfully into M5 build
Column and Table annotations now connected to the DB model for selection
Several bugs fixed for M5 build, scheduled for today
Progress made towards additional validation in the persistence.xml
Neil_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev