Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Thameem Aliyar

Ranch Hand
+ Follow
since Oct 11, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Thameem Aliyar

I had done a demo application using jsp. And i tried to display some images which is located in the server folder. It has done by using the IP address path of that image folder.. It has been success full in IE. But it doesn't get displayed in chrome and Mozilla. What's the problem with the functionality. Kindly send me a feasible solution.
Thanking you in advance.
10 years ago
JSP
Select the linked tables from file..... Add the particular sql server dsn from the machine datasource... And then you can add list of tables from the particular database.......... So it will get attached in your ms access DB.........
Thanks........
Thank you for the reply..........

I got the answer..........
I did it using Linked tables.....

Hope similar cooperation in the future........
Thanking you in advance.......
Thanks for your reply..
I would like to do it as a part of an application..........

kindly tell me the solution...........
Thanks for your reply..
I would like to do it as a part of an application..........

Jindly tell me the solution...........
Hi,
I have a ms access database and sql server database. I need to map the elements of both table and need to retrieve some data. What should i do for.........
Kindly reply me a solution.

Thanking you in advance.............`
Thanks for your reply.......... Sorry for the late reply........ its beacause the net was down................

Here's my POJO.........

And here's my mapping xml...

Kindly reply me solution....
Thanking you in advance..............
I resolved the above error by including hibernate35.jar..
Now i'am getting the following error.......


Failed to create sessionFactory object.java.lang.NoSuchFieldError: INTEGER
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.actions.MsAccessMain.main(MsAccessMain.java:25)
Caused by: java.lang.NoSuchFieldError: INTEGER
at com.hxtt.support.hibernate.HxttDialect.<init>(HxttDialect.java:27)
at com.hxtt.support.hibernate.HxttAccessDialect.<init>(HxttAccessDialect.java:12)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:156)
at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:99)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at com.actions.MsAccessMain.main(MsAccessMain.java:22)


Here's my main method.....



Kindly tell me the solution required.

Thanking you in advance................
Thanks for your reply. I used the same dialect. But I got some errors.

Here's my hibernate.cfg.xml................

And here's the error.......


Failed to create sessionFactory object.org.hibernate.HibernateException: Dialect class not found: com.hxtt.support.hibernate.HxttAccessDialect
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.actions.MsAccessMain.main(MsAccessMain.java:20)
Caused by: org.hibernate.HibernateException: Dialect class not found: com.hxtt.support.hibernate.HxttAccessDialect
at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:159)
at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:99)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:117)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
at com.actions.MsAccessMain.main(MsAccessMain.java:17)
Caused by: java.lang.ClassNotFoundException: com.hxtt.support.hibernate.HxttAccessDialect
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)
at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:156)
... 6 more


Kindly tell me a solution required.

Thanking you in advance................
I'am developing an application with hibernate . And i have ms access db in hand . Is it possible to connect. How can i connect hibernate to ms access DB. Kindly help me please........
Thanking you in advance...........
I made a java class to print images. kindly give me a example java code to print images into a list from a folder. This can help me a lot. Kindly send me the code if anybody knows.
Thanking you in advance...............
10 years ago
I didnt get any idea regarding that. Could you please reply me the procedure that i need to go forward.
Thanking you in advance........
10 years ago
I need to take the pictures from my local serve folderr. I dont know the code for the same. Can you please share a example code..
Thanking you in advance...
10 years ago
I need to take the pictures from my local server. I dont know the code for the same. Can you please share a example code..
Thanking you in advance...
10 years ago
Hi,
I 'am new to struts. I'am developing a struts application. I need to display the images in marquee which is stored in server folder. The server folder image contents should get displayed one by one in the jsp page. What should do for this.? Kindly help me if anybody knows...........

Thanking You in advance................................
10 years ago