Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Lypheus · May 03, 2010 at 01:02 AM · persistence

Unity3D + Hibernate / Spring?

Anyone know if theres an equivalent to hibernate on the C# side? I'm coming from a J2EE background and having to hack up DAO's and JDBC/SQL style code for my server sounds like a blast form the past I could do without. Saw someone refer to "NHibernate" for the C# camp, anyone using this?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by Ricardo · May 03, 2010 at 05:46 AM

I am, just not within Unity (nor with a Unity project). It's a great library, and you may want to consider the Tekpub screencasts if you wish to get familiar with it.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by user-6692 · Nov 22, 2010 at 05:18 PM

I just had my first go at compiling Spring.Net Core to a unity accepted dll for both standalone and web.

I could get Core to be compiled and accepted in a Unity standalone build by setting the MONO_2_0 debug symbol and clearing the illegal assembly reference to Visual Basic.

To get an accepted web build, I had to remove assembly references to System.Drawing and System.configuration and "fix" the errors.

Since Spring.Net is dependent on log4net, that also needs to be custom built. It is dependent on both System.Web and System.configuration.

For now I have only tried to get Unity to build my modified libs, but this might show to be the easiest part, since a single call to the log4net log manager (with default configuration) - will cause the web player to throw an exception when the tab with player is closed (at least in Chrome).

So the short answer is that it requires some source modifications of the Spring.Net framework and its dependencies. Our goal is to use parts of Spring.Net in a web build and Spring.Net + NHibernate + log4net in standalone builds. When we reached that goal, I can update this answer.

Kind Regards, Keld lykke, Apex Virtual Entertainment

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

how to fix this strange error regarding NHibernate inside Unity? 1 Answer

Persistent data, Save file doesn't come out as hoped 1 Answer

Persisting Prefabs across scenes 1 Answer

Is there a way I can remove files from Application.persistantDataPath? 1 Answer

Save Function not working 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges