Hibernate:
create table HT_dn_sec_user (usr_id int not null, hib_sess_id CHAR(36) null)
Hibernate:
create table HT_dn_sec_user_role (uro_id int not null, hib_sess_id CHAR(36) null)
Hibernate:
create table HT_dn_sec_right (rig_id int not null, hib_sess_id CHAR(36) null)
Hibernate:
create table HT_dn_sec_role_right (rri_id int not null, hib_sess_id CHAR(36) null)
Hibernate:
create table HT_dn_sec_role (rol_id int not null, hib_sess_id CHAR(36) null)
....
I try several junit test that run without errors:
@TestpublicvoidgetUserByLoginname(){DnSecUserobj=this.getDnSecUserDAO().getUserByLoginname("admin");System.out.println("admin has id="+obj.getId());Assert.assertNotNull(obj);}
with the following output
Hibernate:
select
dnsecuser0_.usr_id as usr_id1_6_,
dnsecuser0_.usr_firstname as usr_fir19_6_,
dnsecuser0_.usr_lastname as usr_las21_6_,
dnsecuser0_.usr_loginname as usr_log22_6_,
dnsecuser0_.usr_password as usr_pas24_6_,
....
dnsecuser0_.version as version29_6_
from
dn_sec_user dnsecuser0_
where
dnsecuser0_.usr_loginname=?
admin has id=3
I can not access an access file from an application web using a jar that seems to have no problems.
Application Context in jar file:
JDBC Connection prperties:
When build the jar with Maven install:
I try several junit test that run without errors:
with the following output
In the web app I there are a context.xml
On running Tomcat:
But when I try to login:
I try accdb format and diferent driver options (memory=false;keepMirror=...) but with the same result.
Any help would be appreciate
If you are using
then you should be using the JDBC driver from HXTT, not UCanAccess.
(UCanAccess does not currently have a Hibernate dialect, although one is under development.)